1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419 #define SWIGTYPE_p_unsigned_long swig_types[78]
1420 #define SWIGTYPE_p_wxWindow swig_types[79]
1421 #define SWIGTYPE_p_wxString swig_types[80]
1422 #define SWIGTYPE_p_wxBitmap swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430 #define SWIGTYPE_p_wxStaticText swig_types[89]
1431 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436 #define SWIGTYPE_p_wxValidator swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1447 #define SWIG_name "_controls_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1452 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1456 const wxArrayString wxPyEmptyStringArray
;
1458 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1658 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1659 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1660 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1661 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1663 #include <wx/checklst.h>
1666 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1667 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1669 wxPyClientData
* data
= new wxPyClientData(clientData
);
1670 self
->Insert(item
, pos
, data
);
1672 self
->Insert(item
, pos
);
1674 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1676 self
->GetSelections(lst
);
1677 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1678 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1679 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1683 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1685 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1686 self
->GetItem(item
)->SetTextColour(c
);
1689 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1691 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1692 self
->GetItem(item
)->SetBackgroundColour(c
);
1695 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1697 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1698 self
->GetItem(item
)->SetFont(f
);
1701 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1748 #include <wx/slider.h>
1751 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1752 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1759 class wxToggleButton
: public wxControl
1762 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1763 const wxPoint
&, const wxSize
&, long,
1764 const wxValidator
&, const wxString
&)
1765 { wxPyRaiseNotImplemented(); }
1768 { wxPyRaiseNotImplemented(); }
1772 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 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
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 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
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 bool blocked
= wxPyBeginBlockThreads();
1834 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1835 PyObject
* result
= PyEval_CallObject(func
, args
);
1838 retval
= PyInt_AsLong(result
);
1842 wxPyEndBlockThreads(blocked
);
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl
: public wxListCtrl
{
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1855 const wxValidator
& validator
,
1856 const wxString
& name
) :
1857 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1859 bool Create(wxWindow
* parent
, wxWindowID id
,
1863 const wxValidator
& validator
,
1864 const wxString
& name
) {
1865 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1884 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1886 item
.SetMask( wxLIST_MASK_STATE
|
1894 if (self
->GetColumn(col
, item
))
1895 return new wxListItem(item
);
1899 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1900 wxListItem
* info
= new wxListItem
;
1901 info
->m_itemId
= itemId
;
1903 info
->m_mask
= 0xFFFF;
1904 self
->GetItem(*info
);
1907 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1909 self
->GetItemPosition(item
, pos
);
1912 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1914 self
->GetItemRect(item
, rect
, code
);
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1919 if (!PyCallable_Check(func
))
1921 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1923 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1934 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl
: public wxTreeCtrl
{
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1947 const wxValidator
& validator
,
1948 const wxString
& name
) :
1949 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1951 bool Create(wxWindow
*parent
, wxWindowID id
,
1955 const wxValidator
& validator
,
1956 const wxString
& name
) {
1957 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1961 int OnCompareItems(const wxTreeItemId
& item1
,
1962 const wxTreeItemId
& item2
) {
1965 bool blocked
= wxPyBeginBlockThreads();
1966 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1967 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1968 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1969 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1973 wxPyEndBlockThreads(blocked
);
1975 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1985 #if UINT_MAX < LONG_MAX
1986 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1998 unsigned long max_value
,
2001 if (value
> max_value
) {
2003 PyErr_Format(PyExc_OverflowError
,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value
, errmsg
, max_value
);
2013 #if UINT_MAX != ULONG_MAX
2015 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2017 const char* errmsg
= val
? "unsigned int" : (char*)0;
2019 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2020 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2021 if (val
) *val
= (unsigned int)(v
);
2028 SWIG_type_error(errmsg
, obj
);
2033 SWIGINTERNSHORT
unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2036 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2041 SWIGINTERNSHORT
unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2045 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2047 this is needed to make valgrind/purify happier.
2049 memset((void*)&v
, 0, sizeof(unsigned int));
2056 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2058 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2061 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2064 data
= new wxPyTreeItemData();
2065 data
->SetId(item
); // set the id
2066 self
->SetItemData(item
, data
);
2070 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2071 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2073 data
= new wxPyTreeItemData();
2074 data
->SetId(item
); // set the id
2075 self
->SetItemData(item
, data
);
2077 return data
->GetData();
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2084 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2086 data
= new wxPyTreeItemData(obj
);
2087 data
->SetId(item
); // set the id
2088 self
->SetItemData(item
, data
);
2092 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2093 bool blocked
= wxPyBeginBlockThreads();
2094 PyObject
* rval
= PyList_New(0);
2095 wxArrayTreeItemIds array
;
2097 num
= self
->GetSelections(array
);
2098 for (x
=0; x
< num
; x
++) {
2099 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2100 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2101 PyList_Append(rval
, item
);
2104 wxPyEndBlockThreads(blocked
);
2107 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2109 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2110 bool blocked
= wxPyBeginBlockThreads();
2111 PyObject
* tup
= PyTuple_New(2);
2112 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2113 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2114 wxPyEndBlockThreads(blocked
);
2117 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2118 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2119 bool blocked
= wxPyBeginBlockThreads();
2120 PyObject
* tup
= PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2123 wxPyEndBlockThreads(blocked
);
2126 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2128 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2129 bool blocked
= wxPyBeginBlockThreads();
2130 wxRect
* r
= new wxRect(rect
);
2131 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2132 wxPyEndBlockThreads(blocked
);
2138 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2140 SWIGINTERNSHORT PyObject
*
2141 SWIG_From_bool(bool value
)
2143 PyObject
*obj
= value
? Py_True
: Py_False
;
2149 // C++ version of Python aware wxControl
2150 class wxPyControl
: public wxControl
2152 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2156 const wxPoint
& pos
= wxDefaultPosition
,
2157 const wxSize
& size
= wxDefaultSize
,
2159 const wxValidator
& validator
=wxDefaultValidator
,
2160 const wxString
& name
= wxPyControlNameStr
)
2161 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2163 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2165 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2166 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2167 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2168 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2170 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2171 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2174 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2175 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2177 DEC_PYCALLBACK__(InitDialog
);
2178 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2179 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2180 DEC_PYCALLBACK_BOOL_(Validate
);
2182 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2183 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2184 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2186 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2187 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2191 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2193 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2198 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2200 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2201 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2202 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2203 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2206 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2209 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2210 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2212 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2214 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2217 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2218 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2219 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2221 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2222 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2224 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2225 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2226 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2232 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2234 #include <wx/generic/dragimgg.h>
2239 static int _wrap_ButtonNameStr_set(PyObject
*) {
2240 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2245 static PyObject
*_wrap_ButtonNameStr_get(void) {
2250 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2252 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2259 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxWindow
*arg1
= (wxWindow
*) 0 ;
2262 int arg2
= (int) -1 ;
2263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2269 long arg6
= (long) 0 ;
2270 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2271 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2272 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2273 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2275 bool temp3
= false ;
2278 bool temp8
= false ;
2279 PyObject
* obj0
= 0 ;
2280 PyObject
* obj1
= 0 ;
2281 PyObject
* obj2
= 0 ;
2282 PyObject
* obj3
= 0 ;
2283 PyObject
* obj4
= 0 ;
2284 PyObject
* obj5
= 0 ;
2285 PyObject
* obj6
= 0 ;
2286 PyObject
* obj7
= 0 ;
2288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail
;
2296 arg2
= (int)(SWIG_As_int(obj1
));
2297 if (SWIG_arg_fail(2)) SWIG_fail
;
2302 arg3
= wxString_in_helper(obj2
);
2303 if (arg3
== NULL
) SWIG_fail
;
2310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2321 arg6
= (long)(SWIG_As_long(obj5
));
2322 if (SWIG_arg_fail(6)) SWIG_fail
;
2327 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2328 if (SWIG_arg_fail(7)) SWIG_fail
;
2330 SWIG_null_ref("wxValidator");
2332 if (SWIG_arg_fail(7)) SWIG_fail
;
2337 arg8
= wxString_in_helper(obj7
);
2338 if (arg8
== NULL
) SWIG_fail
;
2343 if (!wxPyCheckForApp()) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2373 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2382 if (!wxPyCheckForApp()) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (wxButton
*)new wxButton();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2396 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxButton
*arg1
= (wxButton
*) 0 ;
2399 wxWindow
*arg2
= (wxWindow
*) 0 ;
2400 int arg3
= (int) -1 ;
2401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2407 long arg7
= (long) 0 ;
2408 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2409 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2410 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2411 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2413 bool temp4
= false ;
2416 bool temp9
= false ;
2417 PyObject
* obj0
= 0 ;
2418 PyObject
* obj1
= 0 ;
2419 PyObject
* obj2
= 0 ;
2420 PyObject
* obj3
= 0 ;
2421 PyObject
* obj4
= 0 ;
2422 PyObject
* obj5
= 0 ;
2423 PyObject
* obj6
= 0 ;
2424 PyObject
* obj7
= 0 ;
2425 PyObject
* obj8
= 0 ;
2427 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2432 if (SWIG_arg_fail(1)) SWIG_fail
;
2433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2434 if (SWIG_arg_fail(2)) SWIG_fail
;
2437 arg3
= (int)(SWIG_As_int(obj2
));
2438 if (SWIG_arg_fail(3)) SWIG_fail
;
2443 arg4
= wxString_in_helper(obj3
);
2444 if (arg4
== NULL
) SWIG_fail
;
2451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2462 arg7
= (long)(SWIG_As_long(obj6
));
2463 if (SWIG_arg_fail(7)) SWIG_fail
;
2468 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2469 if (SWIG_arg_fail(8)) SWIG_fail
;
2471 SWIG_null_ref("wxValidator");
2473 if (SWIG_arg_fail(8)) SWIG_fail
;
2478 arg9
= wxString_in_helper(obj8
);
2479 if (arg9
== NULL
) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2515 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxButton
*arg1
= (wxButton
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "self", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2525 if (SWIG_arg_fail(1)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 (arg1
)->SetDefault();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= wxButton::GetDefaultSize();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2557 resultptr
= new wxSize((wxSize
&)(result
));
2558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2566 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2569 wxVisualAttributes result
;
2570 PyObject
* obj0
= 0 ;
2572 (char *) "variant", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2578 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2579 if (SWIG_arg_fail(1)) SWIG_fail
;
2583 if (!wxPyCheckForApp()) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2591 wxVisualAttributes
* resultptr
;
2592 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2601 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2604 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2606 return Py_BuildValue((char *)"");
2608 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxWindow
*arg1
= (wxWindow
*) 0 ;
2611 int arg2
= (int) -1 ;
2612 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2613 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2618 long arg6
= (long) wxBU_AUTODRAW
;
2619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2621 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2623 wxBitmapButton
*result
;
2626 bool temp8
= false ;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2629 PyObject
* obj2
= 0 ;
2630 PyObject
* obj3
= 0 ;
2631 PyObject
* obj4
= 0 ;
2632 PyObject
* obj5
= 0 ;
2633 PyObject
* obj6
= 0 ;
2634 PyObject
* obj7
= 0 ;
2636 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2641 if (SWIG_arg_fail(1)) SWIG_fail
;
2644 arg2
= (int)(SWIG_As_int(obj1
));
2645 if (SWIG_arg_fail(2)) SWIG_fail
;
2650 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2651 if (SWIG_arg_fail(3)) SWIG_fail
;
2653 SWIG_null_ref("wxBitmap");
2655 if (SWIG_arg_fail(3)) SWIG_fail
;
2661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2672 arg6
= (long)(SWIG_As_long(obj5
));
2673 if (SWIG_arg_fail(6)) SWIG_fail
;
2678 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2679 if (SWIG_arg_fail(7)) SWIG_fail
;
2681 SWIG_null_ref("wxValidator");
2683 if (SWIG_arg_fail(7)) SWIG_fail
;
2688 arg8
= wxString_in_helper(obj7
);
2689 if (arg8
== NULL
) SWIG_fail
;
2694 if (!wxPyCheckForApp()) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2716 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxBitmapButton
*result
;
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2725 if (!wxPyCheckForApp()) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (wxBitmapButton
*)new wxBitmapButton();
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2739 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2742 wxWindow
*arg2
= (wxWindow
*) 0 ;
2743 int arg3
= (int) -1 ;
2744 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2745 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2746 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2747 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2748 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2749 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2750 long arg7
= (long) wxBU_AUTODRAW
;
2751 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2752 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2753 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2754 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2758 bool temp9
= false ;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2761 PyObject
* obj2
= 0 ;
2762 PyObject
* obj3
= 0 ;
2763 PyObject
* obj4
= 0 ;
2764 PyObject
* obj5
= 0 ;
2765 PyObject
* obj6
= 0 ;
2766 PyObject
* obj7
= 0 ;
2767 PyObject
* obj8
= 0 ;
2769 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2774 if (SWIG_arg_fail(1)) SWIG_fail
;
2775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(2)) SWIG_fail
;
2779 arg3
= (int)(SWIG_As_int(obj2
));
2780 if (SWIG_arg_fail(3)) SWIG_fail
;
2785 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(4)) SWIG_fail
;
2788 SWIG_null_ref("wxBitmap");
2790 if (SWIG_arg_fail(4)) SWIG_fail
;
2796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2807 arg7
= (long)(SWIG_As_long(obj6
));
2808 if (SWIG_arg_fail(7)) SWIG_fail
;
2813 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2814 if (SWIG_arg_fail(8)) SWIG_fail
;
2816 SWIG_null_ref("wxValidator");
2818 if (SWIG_arg_fail(8)) SWIG_fail
;
2823 arg9
= wxString_in_helper(obj8
);
2824 if (arg9
== NULL
) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2852 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2863 if (SWIG_arg_fail(1)) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (arg1
)->GetBitmapLabel();
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 wxBitmap
* resultptr
;
2873 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2882 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (arg1
)->GetBitmapDisabled();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxBitmap
* resultptr
;
2903 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2912 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "self", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2923 if (SWIG_arg_fail(1)) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (arg1
)->GetBitmapFocus();
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 wxBitmap
* resultptr
;
2933 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2942 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (arg1
)->GetBitmapSelected();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 wxBitmap
* resultptr
;
2963 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2972 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2975 wxBitmap
*arg2
= 0 ;
2976 PyObject
* obj0
= 0 ;
2977 PyObject
* obj1
= 0 ;
2979 (char *) "self",(char *) "bitmap", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2989 SWIG_null_ref("wxBitmap");
2991 if (SWIG_arg_fail(2)) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 Py_INCREF(Py_None
); resultobj
= Py_None
;
3007 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3010 wxBitmap
*arg2
= 0 ;
3011 PyObject
* obj0
= 0 ;
3012 PyObject
* obj1
= 0 ;
3014 (char *) "self",(char *) "bitmap", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3019 if (SWIG_arg_fail(1)) SWIG_fail
;
3021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3022 if (SWIG_arg_fail(2)) SWIG_fail
;
3024 SWIG_null_ref("wxBitmap");
3026 if (SWIG_arg_fail(2)) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 Py_INCREF(Py_None
); resultobj
= Py_None
;
3042 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3045 wxBitmap
*arg2
= 0 ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3049 (char *) "self",(char *) "bitmap", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail
;
3056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail
;
3059 SWIG_null_ref("wxBitmap");
3061 if (SWIG_arg_fail(2)) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 Py_INCREF(Py_None
); resultobj
= Py_None
;
3077 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3080 wxBitmap
*arg2
= 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "bitmap", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3089 if (SWIG_arg_fail(1)) SWIG_fail
;
3091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3092 if (SWIG_arg_fail(2)) SWIG_fail
;
3094 SWIG_null_ref("wxBitmap");
3096 if (SWIG_arg_fail(2)) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3105 Py_INCREF(Py_None
); resultobj
= Py_None
;
3112 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3117 PyObject
* obj0
= 0 ;
3118 PyObject
* obj1
= 0 ;
3119 PyObject
* obj2
= 0 ;
3121 (char *) "self",(char *) "x",(char *) "y", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3126 if (SWIG_arg_fail(1)) SWIG_fail
;
3128 arg2
= (int)(SWIG_As_int(obj1
));
3129 if (SWIG_arg_fail(2)) SWIG_fail
;
3132 arg3
= (int)(SWIG_As_int(obj2
));
3133 if (SWIG_arg_fail(3)) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 (arg1
)->SetMargins(arg2
,arg3
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 Py_INCREF(Py_None
); resultobj
= Py_None
;
3149 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3160 if (SWIG_arg_fail(1)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3169 resultobj
= SWIG_From_int((int)(result
));
3177 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3183 (char *) "self", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3188 if (SWIG_arg_fail(1)) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3197 resultobj
= SWIG_From_int((int)(result
));
3205 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3208 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3210 return Py_BuildValue((char *)"");
3212 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3213 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3218 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3223 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3225 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3232 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxWindow
*arg1
= (wxWindow
*) 0 ;
3235 int arg2
= (int) -1 ;
3236 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3237 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3242 long arg6
= (long) 0 ;
3243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3245 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3248 bool temp3
= false ;
3251 bool temp8
= false ;
3252 PyObject
* obj0
= 0 ;
3253 PyObject
* obj1
= 0 ;
3254 PyObject
* obj2
= 0 ;
3255 PyObject
* obj3
= 0 ;
3256 PyObject
* obj4
= 0 ;
3257 PyObject
* obj5
= 0 ;
3258 PyObject
* obj6
= 0 ;
3259 PyObject
* obj7
= 0 ;
3261 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail
;
3269 arg2
= (int)(SWIG_As_int(obj1
));
3270 if (SWIG_arg_fail(2)) SWIG_fail
;
3275 arg3
= wxString_in_helper(obj2
);
3276 if (arg3
== NULL
) SWIG_fail
;
3283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3294 arg6
= (long)(SWIG_As_long(obj5
));
3295 if (SWIG_arg_fail(6)) SWIG_fail
;
3300 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3303 SWIG_null_ref("wxValidator");
3305 if (SWIG_arg_fail(7)) SWIG_fail
;
3310 arg8
= wxString_in_helper(obj7
);
3311 if (arg8
== NULL
) SWIG_fail
;
3316 if (!wxPyCheckForApp()) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3346 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3355 if (!wxPyCheckForApp()) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (wxCheckBox
*)new wxCheckBox();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3369 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3372 wxWindow
*arg2
= (wxWindow
*) 0 ;
3373 int arg3
= (int) -1 ;
3374 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3376 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3377 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3378 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3379 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3380 long arg7
= (long) 0 ;
3381 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3382 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3383 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3384 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3386 bool temp4
= false ;
3389 bool temp9
= false ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3392 PyObject
* obj2
= 0 ;
3393 PyObject
* obj3
= 0 ;
3394 PyObject
* obj4
= 0 ;
3395 PyObject
* obj5
= 0 ;
3396 PyObject
* obj6
= 0 ;
3397 PyObject
* obj7
= 0 ;
3398 PyObject
* obj8
= 0 ;
3400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3407 if (SWIG_arg_fail(2)) SWIG_fail
;
3410 arg3
= (int)(SWIG_As_int(obj2
));
3411 if (SWIG_arg_fail(3)) SWIG_fail
;
3416 arg4
= wxString_in_helper(obj3
);
3417 if (arg4
== NULL
) SWIG_fail
;
3424 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3430 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3435 arg7
= (long)(SWIG_As_long(obj6
));
3436 if (SWIG_arg_fail(7)) SWIG_fail
;
3441 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3442 if (SWIG_arg_fail(8)) SWIG_fail
;
3444 SWIG_null_ref("wxValidator");
3446 if (SWIG_arg_fail(8)) SWIG_fail
;
3451 arg9
= wxString_in_helper(obj8
);
3452 if (arg9
== NULL
) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3488 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "self", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (bool)(arg1
)->GetValue();
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3516 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3522 (char *) "self", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (bool)(arg1
)->IsChecked();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3544 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "state", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 arg2
= (bool const)(SWIG_As_bool(obj1
));
3559 if (SWIG_arg_fail(2)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 (arg1
)->SetValue(arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3575 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3578 wxCheckBoxState result
;
3579 PyObject
* obj0
= 0 ;
3581 (char *) "self", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= SWIG_From_int((result
));
3601 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3604 wxCheckBoxState arg2
;
3605 PyObject
* obj0
= 0 ;
3606 PyObject
* obj1
= 0 ;
3608 (char *) "self",(char *) "state", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail
;
3615 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3616 if (SWIG_arg_fail(2)) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 Py_INCREF(Py_None
); resultobj
= Py_None
;
3632 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3636 PyObject
* obj0
= 0 ;
3638 (char *) "self", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "self", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3688 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3691 wxVisualAttributes result
;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "variant", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3700 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3705 if (!wxPyCheckForApp()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 wxVisualAttributes
* resultptr
;
3714 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3723 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3728 return Py_BuildValue((char *)"");
3730 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3731 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3736 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3741 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3743 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3750 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) -1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3759 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3760 long arg6
= (long) 0 ;
3761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3763 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3768 bool temp5
= false ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3787 arg2
= (int)(SWIG_As_int(obj1
));
3788 if (SWIG_arg_fail(2)) SWIG_fail
;
3794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 if (! PySequence_Check(obj4
)) {
3806 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3809 arg5
= new wxArrayString
;
3811 int i
, len
=PySequence_Length(obj4
);
3812 for (i
=0; i
<len
; i
++) {
3813 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3815 PyObject
* str
= PyObject_Unicode(item
);
3817 PyObject
* str
= PyObject_Str(item
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3820 arg5
->Add(Py2wxString(str
));
3828 arg6
= (long)(SWIG_As_long(obj5
));
3829 if (SWIG_arg_fail(6)) SWIG_fail
;
3834 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3835 if (SWIG_arg_fail(7)) SWIG_fail
;
3837 SWIG_null_ref("wxValidator");
3839 if (SWIG_arg_fail(7)) SWIG_fail
;
3844 arg8
= wxString_in_helper(obj7
);
3845 if (arg8
== NULL
) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3859 if (temp5
) delete arg5
;
3868 if (temp5
) delete arg5
;
3878 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3887 if (!wxPyCheckForApp()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (wxChoice
*)new wxChoice();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3901 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxChoice
*arg1
= (wxChoice
*) 0 ;
3904 wxWindow
*arg2
= (wxWindow
*) 0 ;
3905 int arg3
= (int) -1 ;
3906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3910 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3911 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3912 long arg7
= (long) 0 ;
3913 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3914 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3915 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3916 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3920 bool temp6
= false ;
3921 bool temp9
= false ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3924 PyObject
* obj2
= 0 ;
3925 PyObject
* obj3
= 0 ;
3926 PyObject
* obj4
= 0 ;
3927 PyObject
* obj5
= 0 ;
3928 PyObject
* obj6
= 0 ;
3929 PyObject
* obj7
= 0 ;
3930 PyObject
* obj8
= 0 ;
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3939 if (SWIG_arg_fail(2)) SWIG_fail
;
3942 arg3
= (int)(SWIG_As_int(obj2
));
3943 if (SWIG_arg_fail(3)) SWIG_fail
;
3949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3960 if (! PySequence_Check(obj5
)) {
3961 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3964 arg6
= new wxArrayString
;
3966 int i
, len
=PySequence_Length(obj5
);
3967 for (i
=0; i
<len
; i
++) {
3968 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3970 PyObject
* str
= PyObject_Unicode(item
);
3972 PyObject
* str
= PyObject_Str(item
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3975 arg6
->Add(Py2wxString(str
));
3983 arg7
= (long)(SWIG_As_long(obj6
));
3984 if (SWIG_arg_fail(7)) SWIG_fail
;
3989 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(8)) SWIG_fail
;
3992 SWIG_null_ref("wxValidator");
3994 if (SWIG_arg_fail(8)) SWIG_fail
;
3999 arg9
= wxString_in_helper(obj8
);
4000 if (arg9
== NULL
) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4015 if (temp6
) delete arg6
;
4024 if (temp6
) delete arg6
;
4034 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxChoice
*arg1
= (wxChoice
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "self",(char *) "n", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4046 if (SWIG_arg_fail(1)) SWIG_fail
;
4048 arg2
= (int const)(SWIG_As_int(obj1
));
4049 if (SWIG_arg_fail(2)) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 (arg1
)->SetSelection(arg2
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxChoice
*arg1
= (wxChoice
*) 0 ;
4068 wxString
*arg2
= 0 ;
4070 bool temp2
= false ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "self",(char *) "string", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 arg2
= wxString_in_helper(obj1
);
4082 if (arg2
== NULL
) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4109 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxChoice
*arg1
= (wxChoice
*) 0 ;
4113 wxString
*arg3
= 0 ;
4114 bool temp3
= false ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 PyObject
* obj2
= 0 ;
4119 (char *) "self",(char *) "n",(char *) "string", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4126 arg2
= (int)(SWIG_As_int(obj1
));
4127 if (SWIG_arg_fail(2)) SWIG_fail
;
4130 arg3
= wxString_in_helper(obj2
);
4131 if (arg3
== NULL
) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4159 wxVisualAttributes result
;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "variant", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4168 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4169 if (SWIG_arg_fail(1)) SWIG_fail
;
4173 if (!wxPyCheckForApp()) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 wxVisualAttributes
* resultptr
;
4182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4191 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4196 return Py_BuildValue((char *)"");
4198 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4199 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4204 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4209 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4211 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4218 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxWindow
*arg1
= (wxWindow
*) 0 ;
4221 int arg2
= (int) -1 ;
4222 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4223 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4228 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4229 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4230 long arg7
= (long) 0 ;
4231 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4232 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4233 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4234 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4236 bool temp3
= false ;
4239 bool temp6
= false ;
4240 bool temp9
= false ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 PyObject
* obj2
= 0 ;
4244 PyObject
* obj3
= 0 ;
4245 PyObject
* obj4
= 0 ;
4246 PyObject
* obj5
= 0 ;
4247 PyObject
* obj6
= 0 ;
4248 PyObject
* obj7
= 0 ;
4249 PyObject
* obj8
= 0 ;
4251 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4256 if (SWIG_arg_fail(1)) SWIG_fail
;
4259 arg2
= (int)(SWIG_As_int(obj1
));
4260 if (SWIG_arg_fail(2)) SWIG_fail
;
4265 arg3
= wxString_in_helper(obj2
);
4266 if (arg3
== NULL
) SWIG_fail
;
4273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4284 if (! PySequence_Check(obj5
)) {
4285 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4288 arg6
= new wxArrayString
;
4290 int i
, len
=PySequence_Length(obj5
);
4291 for (i
=0; i
<len
; i
++) {
4292 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4294 PyObject
* str
= PyObject_Unicode(item
);
4296 PyObject
* str
= PyObject_Str(item
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4299 arg6
->Add(Py2wxString(str
));
4307 arg7
= (long)(SWIG_As_long(obj6
));
4308 if (SWIG_arg_fail(7)) SWIG_fail
;
4313 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4314 if (SWIG_arg_fail(8)) SWIG_fail
;
4316 SWIG_null_ref("wxValidator");
4318 if (SWIG_arg_fail(8)) SWIG_fail
;
4323 arg9
= wxString_in_helper(obj8
);
4324 if (arg9
== NULL
) SWIG_fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 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
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4342 if (temp6
) delete arg6
;
4355 if (temp6
) delete arg6
;
4365 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4374 if (!wxPyCheckForApp()) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxComboBox
*)new wxComboBox();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4388 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4391 wxWindow
*arg2
= (wxWindow
*) 0 ;
4392 int arg3
= (int) -1 ;
4393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4399 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4400 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4401 long arg8
= (long) 0 ;
4402 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4403 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4404 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4405 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4407 bool temp4
= false ;
4410 bool temp7
= false ;
4411 bool temp10
= false ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 PyObject
* obj2
= 0 ;
4415 PyObject
* obj3
= 0 ;
4416 PyObject
* obj4
= 0 ;
4417 PyObject
* obj5
= 0 ;
4418 PyObject
* obj6
= 0 ;
4419 PyObject
* obj7
= 0 ;
4420 PyObject
* obj8
= 0 ;
4421 PyObject
* obj9
= 0 ;
4423 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4433 arg3
= (int)(SWIG_As_int(obj2
));
4434 if (SWIG_arg_fail(3)) SWIG_fail
;
4439 arg4
= wxString_in_helper(obj3
);
4440 if (arg4
== NULL
) SWIG_fail
;
4447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4458 if (! PySequence_Check(obj6
)) {
4459 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4462 arg7
= new wxArrayString
;
4464 int i
, len
=PySequence_Length(obj6
);
4465 for (i
=0; i
<len
; i
++) {
4466 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4468 PyObject
* str
= PyObject_Unicode(item
);
4470 PyObject
* str
= PyObject_Str(item
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4473 arg7
->Add(Py2wxString(str
));
4481 arg8
= (long)(SWIG_As_long(obj7
));
4482 if (SWIG_arg_fail(8)) SWIG_fail
;
4487 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(9)) SWIG_fail
;
4490 SWIG_null_ref("wxValidator");
4492 if (SWIG_arg_fail(9)) SWIG_fail
;
4497 arg10
= wxString_in_helper(obj9
);
4498 if (arg10
== NULL
) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 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
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4517 if (temp7
) delete arg7
;
4530 if (temp7
) delete arg7
;
4540 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "self", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= ((wxComboBox
const *)arg1
)->GetValue();
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4572 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4575 wxString
*arg2
= 0 ;
4576 bool temp2
= false ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4580 (char *) "self",(char *) "value", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail
;
4587 arg2
= wxString_in_helper(obj1
);
4588 if (arg2
== NULL
) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 (arg1
)->SetValue((wxString
const &)*arg2
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4598 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 Py_INCREF(Py_None
); resultobj
= Py_None
;
4663 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4673 if (SWIG_arg_fail(1)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4695 (char *) "self",(char *) "pos", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail
;
4702 arg2
= (long)(SWIG_As_long(obj1
));
4703 if (SWIG_arg_fail(2)) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->SetInsertionPoint(arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_long((long)(result
));
4747 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_From_long((long)(result
));
4775 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4780 wxString
*arg4
= 0 ;
4781 bool temp4
= false ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4784 PyObject
* obj2
= 0 ;
4785 PyObject
* obj3
= 0 ;
4787 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail
;
4794 arg2
= (long)(SWIG_As_long(obj1
));
4795 if (SWIG_arg_fail(2)) SWIG_fail
;
4798 arg3
= (long)(SWIG_As_long(obj2
));
4799 if (SWIG_arg_fail(3)) SWIG_fail
;
4802 arg4
= wxString_in_helper(obj3
);
4803 if (arg4
== NULL
) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4828 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "n", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail
;
4842 arg2
= (int)(SWIG_As_int(obj1
));
4843 if (SWIG_arg_fail(2)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 (arg1
)->SetSelection(arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 Py_INCREF(Py_None
); resultobj
= Py_None
;
4859 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 PyObject
* obj2
= 0 ;
4868 (char *) "self",(char *) "from",(char *) "to", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail
;
4875 arg2
= (long)(SWIG_As_long(obj1
));
4876 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 arg3
= (long)(SWIG_As_long(obj2
));
4880 if (SWIG_arg_fail(3)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetSelection(arg2
,arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4899 long *arg2
= (long *) 0 ;
4900 long *arg3
= (long *) 0 ;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "self", NULL
4910 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4911 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->GetSelection(arg2
,arg3
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4923 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4924 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4925 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4926 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4933 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4936 wxString
*arg2
= 0 ;
4938 bool temp2
= false ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "string", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail
;
4949 arg2
= wxString_in_helper(obj1
);
4950 if (arg2
== NULL
) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4981 wxString
*arg3
= 0 ;
4982 bool temp3
= false ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4985 PyObject
* obj2
= 0 ;
4987 (char *) "self",(char *) "n",(char *) "string", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 arg2
= (int)(SWIG_As_int(obj1
));
4995 if (SWIG_arg_fail(2)) SWIG_fail
;
4998 arg3
= wxString_in_helper(obj2
);
4999 if (arg3
== NULL
) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "editable", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 arg2
= (bool)(SWIG_As_bool(obj1
));
5039 if (SWIG_arg_fail(2)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->SetEditable(arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetInsertionPointEnd();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5089 (char *) "self",(char *) "from",(char *) "to", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 arg2
= (long)(SWIG_As_long(obj1
));
5097 if (SWIG_arg_fail(2)) SWIG_fail
;
5100 arg3
= (long)(SWIG_As_long(obj2
));
5101 if (SWIG_arg_fail(3)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->Remove(arg2
,arg3
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SelectAll();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5287 if (SWIG_arg_fail(1)) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5304 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5332 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5360 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5363 wxVisualAttributes result
;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "variant", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5372 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 if (!wxPyCheckForApp()) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 wxVisualAttributes
* resultptr
;
5386 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5395 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5398 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5400 return Py_BuildValue((char *)"");
5402 static int _wrap_GaugeNameStr_set(PyObject
*) {
5403 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5408 static PyObject
*_wrap_GaugeNameStr_get(void) {
5413 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5415 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5422 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxWindow
*arg1
= (wxWindow
*) 0 ;
5425 int arg2
= (int) -1 ;
5426 int arg3
= (int) 100 ;
5427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5431 long arg6
= (long) wxGA_HORIZONTAL
;
5432 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5433 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5434 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5435 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5439 bool temp8
= false ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5442 PyObject
* obj2
= 0 ;
5443 PyObject
* obj3
= 0 ;
5444 PyObject
* obj4
= 0 ;
5445 PyObject
* obj5
= 0 ;
5446 PyObject
* obj6
= 0 ;
5447 PyObject
* obj7
= 0 ;
5449 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5454 if (SWIG_arg_fail(1)) SWIG_fail
;
5457 arg2
= (int)(SWIG_As_int(obj1
));
5458 if (SWIG_arg_fail(2)) SWIG_fail
;
5463 arg3
= (int)(SWIG_As_int(obj2
));
5464 if (SWIG_arg_fail(3)) SWIG_fail
;
5470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5481 arg6
= (long)(SWIG_As_long(obj5
));
5482 if (SWIG_arg_fail(6)) SWIG_fail
;
5487 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(7)) SWIG_fail
;
5490 SWIG_null_ref("wxValidator");
5492 if (SWIG_arg_fail(7)) SWIG_fail
;
5497 arg8
= wxString_in_helper(obj7
);
5498 if (arg8
== NULL
) SWIG_fail
;
5503 if (!wxPyCheckForApp()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5525 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5534 if (!wxPyCheckForApp()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxGauge
*)new wxGauge();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5548 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxGauge
*arg1
= (wxGauge
*) 0 ;
5551 wxWindow
*arg2
= (wxWindow
*) 0 ;
5552 int arg3
= (int) -1 ;
5553 int arg4
= (int) 100 ;
5554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5558 long arg7
= (long) wxGA_HORIZONTAL
;
5559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5561 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5566 bool temp9
= false ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5571 PyObject
* obj4
= 0 ;
5572 PyObject
* obj5
= 0 ;
5573 PyObject
* obj6
= 0 ;
5574 PyObject
* obj7
= 0 ;
5575 PyObject
* obj8
= 0 ;
5577 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(2)) SWIG_fail
;
5587 arg3
= (int)(SWIG_As_int(obj2
));
5588 if (SWIG_arg_fail(3)) SWIG_fail
;
5593 arg4
= (int)(SWIG_As_int(obj3
));
5594 if (SWIG_arg_fail(4)) SWIG_fail
;
5600 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5606 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5611 arg7
= (long)(SWIG_As_long(obj6
));
5612 if (SWIG_arg_fail(7)) SWIG_fail
;
5617 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5618 if (SWIG_arg_fail(8)) SWIG_fail
;
5620 SWIG_null_ref("wxValidator");
5622 if (SWIG_arg_fail(8)) SWIG_fail
;
5627 arg9
= wxString_in_helper(obj8
);
5628 if (arg9
== NULL
) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5656 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxGauge
*arg1
= (wxGauge
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "range", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5670 arg2
= (int)(SWIG_As_int(obj1
));
5671 if (SWIG_arg_fail(2)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetRange(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGauge
*arg1
= (wxGauge
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_From_int((int)(result
));
5715 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxGauge
*arg1
= (wxGauge
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "pos", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail
;
5729 arg2
= (int)(SWIG_As_int(obj1
));
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetValue(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxGauge
*arg1
= (wxGauge
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_From_int((int)(result
));
5774 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxGauge
*arg1
= (wxGauge
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5785 if (SWIG_arg_fail(1)) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxGauge
*arg1
= (wxGauge
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5809 (char *) "self",(char *) "w", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 arg2
= (int)(SWIG_As_int(obj1
));
5817 if (SWIG_arg_fail(2)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetShadowWidth(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxGauge
*arg1
= (wxGauge
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_From_int((int)(result
));
5861 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxGauge
*arg1
= (wxGauge
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "w", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 arg2
= (int)(SWIG_As_int(obj1
));
5876 if (SWIG_arg_fail(2)) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetBezelFace(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxGauge
*arg1
= (wxGauge
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_From_int((int)(result
));
5920 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5923 wxVisualAttributes result
;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "variant", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5932 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 wxVisualAttributes
* resultptr
;
5946 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5955 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5958 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5960 return Py_BuildValue((char *)"");
5962 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5963 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5968 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5973 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5975 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5982 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5983 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5988 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5993 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5995 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6002 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6003 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6008 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6013 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6015 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6022 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxWindow
*arg1
= (wxWindow
*) 0 ;
6025 int arg2
= (int) -1 ;
6026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6032 long arg6
= (long) 0 ;
6033 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6035 wxStaticBox
*result
;
6036 bool temp3
= false ;
6039 bool temp7
= false ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6043 PyObject
* obj3
= 0 ;
6044 PyObject
* obj4
= 0 ;
6045 PyObject
* obj5
= 0 ;
6046 PyObject
* obj6
= 0 ;
6048 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 arg2
= (int)(SWIG_As_int(obj1
));
6057 if (SWIG_arg_fail(2)) SWIG_fail
;
6062 arg3
= wxString_in_helper(obj2
);
6063 if (arg3
== NULL
) SWIG_fail
;
6070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6081 arg6
= (long)(SWIG_As_long(obj5
));
6082 if (SWIG_arg_fail(6)) SWIG_fail
;
6087 arg7
= wxString_in_helper(obj6
);
6088 if (arg7
== NULL
) SWIG_fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6123 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxStaticBox
*result
;
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxStaticBox
*)new wxStaticBox();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6146 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6149 wxWindow
*arg2
= (wxWindow
*) 0 ;
6150 int arg3
= (int) -1 ;
6151 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6157 long arg7
= (long) 0 ;
6158 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6161 bool temp4
= false ;
6164 bool temp8
= false ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6167 PyObject
* obj2
= 0 ;
6168 PyObject
* obj3
= 0 ;
6169 PyObject
* obj4
= 0 ;
6170 PyObject
* obj5
= 0 ;
6171 PyObject
* obj6
= 0 ;
6172 PyObject
* obj7
= 0 ;
6174 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail
;
6180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 arg3
= (int)(SWIG_As_int(obj2
));
6185 if (SWIG_arg_fail(3)) SWIG_fail
;
6190 arg4
= wxString_in_helper(obj3
);
6191 if (arg4
== NULL
) SWIG_fail
;
6198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6204 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6209 arg7
= (long)(SWIG_As_long(obj6
));
6210 if (SWIG_arg_fail(7)) SWIG_fail
;
6215 arg8
= wxString_in_helper(obj7
);
6216 if (arg8
== NULL
) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6252 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6255 wxVisualAttributes result
;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "variant", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6264 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 wxVisualAttributes
* resultptr
;
6278 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6287 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6292 return Py_BuildValue((char *)"");
6294 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxWindow
*arg1
= (wxWindow
*) 0 ;
6297 int arg2
= (int) -1 ;
6298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6302 long arg5
= (long) wxLI_HORIZONTAL
;
6303 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6304 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6305 wxStaticLine
*result
;
6308 bool temp6
= false ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6312 PyObject
* obj3
= 0 ;
6313 PyObject
* obj4
= 0 ;
6314 PyObject
* obj5
= 0 ;
6316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6324 arg2
= (int)(SWIG_As_int(obj1
));
6325 if (SWIG_arg_fail(2)) SWIG_fail
;
6331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6342 arg5
= (long)(SWIG_As_long(obj4
));
6343 if (SWIG_arg_fail(5)) SWIG_fail
;
6348 arg6
= wxString_in_helper(obj5
);
6349 if (arg6
== NULL
) SWIG_fail
;
6354 if (!wxPyCheckForApp()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6376 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxStaticLine
*result
;
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6385 if (!wxPyCheckForApp()) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (wxStaticLine
*)new wxStaticLine();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6399 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6402 wxWindow
*arg2
= (wxWindow
*) 0 ;
6403 int arg3
= (int) -1 ;
6404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6408 long arg6
= (long) wxLI_HORIZONTAL
;
6409 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6414 bool temp7
= false ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 PyObject
* obj3
= 0 ;
6419 PyObject
* obj4
= 0 ;
6420 PyObject
* obj5
= 0 ;
6421 PyObject
* obj6
= 0 ;
6423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6430 if (SWIG_arg_fail(2)) SWIG_fail
;
6433 arg3
= (int)(SWIG_As_int(obj2
));
6434 if (SWIG_arg_fail(3)) SWIG_fail
;
6440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6451 arg6
= (long)(SWIG_As_long(obj5
));
6452 if (SWIG_arg_fail(6)) SWIG_fail
;
6457 arg7
= wxString_in_helper(obj6
);
6458 if (arg7
== NULL
) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6486 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6514 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (int)wxStaticLine::GetDefaultSize();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_From_int((int)(result
));
6538 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6541 wxVisualAttributes result
;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "variant", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6550 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6551 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 if (!wxPyCheckForApp()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 wxVisualAttributes
* resultptr
;
6564 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6573 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6576 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6578 return Py_BuildValue((char *)"");
6580 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxWindow
*arg1
= (wxWindow
*) 0 ;
6583 int arg2
= (int) -1 ;
6584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6590 long arg6
= (long) 0 ;
6591 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6593 wxStaticText
*result
;
6594 bool temp3
= false ;
6597 bool temp7
= false ;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6600 PyObject
* obj2
= 0 ;
6601 PyObject
* obj3
= 0 ;
6602 PyObject
* obj4
= 0 ;
6603 PyObject
* obj5
= 0 ;
6604 PyObject
* obj6
= 0 ;
6606 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6614 arg2
= (int)(SWIG_As_int(obj1
));
6615 if (SWIG_arg_fail(2)) SWIG_fail
;
6620 arg3
= wxString_in_helper(obj2
);
6621 if (arg3
== NULL
) SWIG_fail
;
6628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6639 arg6
= (long)(SWIG_As_long(obj5
));
6640 if (SWIG_arg_fail(6)) SWIG_fail
;
6645 arg7
= wxString_in_helper(obj6
);
6646 if (arg7
== NULL
) SWIG_fail
;
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6681 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxStaticText
*result
;
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6690 if (!wxPyCheckForApp()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (wxStaticText
*)new wxStaticText();
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6704 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6707 wxWindow
*arg2
= (wxWindow
*) 0 ;
6708 int arg3
= (int) -1 ;
6709 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6710 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6711 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6712 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6713 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6714 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6715 long arg7
= (long) 0 ;
6716 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6717 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6719 bool temp4
= false ;
6722 bool temp8
= false ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6726 PyObject
* obj3
= 0 ;
6727 PyObject
* obj4
= 0 ;
6728 PyObject
* obj5
= 0 ;
6729 PyObject
* obj6
= 0 ;
6730 PyObject
* obj7
= 0 ;
6732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail
;
6738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(2)) SWIG_fail
;
6742 arg3
= (int)(SWIG_As_int(obj2
));
6743 if (SWIG_arg_fail(3)) SWIG_fail
;
6748 arg4
= wxString_in_helper(obj3
);
6749 if (arg4
== NULL
) SWIG_fail
;
6756 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6762 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6767 arg7
= (long)(SWIG_As_long(obj6
));
6768 if (SWIG_arg_fail(7)) SWIG_fail
;
6773 arg8
= wxString_in_helper(obj7
);
6774 if (arg8
== NULL
) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6813 wxVisualAttributes result
;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "variant", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6822 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if (!wxPyCheckForApp()) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 wxVisualAttributes
* resultptr
;
6836 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6845 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6850 return Py_BuildValue((char *)"");
6852 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxWindow
*arg1
= (wxWindow
*) 0 ;
6855 int arg2
= (int) -1 ;
6856 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6857 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6862 long arg6
= (long) 0 ;
6863 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6865 wxStaticBitmap
*result
;
6868 bool temp7
= false ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6871 PyObject
* obj2
= 0 ;
6872 PyObject
* obj3
= 0 ;
6873 PyObject
* obj4
= 0 ;
6874 PyObject
* obj5
= 0 ;
6875 PyObject
* obj6
= 0 ;
6877 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail
;
6885 arg2
= (int)(SWIG_As_int(obj1
));
6886 if (SWIG_arg_fail(2)) SWIG_fail
;
6891 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(3)) SWIG_fail
;
6894 SWIG_null_ref("wxBitmap");
6896 if (SWIG_arg_fail(3)) SWIG_fail
;
6902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6913 arg6
= (long)(SWIG_As_long(obj5
));
6914 if (SWIG_arg_fail(6)) SWIG_fail
;
6919 arg7
= wxString_in_helper(obj6
);
6920 if (arg7
== NULL
) SWIG_fail
;
6925 if (!wxPyCheckForApp()) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6947 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStaticBitmap
*result
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6956 if (!wxPyCheckForApp()) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6970 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6973 wxWindow
*arg2
= (wxWindow
*) 0 ;
6974 int arg3
= (int) -1 ;
6975 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6976 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6977 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6978 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6979 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6980 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6981 long arg7
= (long) 0 ;
6982 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6987 bool temp8
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 PyObject
* obj4
= 0 ;
6993 PyObject
* obj5
= 0 ;
6994 PyObject
* obj6
= 0 ;
6995 PyObject
* obj7
= 0 ;
6997 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail
;
7003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail
;
7007 arg3
= (int)(SWIG_As_int(obj2
));
7008 if (SWIG_arg_fail(3)) SWIG_fail
;
7013 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7014 if (SWIG_arg_fail(4)) SWIG_fail
;
7016 SWIG_null_ref("wxBitmap");
7018 if (SWIG_arg_fail(4)) SWIG_fail
;
7024 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7030 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7035 arg7
= (long)(SWIG_As_long(obj6
));
7036 if (SWIG_arg_fail(7)) SWIG_fail
;
7041 arg8
= wxString_in_helper(obj7
);
7042 if (arg8
== NULL
) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (arg1
)->GetBitmap();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 wxBitmap
* resultptr
;
7091 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7100 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7103 wxBitmap
*arg2
= 0 ;
7104 PyObject
* obj0
= 0 ;
7105 PyObject
* obj1
= 0 ;
7107 (char *) "self",(char *) "bitmap", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7112 if (SWIG_arg_fail(1)) SWIG_fail
;
7114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(2)) SWIG_fail
;
7117 SWIG_null_ref("wxBitmap");
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "icon", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(2)) SWIG_fail
;
7152 SWIG_null_ref("wxIcon");
7154 if (SWIG_arg_fail(2)) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7173 wxVisualAttributes result
;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "variant", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7182 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 if (!wxPyCheckForApp()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 wxVisualAttributes
* resultptr
;
7196 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7205 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7210 return Py_BuildValue((char *)"");
7212 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7213 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7218 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7223 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7225 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7232 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxWindow
*arg1
= (wxWindow
*) 0 ;
7235 int arg2
= (int) -1 ;
7236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7240 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7241 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7242 long arg6
= (long) 0 ;
7243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7245 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7250 bool temp5
= false ;
7251 bool temp8
= false ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 PyObject
* obj2
= 0 ;
7255 PyObject
* obj3
= 0 ;
7256 PyObject
* obj4
= 0 ;
7257 PyObject
* obj5
= 0 ;
7258 PyObject
* obj6
= 0 ;
7259 PyObject
* obj7
= 0 ;
7261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7269 arg2
= (int)(SWIG_As_int(obj1
));
7270 if (SWIG_arg_fail(2)) SWIG_fail
;
7276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7282 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7287 if (! PySequence_Check(obj4
)) {
7288 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7291 arg5
= new wxArrayString
;
7293 int i
, len
=PySequence_Length(obj4
);
7294 for (i
=0; i
<len
; i
++) {
7295 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7297 PyObject
* str
= PyObject_Unicode(item
);
7299 PyObject
* str
= PyObject_Str(item
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7302 arg5
->Add(Py2wxString(str
));
7310 arg6
= (long)(SWIG_As_long(obj5
));
7311 if (SWIG_arg_fail(6)) SWIG_fail
;
7316 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7317 if (SWIG_arg_fail(7)) SWIG_fail
;
7319 SWIG_null_ref("wxValidator");
7321 if (SWIG_arg_fail(7)) SWIG_fail
;
7326 arg8
= wxString_in_helper(obj7
);
7327 if (arg8
== NULL
) SWIG_fail
;
7332 if (!wxPyCheckForApp()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7341 if (temp5
) delete arg5
;
7350 if (temp5
) delete arg5
;
7360 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7369 if (!wxPyCheckForApp()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxListBox
*)new wxListBox();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7383 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxListBox
*arg1
= (wxListBox
*) 0 ;
7386 wxWindow
*arg2
= (wxWindow
*) 0 ;
7387 int arg3
= (int) -1 ;
7388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7392 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7393 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7394 long arg7
= (long) 0 ;
7395 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7396 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7397 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7398 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7402 bool temp6
= false ;
7403 bool temp9
= false ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7408 PyObject
* obj4
= 0 ;
7409 PyObject
* obj5
= 0 ;
7410 PyObject
* obj6
= 0 ;
7411 PyObject
* obj7
= 0 ;
7412 PyObject
* obj8
= 0 ;
7414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7421 if (SWIG_arg_fail(2)) SWIG_fail
;
7424 arg3
= (int)(SWIG_As_int(obj2
));
7425 if (SWIG_arg_fail(3)) SWIG_fail
;
7431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7442 if (! PySequence_Check(obj5
)) {
7443 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7446 arg6
= new wxArrayString
;
7448 int i
, len
=PySequence_Length(obj5
);
7449 for (i
=0; i
<len
; i
++) {
7450 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7452 PyObject
* str
= PyObject_Unicode(item
);
7454 PyObject
* str
= PyObject_Str(item
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7457 arg6
->Add(Py2wxString(str
));
7465 arg7
= (long)(SWIG_As_long(obj6
));
7466 if (SWIG_arg_fail(7)) SWIG_fail
;
7471 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(8)) SWIG_fail
;
7474 SWIG_null_ref("wxValidator");
7476 if (SWIG_arg_fail(8)) SWIG_fail
;
7481 arg9
= wxString_in_helper(obj8
);
7482 if (arg9
== NULL
) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 if (temp6
) delete arg6
;
7506 if (temp6
) delete arg6
;
7516 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxListBox
*arg1
= (wxListBox
*) 0 ;
7519 wxString
*arg2
= 0 ;
7521 PyObject
*arg4
= (PyObject
*) NULL
;
7522 bool temp2
= false ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7525 PyObject
* obj2
= 0 ;
7526 PyObject
* obj3
= 0 ;
7528 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7535 arg2
= wxString_in_helper(obj1
);
7536 if (arg2
== NULL
) SWIG_fail
;
7540 arg3
= (int)(SWIG_As_int(obj2
));
7541 if (SWIG_arg_fail(3)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxListBox
*arg1
= (wxListBox
*) 0 ;
7571 wxArrayString
*arg2
= 0 ;
7573 bool temp2
= false ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7578 (char *) "self",(char *) "items",(char *) "pos", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7585 if (! PySequence_Check(obj1
)) {
7586 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7589 arg2
= new wxArrayString
;
7591 int i
, len
=PySequence_Length(obj1
);
7592 for (i
=0; i
<len
; i
++) {
7593 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7595 PyObject
* str
= PyObject_Unicode(item
);
7597 PyObject
* str
= PyObject_Str(item
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7600 arg2
->Add(Py2wxString(str
));
7606 arg3
= (int)(SWIG_As_int(obj2
));
7607 if (SWIG_arg_fail(3)) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 if (temp2
) delete arg2
;
7623 if (temp2
) delete arg2
;
7629 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxListBox
*arg1
= (wxListBox
*) 0 ;
7632 wxArrayString
*arg2
= 0 ;
7633 bool temp2
= false ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7637 (char *) "self",(char *) "items", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 if (! PySequence_Check(obj1
)) {
7645 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7648 arg2
= new wxArrayString
;
7650 int i
, len
=PySequence_Length(obj1
);
7651 for (i
=0; i
<len
; i
++) {
7652 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7654 PyObject
* str
= PyObject_Unicode(item
);
7656 PyObject
* str
= PyObject_Str(item
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7659 arg2
->Add(Py2wxString(str
));
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 (arg1
)->Set((wxArrayString
const &)*arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 if (temp2
) delete arg2
;
7678 if (temp2
) delete arg2
;
7684 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxListBox
*arg1
= (wxListBox
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7692 (char *) "self",(char *) "n", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 arg2
= (int)(SWIG_As_int(obj1
));
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxListBox
*arg1
= (wxListBox
*) 0 ;
7722 bool arg3
= (bool) true ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 PyObject
* obj2
= 0 ;
7727 (char *) "self",(char *) "n",(char *) "select", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 arg2
= (int)(SWIG_As_int(obj1
));
7735 if (SWIG_arg_fail(2)) SWIG_fail
;
7739 arg3
= (bool)(SWIG_As_bool(obj2
));
7740 if (SWIG_arg_fail(3)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->SetSelection(arg2
,arg3
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7757 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxListBox
*arg1
= (wxListBox
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7764 (char *) "self",(char *) "n", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail
;
7771 arg2
= (int)(SWIG_As_int(obj1
));
7772 if (SWIG_arg_fail(2)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->Select(arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7788 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxListBox
*arg1
= (wxListBox
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "self",(char *) "n", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7802 arg2
= (int)(SWIG_As_int(obj1
));
7803 if (SWIG_arg_fail(2)) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 (arg1
)->Deselect(arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxListBox
*arg1
= (wxListBox
*) 0 ;
7822 int arg2
= (int) -1 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7826 (char *) "self",(char *) "itemToLeaveSelected", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7834 arg2
= (int)(SWIG_As_int(obj1
));
7835 if (SWIG_arg_fail(2)) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->DeselectAll(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxListBox
*arg1
= (wxListBox
*) 0 ;
7855 wxString
*arg2
= 0 ;
7856 bool arg3
= (bool) true ;
7858 bool temp2
= false ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 PyObject
* obj2
= 0 ;
7863 (char *) "self",(char *) "s",(char *) "select", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= wxString_in_helper(obj1
);
7871 if (arg2
== NULL
) SWIG_fail
;
7876 arg3
= (bool)(SWIG_As_bool(obj2
));
7877 if (SWIG_arg_fail(3)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7904 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxListBox
*arg1
= (wxListBox
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7930 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxListBox
*arg1
= (wxListBox
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7937 (char *) "self",(char *) "n", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail
;
7944 arg2
= (int)(SWIG_As_int(obj1
));
7945 if (SWIG_arg_fail(2)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 (arg1
)->SetFirstItem(arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxListBox
*arg1
= (wxListBox
*) 0 ;
7964 wxString
*arg2
= 0 ;
7965 bool temp2
= false ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "s", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 arg2
= wxString_in_helper(obj1
);
7977 if (arg2
== NULL
) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxListBox
*arg1
= (wxListBox
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8009 (char *) "self",(char *) "n", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8014 if (SWIG_arg_fail(1)) SWIG_fail
;
8016 arg2
= (int)(SWIG_As_int(obj1
));
8017 if (SWIG_arg_fail(2)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 (arg1
)->EnsureVisible(arg2
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxListBox
*arg1
= (wxListBox
*) 0 ;
8036 wxString
*arg2
= 0 ;
8037 bool temp2
= false ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8041 (char *) "self",(char *) "s", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 arg2
= wxString_in_helper(obj1
);
8049 if (arg2
== NULL
) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8074 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxListBox
*arg1
= (wxListBox
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxListBox
*arg1
= (wxListBox
*) 0 ;
8106 wxColour
*arg3
= 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 (char *) "self",(char *) "item",(char *) "c", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail
;
8119 arg2
= (int)(SWIG_As_int(obj1
));
8120 if (SWIG_arg_fail(2)) SWIG_fail
;
8124 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxListBox
*arg1
= (wxListBox
*) 0 ;
8144 wxColour
*arg3
= 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8150 (char *) "self",(char *) "item",(char *) "c", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 arg2
= (int)(SWIG_As_int(obj1
));
8158 if (SWIG_arg_fail(2)) SWIG_fail
;
8162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxListBox
*arg1
= (wxListBox
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8187 (char *) "self",(char *) "item",(char *) "f", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail
;
8194 arg2
= (int)(SWIG_As_int(obj1
));
8195 if (SWIG_arg_fail(2)) SWIG_fail
;
8198 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8199 if (SWIG_arg_fail(3)) SWIG_fail
;
8201 SWIG_null_ref("wxFont");
8203 if (SWIG_arg_fail(3)) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8222 wxVisualAttributes result
;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "variant", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8231 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8232 if (SWIG_arg_fail(1)) SWIG_fail
;
8236 if (!wxPyCheckForApp()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 wxVisualAttributes
* resultptr
;
8245 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8254 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8259 return Py_BuildValue((char *)"");
8261 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxWindow
*arg1
= (wxWindow
*) 0 ;
8264 int arg2
= (int) -1 ;
8265 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8266 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8267 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8268 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8269 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8270 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8271 long arg6
= (long) 0 ;
8272 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8273 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8274 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8275 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8276 wxCheckListBox
*result
;
8279 bool temp5
= false ;
8280 bool temp8
= false ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8283 PyObject
* obj2
= 0 ;
8284 PyObject
* obj3
= 0 ;
8285 PyObject
* obj4
= 0 ;
8286 PyObject
* obj5
= 0 ;
8287 PyObject
* obj6
= 0 ;
8288 PyObject
* obj7
= 0 ;
8290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 arg2
= (int)(SWIG_As_int(obj1
));
8299 if (SWIG_arg_fail(2)) SWIG_fail
;
8305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8311 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8316 if (! PySequence_Check(obj4
)) {
8317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8320 arg5
= new wxArrayString
;
8322 int i
, len
=PySequence_Length(obj4
);
8323 for (i
=0; i
<len
; i
++) {
8324 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8326 PyObject
* str
= PyObject_Unicode(item
);
8328 PyObject
* str
= PyObject_Str(item
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8331 arg5
->Add(Py2wxString(str
));
8339 arg6
= (long)(SWIG_As_long(obj5
));
8340 if (SWIG_arg_fail(6)) SWIG_fail
;
8345 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8346 if (SWIG_arg_fail(7)) SWIG_fail
;
8348 SWIG_null_ref("wxValidator");
8350 if (SWIG_arg_fail(7)) SWIG_fail
;
8355 arg8
= wxString_in_helper(obj7
);
8356 if (arg8
== NULL
) SWIG_fail
;
8361 if (!wxPyCheckForApp()) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8370 if (temp5
) delete arg5
;
8379 if (temp5
) delete arg5
;
8389 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxCheckListBox
*result
;
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxCheckListBox
*)new wxCheckListBox();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8412 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8415 wxWindow
*arg2
= (wxWindow
*) 0 ;
8416 int arg3
= (int) -1 ;
8417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8421 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8422 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8423 long arg7
= (long) 0 ;
8424 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8425 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8426 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8427 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8431 bool temp6
= false ;
8432 bool temp9
= false ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8435 PyObject
* obj2
= 0 ;
8436 PyObject
* obj3
= 0 ;
8437 PyObject
* obj4
= 0 ;
8438 PyObject
* obj5
= 0 ;
8439 PyObject
* obj6
= 0 ;
8440 PyObject
* obj7
= 0 ;
8441 PyObject
* obj8
= 0 ;
8443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 arg3
= (int)(SWIG_As_int(obj2
));
8454 if (SWIG_arg_fail(3)) SWIG_fail
;
8460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8471 if (! PySequence_Check(obj5
)) {
8472 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8475 arg6
= new wxArrayString
;
8477 int i
, len
=PySequence_Length(obj5
);
8478 for (i
=0; i
<len
; i
++) {
8479 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8481 PyObject
* str
= PyObject_Unicode(item
);
8483 PyObject
* str
= PyObject_Str(item
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8486 arg6
->Add(Py2wxString(str
));
8494 arg7
= (long)(SWIG_As_long(obj6
));
8495 if (SWIG_arg_fail(7)) SWIG_fail
;
8500 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(8)) SWIG_fail
;
8503 SWIG_null_ref("wxValidator");
8505 if (SWIG_arg_fail(8)) SWIG_fail
;
8510 arg9
= wxString_in_helper(obj8
);
8511 if (arg9
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 if (temp6
) delete arg6
;
8535 if (temp6
) delete arg6
;
8545 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8553 (char *) "self",(char *) "index", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail
;
8560 arg2
= (int)(SWIG_As_int(obj1
));
8561 if (SWIG_arg_fail(2)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->IsChecked(arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8579 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8583 int arg3
= (int) true ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8586 PyObject
* obj2
= 0 ;
8588 (char *) "self",(char *) "index",(char *) "check", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 arg2
= (int)(SWIG_As_int(obj1
));
8596 if (SWIG_arg_fail(2)) SWIG_fail
;
8600 arg3
= (int)(SWIG_As_int(obj2
));
8601 if (SWIG_arg_fail(3)) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->Check(arg2
,arg3
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8622 PyObject
* obj0
= 0 ;
8624 (char *) "self", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (int)(arg1
)->GetItemHeight();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_int((int)(result
));
8646 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "pt", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_From_int((int)(result
));
8681 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "self",(char *) "x",(char *) "y", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 arg2
= (int)(SWIG_As_int(obj1
));
8699 if (SWIG_arg_fail(2)) SWIG_fail
;
8702 arg3
= (int)(SWIG_As_int(obj2
));
8703 if (SWIG_arg_fail(3)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_From_int((int)(result
));
8721 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8729 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8734 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8739 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8741 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8748 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxColour
const &arg1_defvalue
= wxNullColour
;
8751 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8752 wxColour
const &arg2_defvalue
= wxNullColour
;
8753 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8754 wxFont
const &arg3_defvalue
= wxNullFont
;
8755 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8756 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 PyObject
* obj3
= 0 ;
8765 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8772 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8783 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8784 if (SWIG_arg_fail(3)) SWIG_fail
;
8786 SWIG_null_ref("wxFont");
8788 if (SWIG_arg_fail(3)) SWIG_fail
;
8793 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8794 if (SWIG_arg_fail(4)) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8811 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 Py_INCREF(Py_None
); resultobj
= Py_None
;
8861 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8864 wxColour
*arg2
= 0 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8869 (char *) "self",(char *) "colText", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8896 wxColour
*arg2
= 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8901 (char *) "self",(char *) "colBack", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail
;
8909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8929 long arg3
= (long) wxTEXT_ATTR_FONT
;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8934 (char *) "self",(char *) "font",(char *) "flags", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8942 if (SWIG_arg_fail(2)) SWIG_fail
;
8944 SWIG_null_ref("wxFont");
8946 if (SWIG_arg_fail(2)) SWIG_fail
;
8950 arg3
= (long)(SWIG_As_long(obj2
));
8951 if (SWIG_arg_fail(3)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8971 wxTextAttrAlignment arg2
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "alignment", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8983 if (SWIG_arg_fail(2)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9002 wxArrayInt
*arg2
= 0 ;
9003 bool temp2
= false ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "self",(char *) "tabs", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail
;
9014 if (! PySequence_Check(obj1
)) {
9015 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9018 arg2
= new wxArrayInt
;
9020 int i
, len
=PySequence_Length(obj1
);
9021 for (i
=0; i
<len
; i
++) {
9022 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9023 PyObject
* number
= PyNumber_Int(item
);
9024 arg2
->Add(PyInt_AS_LONG(number
));
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 if (temp2
) delete arg2
;
9043 if (temp2
) delete arg2
;
9049 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9053 int arg3
= (int) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail
;
9065 arg2
= (int)(SWIG_As_int(obj1
));
9066 if (SWIG_arg_fail(2)) SWIG_fail
;
9070 arg3
= (int)(SWIG_As_int(obj2
));
9071 if (SWIG_arg_fail(3)) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->SetLeftIndent(arg2
,arg3
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "self",(char *) "indent", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 arg2
= (int)(SWIG_As_int(obj1
));
9103 if (SWIG_arg_fail(2)) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->SetRightIndent(arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "flags", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 arg2
= (long)(SWIG_As_long(obj1
));
9134 if (SWIG_arg_fail(2)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 (arg1
)->SetFlags(arg2
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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();
9276 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9296 (char *) "self", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9318 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "flag", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail
;
9361 arg2
= (long)(SWIG_As_long(obj1
));
9362 if (SWIG_arg_fail(2)) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9396 result
= (wxColour
*) &_result_ref
;
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9409 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9425 result
= (wxColour
*) &_result_ref
;
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9438 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9454 result
= (wxFont
*) &_result_ref
;
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 wxFont
* resultptr
= new wxFont(*result
);
9462 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9470 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9473 wxTextAttrAlignment result
;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",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
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_From_int((result
));
9496 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9512 result
= (wxArrayInt
*) &_result_ref
;
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= PyList_New(0);
9521 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9522 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9523 PyList_Append(resultobj
, val
);
9533 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_From_long((long)(result
));
9561 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_From_long((long)(result
));
9589 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_long((long)(result
));
9617 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_long((long)(result
));
9645 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxTextAttr
*arg1
= 0 ;
9676 wxTextAttr
*arg2
= 0 ;
9677 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 PyObject
* obj2
= 0 ;
9683 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 SWIG_null_ref("wxTextAttr");
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 SWIG_null_ref("wxTextAttr");
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9703 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(3)) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 wxTextAttr
* resultptr
;
9714 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9723 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9726 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9728 return Py_BuildValue((char *)"");
9730 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxWindow
*arg1
= (wxWindow
*) 0 ;
9733 int arg2
= (int) -1 ;
9734 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9740 long arg6
= (long) 0 ;
9741 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9742 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9743 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9744 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9746 bool temp3
= false ;
9749 bool temp8
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9753 PyObject
* obj3
= 0 ;
9754 PyObject
* obj4
= 0 ;
9755 PyObject
* obj5
= 0 ;
9756 PyObject
* obj6
= 0 ;
9757 PyObject
* obj7
= 0 ;
9759 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9767 arg2
= (int)(SWIG_As_int(obj1
));
9768 if (SWIG_arg_fail(2)) SWIG_fail
;
9773 arg3
= wxString_in_helper(obj2
);
9774 if (arg3
== NULL
) SWIG_fail
;
9781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9792 arg6
= (long)(SWIG_As_long(obj5
));
9793 if (SWIG_arg_fail(6)) SWIG_fail
;
9798 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(7)) SWIG_fail
;
9801 SWIG_null_ref("wxValidator");
9803 if (SWIG_arg_fail(7)) SWIG_fail
;
9808 arg8
= wxString_in_helper(obj7
);
9809 if (arg8
== NULL
) SWIG_fail
;
9814 if (!wxPyCheckForApp()) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9844 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9853 if (!wxPyCheckForApp()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (wxTextCtrl
*)new wxTextCtrl();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9867 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9870 wxWindow
*arg2
= (wxWindow
*) 0 ;
9871 int arg3
= (int) -1 ;
9872 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9873 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9874 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9875 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9876 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9877 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9878 long arg7
= (long) 0 ;
9879 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9880 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9881 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9882 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9884 bool temp4
= false ;
9887 bool temp9
= false ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9892 PyObject
* obj4
= 0 ;
9893 PyObject
* obj5
= 0 ;
9894 PyObject
* obj6
= 0 ;
9895 PyObject
* obj7
= 0 ;
9896 PyObject
* obj8
= 0 ;
9898 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9905 if (SWIG_arg_fail(2)) SWIG_fail
;
9908 arg3
= (int)(SWIG_As_int(obj2
));
9909 if (SWIG_arg_fail(3)) SWIG_fail
;
9914 arg4
= wxString_in_helper(obj3
);
9915 if (arg4
== NULL
) SWIG_fail
;
9922 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9928 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9933 arg7
= (long)(SWIG_As_long(obj6
));
9934 if (SWIG_arg_fail(7)) SWIG_fail
;
9939 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(8)) SWIG_fail
;
9942 SWIG_null_ref("wxValidator");
9944 if (SWIG_arg_fail(8)) SWIG_fail
;
9949 arg9
= wxString_in_helper(obj8
);
9950 if (arg9
== NULL
) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9986 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10018 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10021 wxString
*arg2
= 0 ;
10022 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "value", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetValue((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10059 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self",(char *) "from",(char *) "to", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 arg2
= (long)(SWIG_As_long(obj1
));
10077 if (SWIG_arg_fail(2)) SWIG_fail
;
10080 arg3
= (long)(SWIG_As_long(obj2
));
10081 if (SWIG_arg_fail(3)) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10103 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "lineNo", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail
;
10118 arg2
= (long)(SWIG_As_long(obj1
));
10119 if (SWIG_arg_fail(2)) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_From_int((int)(result
));
10137 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "lineNo", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10150 if (SWIG_arg_fail(1)) SWIG_fail
;
10152 arg2
= (long)(SWIG_As_long(obj1
));
10153 if (SWIG_arg_fail(2)) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10175 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",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 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_From_int((int)(result
));
10203 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10231 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10242 if (SWIG_arg_fail(1)) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10259 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10315 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10318 long *arg2
= (long *) 0 ;
10319 long *arg3
= (long *) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10343 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10344 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10345 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10352 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10384 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10414 wxString
*arg4
= 0 ;
10415 bool temp4
= false ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 PyObject
* obj3
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 arg2
= (long)(SWIG_As_long(obj1
));
10429 if (SWIG_arg_fail(2)) SWIG_fail
;
10432 arg3
= (long)(SWIG_As_long(obj2
));
10433 if (SWIG_arg_fail(3)) SWIG_fail
;
10436 arg4
= wxString_in_helper(obj3
);
10437 if (arg4
== NULL
) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "from",(char *) "to", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail
;
10478 arg2
= (long)(SWIG_As_long(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10482 arg3
= (long)(SWIG_As_long(obj2
));
10483 if (SWIG_arg_fail(3)) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->Remove(arg2
,arg3
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10499 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10502 wxString
*arg2
= 0 ;
10504 bool temp2
= false ;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "file", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 arg2
= wxString_in_helper(obj1
);
10516 if (arg2
== NULL
) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10543 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10549 bool temp2
= false ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "file", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail
;
10561 arg2
= wxString_in_helper(obj1
);
10562 if (arg2
== NULL
) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10600 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->MarkDirty();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->DiscardEdits();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10643 unsigned long arg2
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "len", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10652 if (SWIG_arg_fail(1)) SWIG_fail
;
10654 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10655 if (SWIG_arg_fail(2)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetMaxLength(arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10674 wxString
*arg2
= 0 ;
10675 bool temp2
= false ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "text", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail
;
10686 arg2
= wxString_in_helper(obj1
);
10687 if (arg2
== NULL
) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 (arg1
)->WriteText((wxString
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10715 wxString
*arg2
= 0 ;
10716 bool temp2
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "text", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail
;
10727 arg2
= wxString_in_helper(obj1
);
10728 if (arg2
== NULL
) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->AppendText((wxString
const &)*arg2
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10756 wxKeyEvent
*arg2
= 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "event", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail
;
10768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10770 if (arg2
== NULL
) {
10771 SWIG_null_ref("wxKeyEvent");
10773 if (SWIG_arg_fail(2)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10791 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10796 wxTextAttr
*arg4
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 PyObject
* obj3
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 arg2
= (long)(SWIG_As_long(obj1
));
10811 if (SWIG_arg_fail(2)) SWIG_fail
;
10814 arg3
= (long)(SWIG_As_long(obj2
));
10815 if (SWIG_arg_fail(3)) SWIG_fail
;
10818 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10819 if (SWIG_arg_fail(4)) SWIG_fail
;
10820 if (arg4
== NULL
) {
10821 SWIG_null_ref("wxTextAttr");
10823 if (SWIG_arg_fail(4)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10845 wxTextAttr
*arg3
= 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "position",(char *) "style", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10856 if (SWIG_arg_fail(1)) SWIG_fail
;
10858 arg2
= (long)(SWIG_As_long(obj1
));
10859 if (SWIG_arg_fail(2)) SWIG_fail
;
10862 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10863 if (SWIG_arg_fail(3)) SWIG_fail
;
10864 if (arg3
== NULL
) {
10865 SWIG_null_ref("wxTextAttr");
10867 if (SWIG_arg_fail(3)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10888 wxTextAttr
*arg2
= 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "style", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10901 if (SWIG_arg_fail(2)) SWIG_fail
;
10902 if (arg2
== NULL
) {
10903 SWIG_null_ref("wxTextAttr");
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10923 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10926 wxTextAttr
*result
;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10939 result
= (wxTextAttr
*) &_result_ref
;
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10952 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 PyObject
* obj2
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "x",(char *) "y", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10969 arg2
= (long)(SWIG_As_long(obj1
));
10970 if (SWIG_arg_fail(2)) SWIG_fail
;
10973 arg3
= (long)(SWIG_As_long(obj2
));
10974 if (SWIG_arg_fail(3)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= SWIG_From_long((long)(result
));
10992 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10996 long *arg3
= (long *) 0 ;
10997 long *arg4
= (long *) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "pos", NULL
11008 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11009 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11014 arg2
= (long)(SWIG_As_long(obj1
));
11015 if (SWIG_arg_fail(2)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11026 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11027 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11028 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11035 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "pos", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (long)(SWIG_As_long(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->ShowPosition(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11069 wxPoint
*arg2
= 0 ;
11070 long *arg3
= (long *) 0 ;
11071 long *arg4
= (long *) 0 ;
11072 wxTextCtrlHitTestResult result
;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "pt", NULL
11084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11085 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11088 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_From_int((result
));
11101 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11102 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11103 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11104 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11111 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11114 wxPoint
*arg2
= 0 ;
11115 long *arg3
= (long *) 0 ;
11116 wxTextCtrlHitTestResult result
;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "pt", NULL
11126 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11129 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int((result
));
11142 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11143 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11150 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 Py_INCREF(Py_None
); resultobj
= Py_None
;
11200 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11415 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "pos", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
11430 if (SWIG_arg_fail(2)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetInsertionPoint(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->SetInsertionPointEnd();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_long((long)(result
));
11499 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_long((long)(result
));
11527 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "from",(char *) "to", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 arg2
= (long)(SWIG_As_long(obj1
));
11544 if (SWIG_arg_fail(2)) SWIG_fail
;
11547 arg3
= (long)(SWIG_As_long(obj2
));
11548 if (SWIG_arg_fail(3)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SetSelection(arg2
,arg3
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 Py_INCREF(Py_None
); resultobj
= Py_None
;
11564 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 (arg1
)->SelectAll();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "editable", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 arg2
= (bool)(SWIG_As_bool(obj1
));
11604 if (SWIG_arg_fail(2)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 (arg1
)->SetEditable(arg2
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11623 bool arg2
= (bool) true ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "show", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 arg2
= (bool)(SWIG_As_bool(obj1
));
11637 if (SWIG_arg_fail(2)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11660 PyObject
* obj0
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "self", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11667 if (SWIG_arg_fail(1)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->HideNativeCaret();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11687 wxString
*arg2
= 0 ;
11688 bool temp2
= false ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "text", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11725 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "from",(char *) "to", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail
;
11742 arg2
= (long)(SWIG_As_long(obj1
));
11743 if (SWIG_arg_fail(2)) SWIG_fail
;
11746 arg3
= (long)(SWIG_As_long(obj2
));
11747 if (SWIG_arg_fail(3)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11769 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11772 wxVisualAttributes result
;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "variant", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11781 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11782 if (SWIG_arg_fail(1)) SWIG_fail
;
11786 if (!wxPyCheckForApp()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 wxVisualAttributes
* resultptr
;
11795 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11804 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11807 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11809 return Py_BuildValue((char *)"");
11811 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11814 wxMouseEvent
*arg2
= 0 ;
11817 wxTextUrlEvent
*result
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11828 arg1
= (int)(SWIG_As_int(obj0
));
11829 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11833 if (SWIG_arg_fail(2)) SWIG_fail
;
11834 if (arg2
== NULL
) {
11835 SWIG_null_ref("wxMouseEvent");
11837 if (SWIG_arg_fail(2)) SWIG_fail
;
11840 arg3
= (long)(SWIG_As_long(obj2
));
11841 if (SWIG_arg_fail(3)) SWIG_fail
;
11844 arg4
= (long)(SWIG_As_long(obj3
));
11845 if (SWIG_arg_fail(4)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11861 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11864 wxMouseEvent
*result
;
11865 PyObject
* obj0
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11872 if (SWIG_arg_fail(1)) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11877 result
= (wxMouseEvent
*) &_result_ref
;
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11890 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_long((long)(result
));
11918 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_From_long((long)(result
));
11946 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11949 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11951 return Py_BuildValue((char *)"");
11953 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11954 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11959 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11964 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11966 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11973 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxWindow
*arg1
= (wxWindow
*) 0 ;
11976 int arg2
= (int) -1 ;
11977 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11978 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11979 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11980 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11981 long arg5
= (long) wxSB_HORIZONTAL
;
11982 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11983 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11984 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11986 wxScrollBar
*result
;
11989 bool temp7
= false ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 PyObject
* obj2
= 0 ;
11993 PyObject
* obj3
= 0 ;
11994 PyObject
* obj4
= 0 ;
11995 PyObject
* obj5
= 0 ;
11996 PyObject
* obj6
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 arg2
= (int)(SWIG_As_int(obj1
));
12007 if (SWIG_arg_fail(2)) SWIG_fail
;
12013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12019 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12024 arg5
= (long)(SWIG_As_long(obj4
));
12025 if (SWIG_arg_fail(5)) SWIG_fail
;
12030 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(6)) SWIG_fail
;
12032 if (arg6
== NULL
) {
12033 SWIG_null_ref("wxValidator");
12035 if (SWIG_arg_fail(6)) SWIG_fail
;
12040 arg7
= wxString_in_helper(obj6
);
12041 if (arg7
== NULL
) SWIG_fail
;
12046 if (!wxPyCheckForApp()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12068 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxScrollBar
*result
;
12071 char *kwnames
[] = {
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12077 if (!wxPyCheckForApp()) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (wxScrollBar
*)new wxScrollBar();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12091 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12094 wxWindow
*arg2
= (wxWindow
*) 0 ;
12095 int arg3
= (int) -1 ;
12096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12100 long arg6
= (long) wxSB_HORIZONTAL
;
12101 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12102 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12103 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12108 bool temp8
= false ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 PyObject
* obj2
= 0 ;
12112 PyObject
* obj3
= 0 ;
12113 PyObject
* obj4
= 0 ;
12114 PyObject
* obj5
= 0 ;
12115 PyObject
* obj6
= 0 ;
12116 PyObject
* obj7
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12123 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 arg3
= (int)(SWIG_As_int(obj2
));
12129 if (SWIG_arg_fail(3)) SWIG_fail
;
12135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12146 arg6
= (long)(SWIG_As_long(obj5
));
12147 if (SWIG_arg_fail(6)) SWIG_fail
;
12152 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(7)) SWIG_fail
;
12154 if (arg7
== NULL
) {
12155 SWIG_null_ref("wxValidator");
12157 if (SWIG_arg_fail(7)) SWIG_fail
;
12162 arg8
= wxString_in_helper(obj7
);
12163 if (arg8
== NULL
) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int((int)(result
));
12219 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int((int)(result
));
12247 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_int((int)(result
));
12275 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int((int)(result
));
12303 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12331 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "viewStart", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12345 arg2
= (int)(SWIG_As_int(obj1
));
12346 if (SWIG_arg_fail(2)) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 (arg1
)->SetThumbPosition(arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 Py_INCREF(Py_None
); resultobj
= Py_None
;
12362 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12369 bool arg6
= (bool) true ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 PyObject
* obj2
= 0 ;
12373 PyObject
* obj3
= 0 ;
12374 PyObject
* obj4
= 0 ;
12375 PyObject
* obj5
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 arg2
= (int)(SWIG_As_int(obj1
));
12385 if (SWIG_arg_fail(2)) SWIG_fail
;
12388 arg3
= (int)(SWIG_As_int(obj2
));
12389 if (SWIG_arg_fail(3)) SWIG_fail
;
12392 arg4
= (int)(SWIG_As_int(obj3
));
12393 if (SWIG_arg_fail(4)) SWIG_fail
;
12396 arg5
= (int)(SWIG_As_int(obj4
));
12397 if (SWIG_arg_fail(5)) SWIG_fail
;
12401 arg6
= (bool)(SWIG_As_bool(obj5
));
12402 if (SWIG_arg_fail(6)) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12419 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12422 wxVisualAttributes result
;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "variant", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12431 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12436 if (!wxPyCheckForApp()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 wxVisualAttributes
* resultptr
;
12445 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12454 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12457 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12459 return Py_BuildValue((char *)"");
12461 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12462 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12467 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12472 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12474 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12481 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12482 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12487 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12492 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12494 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12501 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxWindow
*arg1
= (wxWindow
*) 0 ;
12504 int arg2
= (int) -1 ;
12505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12509 long arg5
= (long) wxSP_HORIZONTAL
;
12510 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12511 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12512 wxSpinButton
*result
;
12515 bool temp6
= false ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 PyObject
* obj2
= 0 ;
12519 PyObject
* obj3
= 0 ;
12520 PyObject
* obj4
= 0 ;
12521 PyObject
* obj5
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 arg2
= (int)(SWIG_As_int(obj1
));
12532 if (SWIG_arg_fail(2)) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12544 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12549 arg5
= (long)(SWIG_As_long(obj4
));
12550 if (SWIG_arg_fail(5)) SWIG_fail
;
12555 arg6
= wxString_in_helper(obj5
);
12556 if (arg6
== NULL
) SWIG_fail
;
12561 if (!wxPyCheckForApp()) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12583 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxSpinButton
*result
;
12586 char *kwnames
[] = {
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12592 if (!wxPyCheckForApp()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (wxSpinButton
*)new wxSpinButton();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12606 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12609 wxWindow
*arg2
= (wxWindow
*) 0 ;
12610 int arg3
= (int) -1 ;
12611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12615 long arg6
= (long) wxSP_HORIZONTAL
;
12616 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12621 bool temp7
= false ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 PyObject
* obj2
= 0 ;
12625 PyObject
* obj3
= 0 ;
12626 PyObject
* obj4
= 0 ;
12627 PyObject
* obj5
= 0 ;
12628 PyObject
* obj6
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(2)) SWIG_fail
;
12640 arg3
= (int)(SWIG_As_int(obj2
));
12641 if (SWIG_arg_fail(3)) SWIG_fail
;
12647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12658 arg6
= (long)(SWIG_As_long(obj5
));
12659 if (SWIG_arg_fail(6)) SWIG_fail
;
12664 arg7
= wxString_in_helper(obj6
);
12665 if (arg7
== NULL
) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_From_int((int)(result
));
12721 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_From_int((int)(result
));
12749 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_From_int((int)(result
));
12777 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "val", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail
;
12791 arg2
= (int)(SWIG_As_int(obj1
));
12792 if (SWIG_arg_fail(2)) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->SetValue(arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "minVal", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 arg2
= (int)(SWIG_As_int(obj1
));
12823 if (SWIG_arg_fail(2)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->SetMin(arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "maxVal", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12853 arg2
= (int)(SWIG_As_int(obj1
));
12854 if (SWIG_arg_fail(2)) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 (arg1
)->SetMax(arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 PyObject
* obj2
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 arg2
= (int)(SWIG_As_int(obj1
));
12887 if (SWIG_arg_fail(2)) SWIG_fail
;
12890 arg3
= (int)(SWIG_As_int(obj2
));
12891 if (SWIG_arg_fail(3)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 (arg1
)->SetRange(arg2
,arg3
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 Py_INCREF(Py_None
); resultobj
= Py_None
;
12907 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12938 wxVisualAttributes result
;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "variant", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12947 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 if (!wxPyCheckForApp()) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 wxVisualAttributes
* resultptr
;
12961 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12970 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12973 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12975 return Py_BuildValue((char *)"");
12977 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxWindow
*arg1
= (wxWindow
*) 0 ;
12980 int arg2
= (int) -1 ;
12981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12987 long arg6
= (long) wxSP_ARROW_KEYS
;
12988 int arg7
= (int) 0 ;
12989 int arg8
= (int) 100 ;
12990 int arg9
= (int) 0 ;
12991 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12992 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12993 wxSpinCtrl
*result
;
12994 bool temp3
= false ;
12997 bool temp10
= false ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 PyObject
* obj4
= 0 ;
13003 PyObject
* obj5
= 0 ;
13004 PyObject
* obj6
= 0 ;
13005 PyObject
* obj7
= 0 ;
13006 PyObject
* obj8
= 0 ;
13007 PyObject
* obj9
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail
;
13017 arg2
= (int)(SWIG_As_int(obj1
));
13018 if (SWIG_arg_fail(2)) SWIG_fail
;
13023 arg3
= wxString_in_helper(obj2
);
13024 if (arg3
== NULL
) SWIG_fail
;
13031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13042 arg6
= (long)(SWIG_As_long(obj5
));
13043 if (SWIG_arg_fail(6)) SWIG_fail
;
13048 arg7
= (int)(SWIG_As_int(obj6
));
13049 if (SWIG_arg_fail(7)) SWIG_fail
;
13054 arg8
= (int)(SWIG_As_int(obj7
));
13055 if (SWIG_arg_fail(8)) SWIG_fail
;
13060 arg9
= (int)(SWIG_As_int(obj8
));
13061 if (SWIG_arg_fail(9)) SWIG_fail
;
13066 arg10
= wxString_in_helper(obj9
);
13067 if (arg10
== NULL
) SWIG_fail
;
13072 if (!wxPyCheckForApp()) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13102 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSpinCtrl
*result
;
13105 char *kwnames
[] = {
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13111 if (!wxPyCheckForApp()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13125 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13128 wxWindow
*arg2
= (wxWindow
*) 0 ;
13129 int arg3
= (int) -1 ;
13130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13132 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13133 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13134 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13135 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13136 long arg7
= (long) wxSP_ARROW_KEYS
;
13137 int arg8
= (int) 0 ;
13138 int arg9
= (int) 100 ;
13139 int arg10
= (int) 0 ;
13140 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13141 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13143 bool temp4
= false ;
13146 bool temp11
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 PyObject
* obj3
= 0 ;
13151 PyObject
* obj4
= 0 ;
13152 PyObject
* obj5
= 0 ;
13153 PyObject
* obj6
= 0 ;
13154 PyObject
* obj7
= 0 ;
13155 PyObject
* obj8
= 0 ;
13156 PyObject
* obj9
= 0 ;
13157 PyObject
* obj10
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail
;
13165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(2)) SWIG_fail
;
13169 arg3
= (int)(SWIG_As_int(obj2
));
13170 if (SWIG_arg_fail(3)) SWIG_fail
;
13175 arg4
= wxString_in_helper(obj3
);
13176 if (arg4
== NULL
) SWIG_fail
;
13183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13194 arg7
= (long)(SWIG_As_long(obj6
));
13195 if (SWIG_arg_fail(7)) SWIG_fail
;
13200 arg8
= (int)(SWIG_As_int(obj7
));
13201 if (SWIG_arg_fail(8)) SWIG_fail
;
13206 arg9
= (int)(SWIG_As_int(obj8
));
13207 if (SWIG_arg_fail(9)) SWIG_fail
;
13212 arg10
= (int)(SWIG_As_int(obj9
));
13213 if (SWIG_arg_fail(10)) SWIG_fail
;
13218 arg11
= wxString_in_helper(obj10
);
13219 if (arg11
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13255 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_From_int((int)(result
));
13283 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "value", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail
;
13297 arg2
= (int)(SWIG_As_int(obj1
));
13298 if (SWIG_arg_fail(2)) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetValue(arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13314 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13317 wxString
*arg2
= 0 ;
13318 bool temp2
= false ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "text", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail
;
13329 arg2
= wxString_in_helper(obj1
);
13330 if (arg2
== NULL
) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetValue((wxString
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13355 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 arg2
= (int)(SWIG_As_int(obj1
));
13372 if (SWIG_arg_fail(2)) SWIG_fail
;
13375 arg3
= (int)(SWIG_As_int(obj2
));
13376 if (SWIG_arg_fail(3)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->SetRange(arg2
,arg3
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 Py_INCREF(Py_None
); resultobj
= Py_None
;
13392 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_From_int((int)(result
));
13420 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_From_int((int)(result
));
13448 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 PyObject
* obj2
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "from",(char *) "to", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13462 if (SWIG_arg_fail(1)) SWIG_fail
;
13464 arg2
= (long)(SWIG_As_long(obj1
));
13465 if (SWIG_arg_fail(2)) SWIG_fail
;
13468 arg3
= (long)(SWIG_As_long(obj2
));
13469 if (SWIG_arg_fail(3)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->SetSelection(arg2
,arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13488 wxVisualAttributes result
;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "variant", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13497 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13498 if (SWIG_arg_fail(1)) SWIG_fail
;
13502 if (!wxPyCheckForApp()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 wxVisualAttributes
* resultptr
;
13511 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13520 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13523 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13525 return Py_BuildValue((char *)"");
13527 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13530 int arg2
= (int) 0 ;
13531 wxSpinEvent
*result
;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "commandType",(char *) "winid", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13541 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13542 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 arg2
= (int)(SWIG_As_int(obj1
));
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13565 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13576 if (SWIG_arg_fail(1)) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_From_int((int)(result
));
13593 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "pos", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13605 if (SWIG_arg_fail(1)) SWIG_fail
;
13607 arg2
= (int)(SWIG_As_int(obj1
));
13608 if (SWIG_arg_fail(2)) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 (arg1
)->SetPosition(arg2
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 Py_INCREF(Py_None
); resultobj
= Py_None
;
13624 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13627 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13629 return Py_BuildValue((char *)"");
13631 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13637 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13651 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13657 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13671 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxWindow
*arg1
= (wxWindow
*) 0 ;
13674 int arg2
= (int) -1 ;
13675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13681 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13682 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13683 int arg7
= (int) 0 ;
13684 long arg8
= (long) wxRA_HORIZONTAL
;
13685 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13686 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13687 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13688 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13689 wxRadioBox
*result
;
13690 bool temp3
= false ;
13693 bool temp6
= false ;
13694 bool temp10
= false ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 PyObject
* obj3
= 0 ;
13699 PyObject
* obj4
= 0 ;
13700 PyObject
* obj5
= 0 ;
13701 PyObject
* obj6
= 0 ;
13702 PyObject
* obj7
= 0 ;
13703 PyObject
* obj8
= 0 ;
13704 PyObject
* obj9
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 arg2
= (int)(SWIG_As_int(obj1
));
13715 if (SWIG_arg_fail(2)) SWIG_fail
;
13720 arg3
= wxString_in_helper(obj2
);
13721 if (arg3
== NULL
) SWIG_fail
;
13728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13739 if (! PySequence_Check(obj5
)) {
13740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13743 arg6
= new wxArrayString
;
13745 int i
, len
=PySequence_Length(obj5
);
13746 for (i
=0; i
<len
; i
++) {
13747 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13749 PyObject
* str
= PyObject_Unicode(item
);
13751 PyObject
* str
= PyObject_Str(item
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13754 arg6
->Add(Py2wxString(str
));
13762 arg7
= (int)(SWIG_As_int(obj6
));
13763 if (SWIG_arg_fail(7)) SWIG_fail
;
13768 arg8
= (long)(SWIG_As_long(obj7
));
13769 if (SWIG_arg_fail(8)) SWIG_fail
;
13774 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13775 if (SWIG_arg_fail(9)) SWIG_fail
;
13776 if (arg9
== NULL
) {
13777 SWIG_null_ref("wxValidator");
13779 if (SWIG_arg_fail(9)) SWIG_fail
;
13784 arg10
= wxString_in_helper(obj9
);
13785 if (arg10
== NULL
) SWIG_fail
;
13790 if (!wxPyCheckForApp()) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 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
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13803 if (temp6
) delete arg6
;
13816 if (temp6
) delete arg6
;
13826 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxRadioBox
*result
;
13829 char *kwnames
[] = {
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13835 if (!wxPyCheckForApp()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (wxRadioBox
*)new wxRadioBox();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13849 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13852 wxWindow
*arg2
= (wxWindow
*) 0 ;
13853 int arg3
= (int) -1 ;
13854 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13856 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13857 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13858 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13859 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13860 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13861 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13862 int arg8
= (int) 0 ;
13863 long arg9
= (long) wxRA_HORIZONTAL
;
13864 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13865 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13866 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13867 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13869 bool temp4
= false ;
13872 bool temp7
= false ;
13873 bool temp11
= false ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 PyObject
* obj2
= 0 ;
13877 PyObject
* obj3
= 0 ;
13878 PyObject
* obj4
= 0 ;
13879 PyObject
* obj5
= 0 ;
13880 PyObject
* obj6
= 0 ;
13881 PyObject
* obj7
= 0 ;
13882 PyObject
* obj8
= 0 ;
13883 PyObject
* obj9
= 0 ;
13884 PyObject
* obj10
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13893 if (SWIG_arg_fail(2)) SWIG_fail
;
13896 arg3
= (int)(SWIG_As_int(obj2
));
13897 if (SWIG_arg_fail(3)) SWIG_fail
;
13902 arg4
= wxString_in_helper(obj3
);
13903 if (arg4
== NULL
) SWIG_fail
;
13910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13921 if (! PySequence_Check(obj6
)) {
13922 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13925 arg7
= new wxArrayString
;
13927 int i
, len
=PySequence_Length(obj6
);
13928 for (i
=0; i
<len
; i
++) {
13929 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13931 PyObject
* str
= PyObject_Unicode(item
);
13933 PyObject
* str
= PyObject_Str(item
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13936 arg7
->Add(Py2wxString(str
));
13944 arg8
= (int)(SWIG_As_int(obj7
));
13945 if (SWIG_arg_fail(8)) SWIG_fail
;
13950 arg9
= (long)(SWIG_As_long(obj8
));
13951 if (SWIG_arg_fail(9)) SWIG_fail
;
13956 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(10)) SWIG_fail
;
13958 if (arg10
== NULL
) {
13959 SWIG_null_ref("wxValidator");
13961 if (SWIG_arg_fail(10)) SWIG_fail
;
13966 arg11
= wxString_in_helper(obj10
);
13967 if (arg11
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 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
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 if (temp7
) delete arg7
;
13999 if (temp7
) delete arg7
;
14009 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "n", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail
;
14023 arg2
= (int)(SWIG_As_int(obj1
));
14024 if (SWIG_arg_fail(2)) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->SetSelection(arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_From_int((int)(result
));
14068 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14100 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14103 wxString
*arg2
= 0 ;
14105 bool temp2
= false ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "s", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 arg2
= wxString_in_helper(obj1
);
14117 if (arg2
== NULL
) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14144 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_From_int((int)(result
));
14172 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14175 wxString
*arg2
= 0 ;
14177 bool temp2
= false ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "s", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail
;
14188 arg2
= wxString_in_helper(obj1
);
14189 if (arg2
== NULL
) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_From_int((int)(result
));
14216 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "n", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 arg2
= (int)(SWIG_As_int(obj1
));
14232 if (SWIG_arg_fail(2)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14254 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14258 wxString
*arg3
= 0 ;
14259 bool temp3
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 PyObject
* obj2
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "n",(char *) "label", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14269 if (SWIG_arg_fail(1)) SWIG_fail
;
14271 arg2
= (int)(SWIG_As_int(obj1
));
14272 if (SWIG_arg_fail(2)) SWIG_fail
;
14275 arg3
= wxString_in_helper(obj2
);
14276 if (arg3
== NULL
) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14305 bool arg3
= (bool) true ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self",(char *) "n",(char *) "enable", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail
;
14317 arg2
= (int)(SWIG_As_int(obj1
));
14318 if (SWIG_arg_fail(2)) SWIG_fail
;
14322 arg3
= (bool)(SWIG_As_bool(obj2
));
14323 if (SWIG_arg_fail(3)) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 (arg1
)->Enable(arg2
,arg3
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14344 bool arg3
= (bool) true ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 PyObject
* obj2
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "n",(char *) "show", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail
;
14356 arg2
= (int)(SWIG_As_int(obj1
));
14357 if (SWIG_arg_fail(2)) SWIG_fail
;
14361 arg3
= (bool)(SWIG_As_bool(obj2
));
14362 if (SWIG_arg_fail(3)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->Show(arg2
,arg3
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int((int)(result
));
14407 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_From_int((int)(result
));
14435 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 PyObject
* obj3
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail
;
14454 arg2
= (int)(SWIG_As_int(obj1
));
14455 if (SWIG_arg_fail(2)) SWIG_fail
;
14458 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14459 if (SWIG_arg_fail(3)) SWIG_fail
;
14462 arg4
= (long)(SWIG_As_long(obj3
));
14463 if (SWIG_arg_fail(4)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_From_int((int)(result
));
14481 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14484 wxVisualAttributes result
;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "variant", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14493 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14498 if (!wxPyCheckForApp()) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 wxVisualAttributes
* resultptr
;
14507 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14516 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14519 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14521 return Py_BuildValue((char *)"");
14523 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxWindow
*arg1
= (wxWindow
*) 0 ;
14526 int arg2
= (int) -1 ;
14527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14533 long arg6
= (long) 0 ;
14534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14536 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14538 wxRadioButton
*result
;
14539 bool temp3
= false ;
14542 bool temp8
= false ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 PyObject
* obj2
= 0 ;
14546 PyObject
* obj3
= 0 ;
14547 PyObject
* obj4
= 0 ;
14548 PyObject
* obj5
= 0 ;
14549 PyObject
* obj6
= 0 ;
14550 PyObject
* obj7
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14560 arg2
= (int)(SWIG_As_int(obj1
));
14561 if (SWIG_arg_fail(2)) SWIG_fail
;
14566 arg3
= wxString_in_helper(obj2
);
14567 if (arg3
== NULL
) SWIG_fail
;
14574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14585 arg6
= (long)(SWIG_As_long(obj5
));
14586 if (SWIG_arg_fail(6)) SWIG_fail
;
14591 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14592 if (SWIG_arg_fail(7)) SWIG_fail
;
14593 if (arg7
== NULL
) {
14594 SWIG_null_ref("wxValidator");
14596 if (SWIG_arg_fail(7)) SWIG_fail
;
14601 arg8
= wxString_in_helper(obj7
);
14602 if (arg8
== NULL
) SWIG_fail
;
14607 if (!wxPyCheckForApp()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14637 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxRadioButton
*result
;
14640 char *kwnames
[] = {
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14646 if (!wxPyCheckForApp()) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (wxRadioButton
*)new wxRadioButton();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14660 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14663 wxWindow
*arg2
= (wxWindow
*) 0 ;
14664 int arg3
= (int) -1 ;
14665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14667 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14668 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14669 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14670 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14671 long arg7
= (long) 0 ;
14672 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14673 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14674 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14675 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14677 bool temp4
= false ;
14680 bool temp9
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 PyObject
* obj4
= 0 ;
14686 PyObject
* obj5
= 0 ;
14687 PyObject
* obj6
= 0 ;
14688 PyObject
* obj7
= 0 ;
14689 PyObject
* obj8
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail
;
14697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(2)) SWIG_fail
;
14701 arg3
= (int)(SWIG_As_int(obj2
));
14702 if (SWIG_arg_fail(3)) SWIG_fail
;
14707 arg4
= wxString_in_helper(obj3
);
14708 if (arg4
== NULL
) SWIG_fail
;
14715 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14721 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14726 arg7
= (long)(SWIG_As_long(obj6
));
14727 if (SWIG_arg_fail(7)) SWIG_fail
;
14732 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14733 if (SWIG_arg_fail(8)) SWIG_fail
;
14734 if (arg8
== NULL
) {
14735 SWIG_null_ref("wxValidator");
14737 if (SWIG_arg_fail(8)) SWIG_fail
;
14742 arg9
= wxString_in_helper(obj8
);
14743 if (arg9
== NULL
) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14779 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (bool)(arg1
)->GetValue();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "value", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 arg2
= (bool)(SWIG_As_bool(obj1
));
14822 if (SWIG_arg_fail(2)) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetValue(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14841 wxVisualAttributes result
;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "variant", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14850 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14851 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 if (!wxPyCheckForApp()) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14863 wxVisualAttributes
* resultptr
;
14864 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14873 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14876 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14878 return Py_BuildValue((char *)"");
14880 static int _wrap_SliderNameStr_set(PyObject
*) {
14881 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14886 static PyObject
*_wrap_SliderNameStr_get(void) {
14891 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14893 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14900 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxWindow
*arg1
= (wxWindow
*) 0 ;
14903 int arg2
= (int) -1 ;
14904 int arg3
= (int) 0 ;
14905 int arg4
= (int) 0 ;
14906 int arg5
= (int) 100 ;
14907 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14908 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14909 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14910 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14911 long arg8
= (long) wxSL_HORIZONTAL
;
14912 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14913 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14914 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14915 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14919 bool temp10
= false ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 PyObject
* obj2
= 0 ;
14923 PyObject
* obj3
= 0 ;
14924 PyObject
* obj4
= 0 ;
14925 PyObject
* obj5
= 0 ;
14926 PyObject
* obj6
= 0 ;
14927 PyObject
* obj7
= 0 ;
14928 PyObject
* obj8
= 0 ;
14929 PyObject
* obj9
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 arg2
= (int)(SWIG_As_int(obj1
));
14940 if (SWIG_arg_fail(2)) SWIG_fail
;
14945 arg3
= (int)(SWIG_As_int(obj2
));
14946 if (SWIG_arg_fail(3)) SWIG_fail
;
14951 arg4
= (int)(SWIG_As_int(obj3
));
14952 if (SWIG_arg_fail(4)) SWIG_fail
;
14957 arg5
= (int)(SWIG_As_int(obj4
));
14958 if (SWIG_arg_fail(5)) SWIG_fail
;
14964 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14970 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14975 arg8
= (long)(SWIG_As_long(obj7
));
14976 if (SWIG_arg_fail(8)) SWIG_fail
;
14981 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14982 if (SWIG_arg_fail(9)) SWIG_fail
;
14983 if (arg9
== NULL
) {
14984 SWIG_null_ref("wxValidator");
14986 if (SWIG_arg_fail(9)) SWIG_fail
;
14991 arg10
= wxString_in_helper(obj9
);
14992 if (arg10
== NULL
) SWIG_fail
;
14997 if (!wxPyCheckForApp()) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15019 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15022 char *kwnames
[] = {
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15028 if (!wxPyCheckForApp()) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (wxSlider
*)new wxSlider();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15042 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxSlider
*arg1
= (wxSlider
*) 0 ;
15045 wxWindow
*arg2
= (wxWindow
*) 0 ;
15046 int arg3
= (int) -1 ;
15047 int arg4
= (int) 0 ;
15048 int arg5
= (int) 0 ;
15049 int arg6
= (int) 100 ;
15050 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15051 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15052 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15053 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15054 long arg9
= (long) wxSL_HORIZONTAL
;
15055 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15056 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15057 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15058 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15062 bool temp11
= false ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 PyObject
* obj3
= 0 ;
15067 PyObject
* obj4
= 0 ;
15068 PyObject
* obj5
= 0 ;
15069 PyObject
* obj6
= 0 ;
15070 PyObject
* obj7
= 0 ;
15071 PyObject
* obj8
= 0 ;
15072 PyObject
* obj9
= 0 ;
15073 PyObject
* obj10
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(2)) SWIG_fail
;
15085 arg3
= (int)(SWIG_As_int(obj2
));
15086 if (SWIG_arg_fail(3)) SWIG_fail
;
15091 arg4
= (int)(SWIG_As_int(obj3
));
15092 if (SWIG_arg_fail(4)) SWIG_fail
;
15097 arg5
= (int)(SWIG_As_int(obj4
));
15098 if (SWIG_arg_fail(5)) SWIG_fail
;
15103 arg6
= (int)(SWIG_As_int(obj5
));
15104 if (SWIG_arg_fail(6)) SWIG_fail
;
15110 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15116 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15121 arg9
= (long)(SWIG_As_long(obj8
));
15122 if (SWIG_arg_fail(9)) SWIG_fail
;
15127 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(10)) SWIG_fail
;
15129 if (arg10
== NULL
) {
15130 SWIG_null_ref("wxValidator");
15132 if (SWIG_arg_fail(10)) SWIG_fail
;
15137 arg11
= wxString_in_helper(obj10
);
15138 if (arg11
== NULL
) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15166 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxSlider
*arg1
= (wxSlider
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15177 if (SWIG_arg_fail(1)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_From_int((int)(result
));
15194 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxSlider
*arg1
= (wxSlider
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "value", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 arg2
= (int)(SWIG_As_int(obj1
));
15209 if (SWIG_arg_fail(2)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetValue(arg2
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxSlider
*arg1
= (wxSlider
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 arg2
= (int)(SWIG_As_int(obj1
));
15242 if (SWIG_arg_fail(2)) SWIG_fail
;
15245 arg3
= (int)(SWIG_As_int(obj2
));
15246 if (SWIG_arg_fail(3)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->SetRange(arg2
,arg3
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxSlider
*arg1
= (wxSlider
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_From_int((int)(result
));
15290 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxSlider
*arg1
= (wxSlider
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_From_int((int)(result
));
15318 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxSlider
*arg1
= (wxSlider
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "minValue", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 arg2
= (int)(SWIG_As_int(obj1
));
15333 if (SWIG_arg_fail(2)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->SetMin(arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxSlider
*arg1
= (wxSlider
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "maxValue", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 arg2
= (int)(SWIG_As_int(obj1
));
15364 if (SWIG_arg_fail(2)) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 (arg1
)->SetMax(arg2
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxSlider
*arg1
= (wxSlider
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "lineSize", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail
;
15394 arg2
= (int)(SWIG_As_int(obj1
));
15395 if (SWIG_arg_fail(2)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->SetLineSize(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxSlider
*arg1
= (wxSlider
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "pageSize", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 arg2
= (int)(SWIG_As_int(obj1
));
15426 if (SWIG_arg_fail(2)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetPageSize(arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxSlider
*arg1
= (wxSlider
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int((int)(result
));
15470 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxSlider
*arg1
= (wxSlider
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_From_int((int)(result
));
15498 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxSlider
*arg1
= (wxSlider
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "lenPixels", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail
;
15512 arg2
= (int)(SWIG_As_int(obj1
));
15513 if (SWIG_arg_fail(2)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->SetThumbLength(arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxSlider
*arg1
= (wxSlider
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15540 if (SWIG_arg_fail(1)) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_From_int((int)(result
));
15557 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxSlider
*arg1
= (wxSlider
*) 0 ;
15561 int arg3
= (int) 1 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "n",(char *) "pos", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail
;
15573 arg2
= (int)(SWIG_As_int(obj1
));
15574 if (SWIG_arg_fail(2)) SWIG_fail
;
15578 arg3
= (int)(SWIG_As_int(obj2
));
15579 if (SWIG_arg_fail(3)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->SetTickFreq(arg2
,arg3
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxSlider
*arg1
= (wxSlider
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15607 if (SWIG_arg_fail(1)) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_From_int((int)(result
));
15624 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxSlider
*arg1
= (wxSlider
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 (arg1
)->ClearTicks();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 Py_INCREF(Py_None
); resultobj
= Py_None
;
15649 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxSlider
*arg1
= (wxSlider
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "tickPos", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 arg2
= (int)(SWIG_As_int(obj1
));
15664 if (SWIG_arg_fail(2)) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 (arg1
)->SetTick(arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15680 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxSlider
*arg1
= (wxSlider
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->ClearSel();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 Py_INCREF(Py_None
); resultobj
= Py_None
;
15705 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxSlider
*arg1
= (wxSlider
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_From_int((int)(result
));
15733 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxSlider
*arg1
= (wxSlider
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_From_int((int)(result
));
15761 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxSlider
*arg1
= (wxSlider
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 PyObject
* obj2
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "self",(char *) "min",(char *) "max", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15775 if (SWIG_arg_fail(1)) SWIG_fail
;
15777 arg2
= (int)(SWIG_As_int(obj1
));
15778 if (SWIG_arg_fail(2)) SWIG_fail
;
15781 arg3
= (int)(SWIG_As_int(obj2
));
15782 if (SWIG_arg_fail(3)) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 (arg1
)->SetSelection(arg2
,arg3
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15801 wxVisualAttributes result
;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "variant", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15810 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15811 if (SWIG_arg_fail(1)) SWIG_fail
;
15815 if (!wxPyCheckForApp()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 wxVisualAttributes
* resultptr
;
15824 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15833 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15836 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15838 return Py_BuildValue((char *)"");
15840 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15846 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15851 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15853 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15860 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxWindow
*arg1
= (wxWindow
*) 0 ;
15863 int arg2
= (int) -1 ;
15864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15870 long arg6
= (long) 0 ;
15871 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15872 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15873 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15874 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15875 wxToggleButton
*result
;
15876 bool temp3
= false ;
15879 bool temp8
= false ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 PyObject
* obj2
= 0 ;
15883 PyObject
* obj3
= 0 ;
15884 PyObject
* obj4
= 0 ;
15885 PyObject
* obj5
= 0 ;
15886 PyObject
* obj6
= 0 ;
15887 PyObject
* obj7
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15894 if (SWIG_arg_fail(1)) SWIG_fail
;
15897 arg2
= (int)(SWIG_As_int(obj1
));
15898 if (SWIG_arg_fail(2)) SWIG_fail
;
15903 arg3
= wxString_in_helper(obj2
);
15904 if (arg3
== NULL
) SWIG_fail
;
15911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15922 arg6
= (long)(SWIG_As_long(obj5
));
15923 if (SWIG_arg_fail(6)) SWIG_fail
;
15928 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15929 if (SWIG_arg_fail(7)) SWIG_fail
;
15930 if (arg7
== NULL
) {
15931 SWIG_null_ref("wxValidator");
15933 if (SWIG_arg_fail(7)) SWIG_fail
;
15938 arg8
= wxString_in_helper(obj7
);
15939 if (arg8
== NULL
) SWIG_fail
;
15944 if (!wxPyCheckForApp()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15974 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxToggleButton
*result
;
15977 char *kwnames
[] = {
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15983 if (!wxPyCheckForApp()) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (wxToggleButton
*)new wxToggleButton();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15997 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16000 wxWindow
*arg2
= (wxWindow
*) 0 ;
16001 int arg3
= (int) -1 ;
16002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16008 long arg7
= (long) 0 ;
16009 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16010 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16011 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16012 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16014 bool temp4
= false ;
16017 bool temp9
= false ;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 PyObject
* obj2
= 0 ;
16021 PyObject
* obj3
= 0 ;
16022 PyObject
* obj4
= 0 ;
16023 PyObject
* obj5
= 0 ;
16024 PyObject
* obj6
= 0 ;
16025 PyObject
* obj7
= 0 ;
16026 PyObject
* obj8
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16033 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16035 if (SWIG_arg_fail(2)) SWIG_fail
;
16038 arg3
= (int)(SWIG_As_int(obj2
));
16039 if (SWIG_arg_fail(3)) SWIG_fail
;
16044 arg4
= wxString_in_helper(obj3
);
16045 if (arg4
== NULL
) SWIG_fail
;
16052 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16058 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16063 arg7
= (long)(SWIG_As_long(obj6
));
16064 if (SWIG_arg_fail(7)) SWIG_fail
;
16069 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(8)) SWIG_fail
;
16071 if (arg8
== NULL
) {
16072 SWIG_null_ref("wxValidator");
16074 if (SWIG_arg_fail(8)) SWIG_fail
;
16079 arg9
= wxString_in_helper(obj8
);
16080 if (arg9
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "value", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= (bool)(SWIG_As_bool(obj1
));
16131 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 (arg1
)->SetValue(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16175 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16178 wxString
*arg2
= 0 ;
16179 bool temp2
= false ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "label", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 arg2
= wxString_in_helper(obj1
);
16191 if (arg2
== NULL
) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 (arg1
)->SetLabel((wxString
const &)*arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16219 wxVisualAttributes result
;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "variant", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16228 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16229 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 if (!wxPyCheckForApp()) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 wxVisualAttributes
* resultptr
;
16242 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16251 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16254 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16256 return Py_BuildValue((char *)"");
16258 static int _wrap_NotebookNameStr_set(PyObject
*) {
16259 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16264 static PyObject
*_wrap_NotebookNameStr_get(void) {
16269 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16271 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16278 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16306 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self",(char *) "n", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16322 if (SWIG_arg_fail(2)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= wxPyMake_wxObject(result
, 0);
16340 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= wxPyMake_wxObject(result
, 0);
16368 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_From_int((int)(result
));
16396 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16400 wxString
*arg3
= 0 ;
16402 bool temp3
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "n",(char *) "strText", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16415 if (SWIG_arg_fail(2)) SWIG_fail
;
16418 arg3
= wxString_in_helper(obj2
);
16419 if (arg3
== NULL
) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16446 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "n", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16462 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16484 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16487 wxImageList
*arg2
= (wxImageList
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "imageList", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail
;
16497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(2)) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->SetImageList(arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 Py_INCREF(Py_None
); resultobj
= Py_None
;
16513 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16516 wxImageList
*arg2
= (wxImageList
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "imageList", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16527 if (SWIG_arg_fail(2)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->AssignImageList(arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16545 wxImageList
*result
;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= wxPyMake_wxObject(result
, 0);
16570 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "n", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16583 if (SWIG_arg_fail(1)) SWIG_fail
;
16585 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16586 if (SWIG_arg_fail(2)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_From_int((int)(result
));
16604 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "n",(char *) "imageId", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail
;
16621 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16622 if (SWIG_arg_fail(2)) SWIG_fail
;
16625 arg3
= (int)(SWIG_As_int(obj2
));
16626 if (SWIG_arg_fail(3)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16644 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "size", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "sizePage", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 wxSize
* resultptr
;
16704 resultptr
= new wxSize((wxSize
&)(result
));
16705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16713 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "n", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16728 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16729 if (SWIG_arg_fail(2)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (bool)(arg1
)->DeletePage(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16747 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "n", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16760 if (SWIG_arg_fail(1)) SWIG_fail
;
16762 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16763 if (SWIG_arg_fail(2)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (bool)(arg1
)->RemovePage(arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (bool)(arg1
)->DeleteAllPages();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16809 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16812 wxWindow
*arg2
= (wxWindow
*) 0 ;
16813 wxString
*arg3
= 0 ;
16814 bool arg4
= (bool) false ;
16815 int arg5
= (int) -1 ;
16817 bool temp3
= false ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 PyObject
* obj2
= 0 ;
16821 PyObject
* obj3
= 0 ;
16822 PyObject
* obj4
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16831 if (SWIG_arg_fail(2)) SWIG_fail
;
16833 arg3
= wxString_in_helper(obj2
);
16834 if (arg3
== NULL
) SWIG_fail
;
16839 arg4
= (bool)(SWIG_As_bool(obj3
));
16840 if (SWIG_arg_fail(4)) SWIG_fail
;
16845 arg5
= (int)(SWIG_As_int(obj4
));
16846 if (SWIG_arg_fail(5)) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16877 wxWindow
*arg3
= (wxWindow
*) 0 ;
16878 wxString
*arg4
= 0 ;
16879 bool arg5
= (bool) false ;
16880 int arg6
= (int) -1 ;
16882 bool temp4
= false ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 PyObject
* obj2
= 0 ;
16886 PyObject
* obj3
= 0 ;
16887 PyObject
* obj4
= 0 ;
16888 PyObject
* obj5
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16898 if (SWIG_arg_fail(2)) SWIG_fail
;
16900 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(3)) SWIG_fail
;
16903 arg4
= wxString_in_helper(obj3
);
16904 if (arg4
== NULL
) SWIG_fail
;
16909 arg5
= (bool)(SWIG_As_bool(obj4
));
16910 if (SWIG_arg_fail(5)) SWIG_fail
;
16915 arg6
= (int)(SWIG_As_int(obj5
));
16916 if (SWIG_arg_fail(6)) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16943 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self",(char *) "n", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16959 if (SWIG_arg_fail(2)) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (int)(arg1
)->SetSelection(arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_From_int((int)(result
));
16977 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16980 bool arg2
= (bool) true ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "forward", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail
;
16992 arg2
= (bool)(SWIG_As_bool(obj1
));
16993 if (SWIG_arg_fail(2)) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->AdvanceSelection(arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 Py_INCREF(Py_None
); resultobj
= Py_None
;
17010 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17013 wxVisualAttributes result
;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "variant", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17022 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17023 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 if (!wxPyCheckForApp()) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 wxVisualAttributes
* resultptr
;
17036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17045 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17048 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17050 return Py_BuildValue((char *)"");
17052 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17055 int arg2
= (int) 0 ;
17056 int arg3
= (int) -1 ;
17057 int arg4
= (int) -1 ;
17058 wxBookCtrlBaseEvent
*result
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17070 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17076 arg2
= (int)(SWIG_As_int(obj1
));
17077 if (SWIG_arg_fail(2)) SWIG_fail
;
17082 arg3
= (int)(SWIG_As_int(obj2
));
17083 if (SWIG_arg_fail(3)) SWIG_fail
;
17088 arg4
= (int)(SWIG_As_int(obj3
));
17089 if (SWIG_arg_fail(4)) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17106 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_From_int((int)(result
));
17134 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "nSel", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 arg2
= (int)(SWIG_As_int(obj1
));
17149 if (SWIG_arg_fail(2)) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 (arg1
)->SetSelection(arg2
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 Py_INCREF(Py_None
); resultobj
= Py_None
;
17165 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_From_int((int)(result
));
17193 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "nOldSel", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17207 arg2
= (int)(SWIG_As_int(obj1
));
17208 if (SWIG_arg_fail(2)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 (arg1
)->SetOldSelection(arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17227 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17229 return Py_BuildValue((char *)"");
17231 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxWindow
*arg1
= (wxWindow
*) 0 ;
17234 int arg2
= (int) -1 ;
17235 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17236 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17237 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17238 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17239 long arg5
= (long) 0 ;
17240 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17241 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17242 wxNotebook
*result
;
17245 bool temp6
= false ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 PyObject
* obj4
= 0 ;
17251 PyObject
* obj5
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17261 arg2
= (int)(SWIG_As_int(obj1
));
17262 if (SWIG_arg_fail(2)) SWIG_fail
;
17268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17279 arg5
= (long)(SWIG_As_long(obj4
));
17280 if (SWIG_arg_fail(5)) SWIG_fail
;
17285 arg6
= wxString_in_helper(obj5
);
17286 if (arg6
== NULL
) SWIG_fail
;
17291 if (!wxPyCheckForApp()) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17313 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxNotebook
*result
;
17316 char *kwnames
[] = {
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17322 if (!wxPyCheckForApp()) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxNotebook
*)new wxNotebook();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17336 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17339 wxWindow
*arg2
= (wxWindow
*) 0 ;
17340 int arg3
= (int) -1 ;
17341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17345 long arg6
= (long) 0 ;
17346 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17351 bool temp7
= false ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 PyObject
* obj3
= 0 ;
17356 PyObject
* obj4
= 0 ;
17357 PyObject
* obj5
= 0 ;
17358 PyObject
* obj6
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(2)) SWIG_fail
;
17370 arg3
= (int)(SWIG_As_int(obj2
));
17371 if (SWIG_arg_fail(3)) SWIG_fail
;
17377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17388 arg6
= (long)(SWIG_As_long(obj5
));
17389 if (SWIG_arg_fail(6)) SWIG_fail
;
17394 arg7
= wxString_in_helper(obj6
);
17395 if (arg7
== NULL
) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_From_int((int)(result
));
17451 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "padding", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "sz", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 Py_INCREF(Py_None
); resultobj
= Py_None
;
17515 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17518 wxPoint
*arg2
= 0 ;
17519 long *arg3
= (long *) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "pt", NULL
17530 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_From_int((int)(result
));
17548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17549 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17556 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self",(char *) "sizePage", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17570 if (SWIG_arg_fail(1)) SWIG_fail
;
17573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 wxSize
* resultptr
;
17584 resultptr
= new wxSize((wxSize
&)(result
));
17585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17593 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17604 if (SWIG_arg_fail(1)) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 wxColour
* resultptr
;
17614 resultptr
= new wxColour((wxColour
&)(result
));
17615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17623 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17626 wxVisualAttributes result
;
17627 PyObject
* obj0
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "variant", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17635 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17636 if (SWIG_arg_fail(1)) SWIG_fail
;
17640 if (!wxPyCheckForApp()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 wxVisualAttributes
* resultptr
;
17649 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17658 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17661 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17663 return Py_BuildValue((char *)"");
17665 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17668 int arg2
= (int) 0 ;
17669 int arg3
= (int) -1 ;
17670 int arg4
= (int) -1 ;
17671 wxNotebookEvent
*result
;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 PyObject
* obj2
= 0 ;
17675 PyObject
* obj3
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17683 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 arg2
= (int)(SWIG_As_int(obj1
));
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17695 arg3
= (int)(SWIG_As_int(obj2
));
17696 if (SWIG_arg_fail(3)) SWIG_fail
;
17701 arg4
= (int)(SWIG_As_int(obj3
));
17702 if (SWIG_arg_fail(4)) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17719 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17722 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17724 return Py_BuildValue((char *)"");
17726 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxWindow
*arg1
= (wxWindow
*) 0 ;
17729 int arg2
= (int) -1 ;
17730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17734 long arg5
= (long) 0 ;
17735 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17737 wxListbook
*result
;
17740 bool temp6
= false ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 PyObject
* obj3
= 0 ;
17745 PyObject
* obj4
= 0 ;
17746 PyObject
* obj5
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 arg2
= (int)(SWIG_As_int(obj1
));
17757 if (SWIG_arg_fail(2)) SWIG_fail
;
17763 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17769 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17774 arg5
= (long)(SWIG_As_long(obj4
));
17775 if (SWIG_arg_fail(5)) SWIG_fail
;
17780 arg6
= wxString_in_helper(obj5
);
17781 if (arg6
== NULL
) SWIG_fail
;
17786 if (!wxPyCheckForApp()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17808 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxListbook
*result
;
17811 char *kwnames
[] = {
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17817 if (!wxPyCheckForApp()) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (wxListbook
*)new wxListbook();
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17831 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxListbook
*arg1
= (wxListbook
*) 0 ;
17834 wxWindow
*arg2
= (wxWindow
*) 0 ;
17835 int arg3
= (int) -1 ;
17836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17840 long arg6
= (long) 0 ;
17841 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17846 bool temp7
= false ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 PyObject
* obj3
= 0 ;
17851 PyObject
* obj4
= 0 ;
17852 PyObject
* obj5
= 0 ;
17853 PyObject
* obj6
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17860 if (SWIG_arg_fail(1)) SWIG_fail
;
17861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17862 if (SWIG_arg_fail(2)) SWIG_fail
;
17865 arg3
= (int)(SWIG_As_int(obj2
));
17866 if (SWIG_arg_fail(3)) SWIG_fail
;
17872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17883 arg6
= (long)(SWIG_As_long(obj5
));
17884 if (SWIG_arg_fail(6)) SWIG_fail
;
17889 arg7
= wxString_in_helper(obj6
);
17890 if (arg7
== NULL
) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17918 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxListbook
*arg1
= (wxListbook
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17946 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxListbook
*arg1
= (wxListbook
*) 0 ;
17949 wxListView
*result
;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (wxListView
*)(arg1
)->GetListView();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17972 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17975 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17977 return Py_BuildValue((char *)"");
17979 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17982 int arg2
= (int) 0 ;
17983 int arg3
= (int) -1 ;
17984 int arg4
= (int) -1 ;
17985 wxListbookEvent
*result
;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 PyObject
* obj3
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17997 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 arg2
= (int)(SWIG_As_int(obj1
));
18004 if (SWIG_arg_fail(2)) SWIG_fail
;
18009 arg3
= (int)(SWIG_As_int(obj2
));
18010 if (SWIG_arg_fail(3)) SWIG_fail
;
18015 arg4
= (int)(SWIG_As_int(obj3
));
18016 if (SWIG_arg_fail(4)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18033 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18036 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18038 return Py_BuildValue((char *)"");
18040 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxWindow
*arg1
= (wxWindow
*) 0 ;
18044 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18045 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18046 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18047 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18048 long arg5
= (long) 0 ;
18049 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18051 wxChoicebook
*result
;
18054 bool temp6
= false ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 PyObject
* obj3
= 0 ;
18059 PyObject
* obj4
= 0 ;
18060 PyObject
* obj5
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 arg2
= (int)(SWIG_As_int(obj1
));
18070 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18081 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18086 arg5
= (long)(SWIG_As_long(obj4
));
18087 if (SWIG_arg_fail(5)) SWIG_fail
;
18092 arg6
= wxString_in_helper(obj5
);
18093 if (arg6
== NULL
) SWIG_fail
;
18098 if (!wxPyCheckForApp()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18120 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxChoicebook
*result
;
18123 char *kwnames
[] = {
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18129 if (!wxPyCheckForApp()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (wxChoicebook
*)new wxChoicebook();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18143 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18146 wxWindow
*arg2
= (wxWindow
*) 0 ;
18148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18152 long arg6
= (long) 0 ;
18153 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18158 bool temp7
= false ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 PyObject
* obj2
= 0 ;
18162 PyObject
* obj3
= 0 ;
18163 PyObject
* obj4
= 0 ;
18164 PyObject
* obj5
= 0 ;
18165 PyObject
* obj6
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(2)) SWIG_fail
;
18176 arg3
= (int)(SWIG_As_int(obj2
));
18177 if (SWIG_arg_fail(3)) SWIG_fail
;
18182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18193 arg6
= (long)(SWIG_As_long(obj5
));
18194 if (SWIG_arg_fail(6)) SWIG_fail
;
18199 arg7
= wxString_in_helper(obj6
);
18200 if (arg7
== NULL
) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18228 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18256 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18267 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (bool)(arg1
)->DeleteAllPages();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18284 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18287 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18289 return Py_BuildValue((char *)"");
18291 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18294 int arg2
= (int) 0 ;
18295 int arg3
= (int) -1 ;
18296 int arg4
= (int) -1 ;
18297 wxChoicebookEvent
*result
;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 PyObject
* obj3
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18309 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18315 arg2
= (int)(SWIG_As_int(obj1
));
18316 if (SWIG_arg_fail(2)) SWIG_fail
;
18321 arg3
= (int)(SWIG_As_int(obj2
));
18322 if (SWIG_arg_fail(3)) SWIG_fail
;
18327 arg4
= (int)(SWIG_As_int(obj3
));
18328 if (SWIG_arg_fail(4)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18345 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18348 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18350 return Py_BuildValue((char *)"");
18352 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18355 wxBookCtrlSizer
*result
;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "nb", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18363 if (SWIG_arg_fail(1)) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18378 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->RecalcSizes();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (arg1
)->CalcMin();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 wxSize
* resultptr
;
18424 resultptr
= new wxSize((wxSize
&)(result
));
18425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18433 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18436 wxBookCtrlBase
*result
;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18459 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18462 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18464 return Py_BuildValue((char *)"");
18466 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18469 wxNotebookSizer
*result
;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "nb", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18477 if (SWIG_arg_fail(1)) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18492 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(1)) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->RecalcSizes();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (arg1
)->CalcMin();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 wxSize
* resultptr
;
18538 resultptr
= new wxSize((wxSize
&)(result
));
18539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18547 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18550 wxNotebook
*result
;
18551 PyObject
* obj0
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18558 if (SWIG_arg_fail(1)) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= wxPyMake_wxObject(result
, 0);
18575 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18578 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18580 return Py_BuildValue((char *)"");
18582 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18593 if (SWIG_arg_fail(1)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (int)(arg1
)->GetId();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_int((int)(result
));
18610 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18621 if (SWIG_arg_fail(1)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (wxControl
*)(arg1
)->GetControl();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= wxPyMake_wxObject(result
, 0);
18638 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18641 wxToolBarBase
*result
;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18649 if (SWIG_arg_fail(1)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= wxPyMake_wxObject(result
, 0);
18666 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (int)(arg1
)->IsButton();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_From_int((int)(result
));
18694 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (int)(arg1
)->IsControl();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_From_int((int)(result
));
18722 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (int)(arg1
)->IsSeparator();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_From_int((int)(result
));
18750 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (int)(arg1
)->GetStyle();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_From_int((int)(result
));
18778 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (wxItemKind
)(arg1
)->GetKind();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_From_int((result
));
18804 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (bool)(arg1
)->IsEnabled();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18832 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18843 if (SWIG_arg_fail(1)) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (bool)(arg1
)->IsToggled();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18860 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (bool)(arg1
)->CanBeToggled();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18904 result
= (wxBitmap
*) &_result_ref
;
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18911 wxBitmap
* resultptr
= new wxBitmap(*result
);
18912 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18920 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18931 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18936 result
= (wxBitmap
*) &_result_ref
;
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 wxBitmap
* resultptr
= new wxBitmap(*result
);
18944 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18952 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (arg1
)->GetBitmap();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 wxBitmap
* resultptr
;
18973 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18982 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (arg1
)->GetLabel();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19014 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
19024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19025 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (arg1
)->GetShortHelp();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19046 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
19056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (arg1
)->GetLongHelp();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19078 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "enable", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 arg2
= (bool)(SWIG_As_bool(obj1
));
19094 if (SWIG_arg_fail(2)) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)(arg1
)->Enable(arg2
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19112 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19122 if (SWIG_arg_fail(1)) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "toggle", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19150 if (SWIG_arg_fail(1)) SWIG_fail
;
19152 arg2
= (bool)(SWIG_As_bool(obj1
));
19153 if (SWIG_arg_fail(2)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (bool)(arg1
)->SetToggle(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19171 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19174 wxString
*arg2
= 0 ;
19176 bool temp2
= false ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "help", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail
;
19187 arg2
= wxString_in_helper(obj1
);
19188 if (arg2
== NULL
) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19215 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19218 wxString
*arg2
= 0 ;
19220 bool temp2
= false ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "help", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19229 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 arg2
= wxString_in_helper(obj1
);
19232 if (arg2
== NULL
) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19259 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19262 wxBitmap
*arg2
= 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "bmp", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail
;
19273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19274 if (SWIG_arg_fail(2)) SWIG_fail
;
19275 if (arg2
== NULL
) {
19276 SWIG_null_ref("wxBitmap");
19278 if (SWIG_arg_fail(2)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19297 wxBitmap
*arg2
= 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "bmp", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19309 if (SWIG_arg_fail(2)) SWIG_fail
;
19310 if (arg2
== NULL
) {
19311 SWIG_null_ref("wxBitmap");
19313 if (SWIG_arg_fail(2)) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 Py_INCREF(Py_None
); resultobj
= Py_None
;
19329 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19332 wxString
*arg2
= 0 ;
19333 bool temp2
= false ;
19334 PyObject
* obj0
= 0 ;
19335 PyObject
* obj1
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self",(char *) "label", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19344 arg2
= wxString_in_helper(obj1
);
19345 if (arg2
== NULL
) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetLabel((wxString
const &)*arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19380 if (SWIG_arg_fail(1)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19398 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "tbar", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19409 if (SWIG_arg_fail(2)) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->Attach(arg2
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 Py_INCREF(Py_None
); resultobj
= Py_None
;
19424 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19428 PyObject
* obj0
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= result
;
19450 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19453 PyObject
*arg2
= (PyObject
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "clientData", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19481 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19483 return Py_BuildValue((char *)"");
19485 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19489 wxString
*arg3
= 0 ;
19490 wxBitmap
*arg4
= 0 ;
19491 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19492 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19493 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19494 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19496 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19498 PyObject
*arg9
= (PyObject
*) NULL
;
19499 wxToolBarToolBase
*result
;
19500 bool temp3
= false ;
19501 bool temp7
= false ;
19502 bool temp8
= false ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 PyObject
* obj3
= 0 ;
19507 PyObject
* obj4
= 0 ;
19508 PyObject
* obj5
= 0 ;
19509 PyObject
* obj6
= 0 ;
19510 PyObject
* obj7
= 0 ;
19511 PyObject
* obj8
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19520 arg2
= (int)(SWIG_As_int(obj1
));
19521 if (SWIG_arg_fail(2)) SWIG_fail
;
19524 arg3
= wxString_in_helper(obj2
);
19525 if (arg3
== NULL
) SWIG_fail
;
19529 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19530 if (SWIG_arg_fail(4)) SWIG_fail
;
19531 if (arg4
== NULL
) {
19532 SWIG_null_ref("wxBitmap");
19534 if (SWIG_arg_fail(4)) SWIG_fail
;
19538 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19539 if (SWIG_arg_fail(5)) SWIG_fail
;
19540 if (arg5
== NULL
) {
19541 SWIG_null_ref("wxBitmap");
19543 if (SWIG_arg_fail(5)) SWIG_fail
;
19548 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19549 if (SWIG_arg_fail(6)) SWIG_fail
;
19554 arg7
= wxString_in_helper(obj6
);
19555 if (arg7
== NULL
) SWIG_fail
;
19561 arg8
= wxString_in_helper(obj7
);
19562 if (arg8
== NULL
) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= wxPyMake_wxObject(result
, 0);
19609 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19614 wxString
*arg4
= 0 ;
19615 wxBitmap
*arg5
= 0 ;
19616 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19617 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19618 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19619 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19620 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19621 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19622 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19623 PyObject
*arg10
= (PyObject
*) NULL
;
19624 wxToolBarToolBase
*result
;
19625 bool temp4
= false ;
19626 bool temp8
= false ;
19627 bool temp9
= false ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 PyObject
* obj2
= 0 ;
19631 PyObject
* obj3
= 0 ;
19632 PyObject
* obj4
= 0 ;
19633 PyObject
* obj5
= 0 ;
19634 PyObject
* obj6
= 0 ;
19635 PyObject
* obj7
= 0 ;
19636 PyObject
* obj8
= 0 ;
19637 PyObject
* obj9
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail
;
19646 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19647 if (SWIG_arg_fail(2)) SWIG_fail
;
19650 arg3
= (int)(SWIG_As_int(obj2
));
19651 if (SWIG_arg_fail(3)) SWIG_fail
;
19654 arg4
= wxString_in_helper(obj3
);
19655 if (arg4
== NULL
) SWIG_fail
;
19659 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19660 if (SWIG_arg_fail(5)) SWIG_fail
;
19661 if (arg5
== NULL
) {
19662 SWIG_null_ref("wxBitmap");
19664 if (SWIG_arg_fail(5)) SWIG_fail
;
19668 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19669 if (SWIG_arg_fail(6)) SWIG_fail
;
19670 if (arg6
== NULL
) {
19671 SWIG_null_ref("wxBitmap");
19673 if (SWIG_arg_fail(6)) SWIG_fail
;
19678 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19679 if (SWIG_arg_fail(7)) SWIG_fail
;
19684 arg8
= wxString_in_helper(obj7
);
19685 if (arg8
== NULL
) SWIG_fail
;
19691 arg9
= wxString_in_helper(obj8
);
19692 if (arg9
== NULL
) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 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
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= wxPyMake_wxObject(result
, 0);
19739 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19742 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19743 wxToolBarToolBase
*result
;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "tool", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19752 if (SWIG_arg_fail(1)) SWIG_fail
;
19753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19754 if (SWIG_arg_fail(2)) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= wxPyMake_wxObject(result
, 0);
19771 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19775 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19776 wxToolBarToolBase
*result
;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 PyObject
* obj2
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "pos",(char *) "tool", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19788 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19789 if (SWIG_arg_fail(2)) SWIG_fail
;
19791 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(3)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= wxPyMake_wxObject(result
, 0);
19809 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19812 wxControl
*arg2
= (wxControl
*) 0 ;
19813 wxToolBarToolBase
*result
;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "control", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(2)) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= wxPyMake_wxObject(result
, 0);
19841 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19845 wxControl
*arg3
= (wxControl
*) 0 ;
19846 wxToolBarToolBase
*result
;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 PyObject
* obj2
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self",(char *) "pos",(char *) "control", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19858 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19859 if (SWIG_arg_fail(2)) SWIG_fail
;
19861 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19862 if (SWIG_arg_fail(3)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= wxPyMake_wxObject(result
, 0);
19879 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "id", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19892 if (SWIG_arg_fail(1)) SWIG_fail
;
19894 arg2
= (int)(SWIG_As_int(obj1
));
19895 if (SWIG_arg_fail(2)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= wxPyMake_wxObject(result
, 0);
19913 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19916 wxToolBarToolBase
*result
;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= wxPyMake_wxObject(result
, 0);
19941 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19945 wxToolBarToolBase
*result
;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "pos", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail
;
19956 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19957 if (SWIG_arg_fail(2)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= wxPyMake_wxObject(result
, 0);
19975 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19979 wxToolBarToolBase
*result
;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "id", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= wxPyMake_wxObject(result
, 0);
20009 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "pos", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
20025 if (SWIG_arg_fail(2)) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20043 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "id", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 arg2
= (int)(SWIG_As_int(obj1
));
20059 if (SWIG_arg_fail(2)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (bool)(arg1
)->DeleteTool(arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20077 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
20086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20087 if (SWIG_arg_fail(1)) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 (arg1
)->ClearTools();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 Py_INCREF(Py_None
); resultobj
= Py_None
;
20102 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (bool)(arg1
)->Realize();
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20130 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 PyObject
* obj2
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "id",(char *) "enable", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20144 if (SWIG_arg_fail(1)) SWIG_fail
;
20146 arg2
= (int)(SWIG_As_int(obj1
));
20147 if (SWIG_arg_fail(2)) SWIG_fail
;
20150 arg3
= (bool)(SWIG_As_bool(obj2
));
20151 if (SWIG_arg_fail(3)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 (arg1
)->EnableTool(arg2
,arg3
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 Py_INCREF(Py_None
); resultobj
= Py_None
;
20167 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 PyObject
* obj2
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "id",(char *) "toggle", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 arg2
= (int)(SWIG_As_int(obj1
));
20184 if (SWIG_arg_fail(2)) SWIG_fail
;
20187 arg3
= (bool)(SWIG_As_bool(obj2
));
20188 if (SWIG_arg_fail(3)) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->ToggleTool(arg2
,arg3
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "id",(char *) "toggle", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 arg2
= (int)(SWIG_As_int(obj1
));
20221 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 arg3
= (bool)(SWIG_As_bool(obj2
));
20225 if (SWIG_arg_fail(3)) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->SetToggle(arg2
,arg3
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20241 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "id", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 arg2
= (int)(SWIG_As_int(obj1
));
20257 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
;
20273 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20277 PyObject
*arg3
= (PyObject
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "id",(char *) "clientData", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20287 if (SWIG_arg_fail(1)) SWIG_fail
;
20289 arg2
= (int)(SWIG_As_int(obj1
));
20290 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 Py_INCREF(Py_None
); resultobj
= Py_None
;
20307 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "id", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20320 if (SWIG_arg_fail(1)) SWIG_fail
;
20322 arg2
= (int)(SWIG_As_int(obj1
));
20323 if (SWIG_arg_fail(2)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_From_int((int)(result
));
20341 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "id", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20354 if (SWIG_arg_fail(1)) SWIG_fail
;
20356 arg2
= (int)(SWIG_As_int(obj1
));
20357 if (SWIG_arg_fail(2)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)(arg1
)->GetToolState(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self",(char *) "id", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20388 if (SWIG_arg_fail(1)) SWIG_fail
;
20390 arg2
= (int)(SWIG_As_int(obj1
));
20391 if (SWIG_arg_fail(2)) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20409 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20413 wxString
*arg3
= 0 ;
20414 bool temp3
= false ;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 PyObject
* obj2
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "id",(char *) "helpString", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 arg2
= (int)(SWIG_As_int(obj1
));
20427 if (SWIG_arg_fail(2)) SWIG_fail
;
20430 arg3
= wxString_in_helper(obj2
);
20431 if (arg3
== NULL
) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self",(char *) "id", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20469 if (SWIG_arg_fail(1)) SWIG_fail
;
20471 arg2
= (int)(SWIG_As_int(obj1
));
20472 if (SWIG_arg_fail(2)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (arg1
)->GetToolShortHelp(arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20494 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20498 wxString
*arg3
= 0 ;
20499 bool temp3
= false ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "id",(char *) "helpString", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (int)(SWIG_As_int(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20515 arg3
= wxString_in_helper(obj2
);
20516 if (arg3
== NULL
) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "id", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 arg2
= (int)(SWIG_As_int(obj1
));
20557 if (SWIG_arg_fail(2)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (arg1
)->GetToolLongHelp(arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20579 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 PyObject
* obj2
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "x",(char *) "y", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20595 arg2
= (int)(SWIG_As_int(obj1
));
20596 if (SWIG_arg_fail(2)) SWIG_fail
;
20599 arg3
= (int)(SWIG_As_int(obj2
));
20600 if (SWIG_arg_fail(3)) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetMargins(arg2
,arg3
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 Py_INCREF(Py_None
); resultobj
= Py_None
;
20616 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self",(char *) "size", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 Py_INCREF(Py_None
); resultobj
= Py_None
;
20648 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self",(char *) "packing", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20660 if (SWIG_arg_fail(1)) SWIG_fail
;
20662 arg2
= (int)(SWIG_As_int(obj1
));
20663 if (SWIG_arg_fail(2)) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetToolPacking(arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20672 Py_INCREF(Py_None
); resultobj
= Py_None
;
20679 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self",(char *) "separation", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 arg2
= (int)(SWIG_As_int(obj1
));
20694 if (SWIG_arg_fail(2)) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 (arg1
)->SetToolSeparation(arg2
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 Py_INCREF(Py_None
); resultobj
= Py_None
;
20710 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20721 if (SWIG_arg_fail(1)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (arg1
)->GetToolMargins();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 wxSize
* resultptr
;
20731 resultptr
= new wxSize((wxSize
&)(result
));
20732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20740 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (arg1
)->GetMargins();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20760 wxSize
* resultptr
;
20761 resultptr
= new wxSize((wxSize
&)(result
));
20762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20770 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (int)(arg1
)->GetToolPacking();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_From_int((int)(result
));
20798 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (int)(arg1
)->GetToolSeparation();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_From_int((int)(result
));
20826 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 PyObject
* obj1
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self",(char *) "nRows", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20838 if (SWIG_arg_fail(1)) SWIG_fail
;
20840 arg2
= (int)(SWIG_As_int(obj1
));
20841 if (SWIG_arg_fail(2)) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->SetRows(arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 PyObject
* obj2
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "rows",(char *) "cols", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail
;
20873 arg2
= (int)(SWIG_As_int(obj1
));
20874 if (SWIG_arg_fail(2)) SWIG_fail
;
20877 arg3
= (int)(SWIG_As_int(obj2
));
20878 if (SWIG_arg_fail(3)) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)(arg1
)->GetMaxRows();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_From_int((int)(result
));
20922 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (int)(arg1
)->GetMaxCols();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_From_int((int)(result
));
20950 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 PyObject
* obj1
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self",(char *) "size", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 Py_INCREF(Py_None
); resultobj
= Py_None
;
20982 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (arg1
)->GetToolBitmapSize();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 wxSize
* resultptr
;
21003 resultptr
= new wxSize((wxSize
&)(result
));
21004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21012 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
21022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (arg1
)->GetToolSize();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 wxSize
* resultptr
;
21033 resultptr
= new wxSize((wxSize
&)(result
));
21034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21042 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21047 wxToolBarToolBase
*result
;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 PyObject
* obj2
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self",(char *) "x",(char *) "y", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21057 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 arg2
= (int)(SWIG_As_int(obj1
));
21060 if (SWIG_arg_fail(2)) SWIG_fail
;
21063 arg3
= (int)(SWIG_As_int(obj2
));
21064 if (SWIG_arg_fail(3)) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= wxPyMake_wxObject(result
, 0);
21082 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21086 wxToolBarToolBase
*result
;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self",(char *) "toolid", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
21094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 arg2
= (int)(SWIG_As_int(obj1
));
21098 if (SWIG_arg_fail(2)) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= wxPyMake_wxObject(result
, 0);
21116 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21127 if (SWIG_arg_fail(1)) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (bool)(arg1
)->IsVertical();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21144 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21147 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21149 return Py_BuildValue((char *)"");
21151 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxWindow
*arg1
= (wxWindow
*) 0 ;
21154 int arg2
= (int) -1 ;
21155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21159 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21160 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21161 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21165 bool temp6
= false ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 PyObject
* obj2
= 0 ;
21169 PyObject
* obj3
= 0 ;
21170 PyObject
* obj4
= 0 ;
21171 PyObject
* obj5
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21178 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 arg2
= (int)(SWIG_As_int(obj1
));
21182 if (SWIG_arg_fail(2)) SWIG_fail
;
21188 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21194 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21199 arg5
= (long)(SWIG_As_long(obj4
));
21200 if (SWIG_arg_fail(5)) SWIG_fail
;
21205 arg6
= wxString_in_helper(obj5
);
21206 if (arg6
== NULL
) SWIG_fail
;
21211 if (!wxPyCheckForApp()) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21233 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21236 char *kwnames
[] = {
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21242 if (!wxPyCheckForApp()) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (wxToolBar
*)new wxToolBar();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21256 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21259 wxWindow
*arg2
= (wxWindow
*) 0 ;
21260 int arg3
= (int) -1 ;
21261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21265 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21266 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21267 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21271 bool temp7
= false ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 PyObject
* obj2
= 0 ;
21275 PyObject
* obj3
= 0 ;
21276 PyObject
* obj4
= 0 ;
21277 PyObject
* obj5
= 0 ;
21278 PyObject
* obj6
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21287 if (SWIG_arg_fail(2)) SWIG_fail
;
21290 arg3
= (int)(SWIG_As_int(obj2
));
21291 if (SWIG_arg_fail(3)) SWIG_fail
;
21297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21308 arg6
= (long)(SWIG_As_long(obj5
));
21309 if (SWIG_arg_fail(6)) SWIG_fail
;
21314 arg7
= wxString_in_helper(obj6
);
21315 if (arg7
== NULL
) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21343 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21348 wxToolBarToolBase
*result
;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 PyObject
* obj2
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self",(char *) "x",(char *) "y", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21358 if (SWIG_arg_fail(1)) SWIG_fail
;
21360 arg2
= (int)(SWIG_As_int(obj1
));
21361 if (SWIG_arg_fail(2)) SWIG_fail
;
21364 arg3
= (int)(SWIG_As_int(obj2
));
21365 if (SWIG_arg_fail(3)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= wxPyMake_wxObject(result
, 0);
21383 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21386 wxVisualAttributes result
;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "variant", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21395 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21396 if (SWIG_arg_fail(1)) SWIG_fail
;
21400 if (!wxPyCheckForApp()) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 wxVisualAttributes
* resultptr
;
21409 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21418 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21421 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21423 return Py_BuildValue((char *)"");
21425 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21426 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21431 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21436 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21438 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21445 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxColour
const &arg1_defvalue
= wxNullColour
;
21448 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21449 wxColour
const &arg2_defvalue
= wxNullColour
;
21450 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21451 wxFont
const &arg3_defvalue
= wxNullFont
;
21452 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21453 wxListItemAttr
*result
;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21467 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21478 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21479 if (SWIG_arg_fail(3)) SWIG_fail
;
21480 if (arg3
== NULL
) {
21481 SWIG_null_ref("wxFont");
21483 if (SWIG_arg_fail(3)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21500 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21503 wxColour
*arg2
= 0 ;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "colText", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail
;
21516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21535 wxColour
*arg2
= 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "colBack", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "font", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21579 if (SWIG_arg_fail(2)) SWIG_fail
;
21580 if (arg2
== NULL
) {
21581 SWIG_null_ref("wxFont");
21583 if (SWIG_arg_fail(2)) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 (arg1
)->SetFont((wxFont
const &)*arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (bool)(arg1
)->HasTextColour();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (bool)(arg1
)->HasBackgroundColour();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21655 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21659 PyObject
* obj0
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21666 if (SWIG_arg_fail(1)) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (bool)(arg1
)->HasFont();
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21683 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (arg1
)->GetTextColour();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 wxColour
* resultptr
;
21704 resultptr
= new wxColour((wxColour
&)(result
));
21705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21713 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (arg1
)->GetBackgroundColour();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 wxColour
* resultptr
;
21734 resultptr
= new wxColour((wxColour
&)(result
));
21735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21743 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21754 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (arg1
)->GetFont();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 wxFont
* resultptr
;
21764 resultptr
= new wxFont((wxFont
&)(result
));
21765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21773 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 wxListItemAttr_Destroy(arg1
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21801 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21803 return Py_BuildValue((char *)"");
21805 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxListItem
*result
;
21808 char *kwnames
[] = {
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (wxListItem
*)new wxListItem();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= wxPyMake_wxObject(result
, 1);
21829 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxListItem
*arg1
= (wxListItem
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxListItem
*arg1
= (wxListItem
*) 0 ;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 Py_INCREF(Py_None
); resultobj
= Py_None
;
21879 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxListItem
*arg1
= (wxListItem
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->ClearAttributes();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxListItem
*arg1
= (wxListItem
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "mask", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21916 if (SWIG_arg_fail(1)) SWIG_fail
;
21918 arg2
= (long)(SWIG_As_long(obj1
));
21919 if (SWIG_arg_fail(2)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->SetMask(arg2
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 Py_INCREF(Py_None
); resultobj
= Py_None
;
21935 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxListItem
*arg1
= (wxListItem
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "id", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 arg2
= (long)(SWIG_As_long(obj1
));
21950 if (SWIG_arg_fail(2)) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->SetId(arg2
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxListItem
*arg1
= (wxListItem
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "col", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21978 if (SWIG_arg_fail(1)) SWIG_fail
;
21980 arg2
= (int)(SWIG_As_int(obj1
));
21981 if (SWIG_arg_fail(2)) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 (arg1
)->SetColumn(arg2
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxListItem
*arg1
= (wxListItem
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "state", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22009 if (SWIG_arg_fail(1)) SWIG_fail
;
22011 arg2
= (long)(SWIG_As_long(obj1
));
22012 if (SWIG_arg_fail(2)) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 (arg1
)->SetState(arg2
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 Py_INCREF(Py_None
); resultobj
= Py_None
;
22028 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxListItem
*arg1
= (wxListItem
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "stateMask", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 arg2
= (long)(SWIG_As_long(obj1
));
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->SetStateMask(arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22059 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxListItem
*arg1
= (wxListItem
*) 0 ;
22062 wxString
*arg2
= 0 ;
22063 bool temp2
= false ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "text", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22072 if (SWIG_arg_fail(1)) SWIG_fail
;
22074 arg2
= wxString_in_helper(obj1
);
22075 if (arg2
== NULL
) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 (arg1
)->SetText((wxString
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22100 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxListItem
*arg1
= (wxListItem
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "image", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 arg2
= (int)(SWIG_As_int(obj1
));
22115 if (SWIG_arg_fail(2)) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 (arg1
)->SetImage(arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 Py_INCREF(Py_None
); resultobj
= Py_None
;
22131 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxListItem
*arg1
= (wxListItem
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "data", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 arg2
= (long)(SWIG_As_long(obj1
));
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 (arg1
)->SetData(arg2
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 Py_INCREF(Py_None
); resultobj
= Py_None
;
22162 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxListItem
*arg1
= (wxListItem
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "width", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22174 if (SWIG_arg_fail(1)) SWIG_fail
;
22176 arg2
= (int)(SWIG_As_int(obj1
));
22177 if (SWIG_arg_fail(2)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetWidth(arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxListItem
*arg1
= (wxListItem
*) 0 ;
22196 wxListColumnFormat arg2
;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self",(char *) "align", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail
;
22207 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22208 if (SWIG_arg_fail(2)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22224 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxListItem
*arg1
= (wxListItem
*) 0 ;
22227 wxColour
*arg2
= 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "colText", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxListItem
*arg1
= (wxListItem
*) 0 ;
22259 wxColour
*arg2
= 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self",(char *) "colBack", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail
;
22272 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 Py_INCREF(Py_None
); resultobj
= Py_None
;
22288 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxListItem
*arg1
= (wxListItem
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "font", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail
;
22302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22303 if (SWIG_arg_fail(2)) SWIG_fail
;
22304 if (arg2
== NULL
) {
22305 SWIG_null_ref("wxFont");
22307 if (SWIG_arg_fail(2)) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 (arg1
)->SetFont((wxFont
const &)*arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 Py_INCREF(Py_None
); resultobj
= Py_None
;
22323 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxListItem
*arg1
= (wxListItem
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (long)(arg1
)->GetMask();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_From_long((long)(result
));
22351 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxListItem
*arg1
= (wxListItem
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (long)(arg1
)->GetId();
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_From_long((long)(result
));
22379 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxListItem
*arg1
= (wxListItem
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (int)(arg1
)->GetColumn();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_From_int((int)(result
));
22407 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxListItem
*arg1
= (wxListItem
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (long)(arg1
)->GetState();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_long((long)(result
));
22435 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxListItem
*arg1
= (wxListItem
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 wxString
const &_result_ref
= (arg1
)->GetText();
22451 result
= (wxString
*) &_result_ref
;
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22470 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxListItem
*arg1
= (wxListItem
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22481 if (SWIG_arg_fail(1)) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= (int)(arg1
)->GetImage();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_From_int((int)(result
));
22498 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxListItem
*arg1
= (wxListItem
*) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22509 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (long)(arg1
)->GetData();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_From_long((long)(result
));
22526 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxListItem
*arg1
= (wxListItem
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(1)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (int)(arg1
)->GetWidth();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_From_int((int)(result
));
22554 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxListItem
*arg1
= (wxListItem
*) 0 ;
22557 wxListColumnFormat result
;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_From_int((result
));
22580 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxListItem
*arg1
= (wxListItem
*) 0 ;
22583 wxListItemAttr
*result
;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22606 static PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes",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
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (bool)(arg1
)->HasAttributes();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22634 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxListItem
*arg1
= (wxListItem
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 wxColour
* resultptr
;
22655 resultptr
= new wxColour((wxColour
&)(result
));
22656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22664 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListItem
*arg1
= (wxListItem
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22684 wxColour
* resultptr
;
22685 resultptr
= new wxColour((wxColour
&)(result
));
22686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22694 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxListItem
*arg1
= (wxListItem
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= ((wxListItem
const *)arg1
)->GetFont();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxFont
* resultptr
;
22715 resultptr
= new wxFont((wxFont
&)(result
));
22716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22724 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxListItem
*arg1
= (wxListItem
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self",(char *) "m_mask", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 arg2
= (long)(SWIG_As_long(obj1
));
22739 if (SWIG_arg_fail(2)) SWIG_fail
;
22741 if (arg1
) (arg1
)->m_mask
= arg2
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxListItem
*arg1
= (wxListItem
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22761 if (SWIG_arg_fail(1)) SWIG_fail
;
22762 result
= (long) ((arg1
)->m_mask
);
22765 resultobj
= SWIG_From_long((long)(result
));
22773 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxListItem
*arg1
= (wxListItem
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 char *kwnames
[] = {
22780 (char *) "self",(char *) "m_itemId", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22785 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 arg2
= (long)(SWIG_As_long(obj1
));
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22790 if (arg1
) (arg1
)->m_itemId
= arg2
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxListItem
*arg1
= (wxListItem
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 result
= (long) ((arg1
)->m_itemId
);
22814 resultobj
= SWIG_From_long((long)(result
));
22822 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxListItem
*arg1
= (wxListItem
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "m_col", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(1)) SWIG_fail
;
22836 arg2
= (int)(SWIG_As_int(obj1
));
22837 if (SWIG_arg_fail(2)) SWIG_fail
;
22839 if (arg1
) (arg1
)->m_col
= arg2
;
22841 Py_INCREF(Py_None
); resultobj
= Py_None
;
22848 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxListItem
*arg1
= (wxListItem
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22859 if (SWIG_arg_fail(1)) SWIG_fail
;
22860 result
= (int) ((arg1
)->m_col
);
22863 resultobj
= SWIG_From_int((int)(result
));
22871 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxListItem
*arg1
= (wxListItem
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "m_state", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22883 if (SWIG_arg_fail(1)) SWIG_fail
;
22885 arg2
= (long)(SWIG_As_long(obj1
));
22886 if (SWIG_arg_fail(2)) SWIG_fail
;
22888 if (arg1
) (arg1
)->m_state
= arg2
;
22890 Py_INCREF(Py_None
); resultobj
= Py_None
;
22897 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxListItem
*arg1
= (wxListItem
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22909 result
= (long) ((arg1
)->m_state
);
22912 resultobj
= SWIG_From_long((long)(result
));
22920 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxListItem
*arg1
= (wxListItem
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "m_stateMask", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail
;
22934 arg2
= (long)(SWIG_As_long(obj1
));
22935 if (SWIG_arg_fail(2)) SWIG_fail
;
22937 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxListItem
*arg1
= (wxListItem
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22957 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 result
= (long) ((arg1
)->m_stateMask
);
22961 resultobj
= SWIG_From_long((long)(result
));
22969 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxListItem
*arg1
= (wxListItem
*) 0 ;
22972 wxString
*arg2
= (wxString
*) 0 ;
22973 bool temp2
= false ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self",(char *) "m_text", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 arg2
= wxString_in_helper(obj1
);
22985 if (arg2
== NULL
) SWIG_fail
;
22988 if (arg1
) (arg1
)->m_text
= *arg2
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
23005 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxListItem
*arg1
= (wxListItem
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
23015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(1)) SWIG_fail
;
23017 result
= (wxString
*)& ((arg1
)->m_text
);
23021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23032 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxListItem
*arg1
= (wxListItem
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "m_image", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23044 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 arg2
= (int)(SWIG_As_int(obj1
));
23047 if (SWIG_arg_fail(2)) SWIG_fail
;
23049 if (arg1
) (arg1
)->m_image
= arg2
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxListItem
*arg1
= (wxListItem
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23070 result
= (int) ((arg1
)->m_image
);
23073 resultobj
= SWIG_From_int((int)(result
));
23081 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxListItem
*arg1
= (wxListItem
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "m_data", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 arg2
= (long)(SWIG_As_long(obj1
));
23096 if (SWIG_arg_fail(2)) SWIG_fail
;
23098 if (arg1
) (arg1
)->m_data
= arg2
;
23100 Py_INCREF(Py_None
); resultobj
= Py_None
;
23107 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxListItem
*arg1
= (wxListItem
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23118 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 result
= (long) ((arg1
)->m_data
);
23122 resultobj
= SWIG_From_long((long)(result
));
23130 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxListItem
*arg1
= (wxListItem
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "m_format", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 arg2
= (int)(SWIG_As_int(obj1
));
23145 if (SWIG_arg_fail(2)) SWIG_fail
;
23147 if (arg1
) (arg1
)->m_format
= arg2
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23156 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxListItem
*arg1
= (wxListItem
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail
;
23168 result
= (int) ((arg1
)->m_format
);
23171 resultobj
= SWIG_From_int((int)(result
));
23179 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxListItem
*arg1
= (wxListItem
*) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "m_width", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23191 if (SWIG_arg_fail(1)) SWIG_fail
;
23193 arg2
= (int)(SWIG_As_int(obj1
));
23194 if (SWIG_arg_fail(2)) SWIG_fail
;
23196 if (arg1
) (arg1
)->m_width
= arg2
;
23198 Py_INCREF(Py_None
); resultobj
= Py_None
;
23205 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxListItem
*arg1
= (wxListItem
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23216 if (SWIG_arg_fail(1)) SWIG_fail
;
23217 result
= (int) ((arg1
)->m_width
);
23220 resultobj
= SWIG_From_int((int)(result
));
23228 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23231 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23233 return Py_BuildValue((char *)"");
23235 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23238 int arg2
= (int) 0 ;
23239 wxListEvent
*result
;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "commandType",(char *) "id", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23249 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23250 if (SWIG_arg_fail(1)) SWIG_fail
;
23255 arg2
= (int)(SWIG_As_int(obj1
));
23256 if (SWIG_arg_fail(2)) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23273 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self",(char *) "m_code", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 arg2
= (int)(SWIG_As_int(obj1
));
23288 if (SWIG_arg_fail(2)) SWIG_fail
;
23290 if (arg1
) (arg1
)->m_code
= arg2
;
23292 Py_INCREF(Py_None
); resultobj
= Py_None
;
23299 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23311 result
= (int) ((arg1
)->m_code
);
23314 resultobj
= SWIG_From_int((int)(result
));
23322 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23326 PyObject
* obj0
= 0 ;
23327 PyObject
* obj1
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self",(char *) "m_oldItemIndex", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 arg2
= (long)(SWIG_As_long(obj1
));
23337 if (SWIG_arg_fail(2)) SWIG_fail
;
23339 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23341 Py_INCREF(Py_None
); resultobj
= Py_None
;
23348 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 result
= (long) ((arg1
)->m_oldItemIndex
);
23363 resultobj
= SWIG_From_long((long)(result
));
23371 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "m_itemIndex", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23388 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23390 Py_INCREF(Py_None
); resultobj
= Py_None
;
23397 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23408 if (SWIG_arg_fail(1)) SWIG_fail
;
23409 result
= (long) ((arg1
)->m_itemIndex
);
23412 resultobj
= SWIG_From_long((long)(result
));
23420 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "m_col", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 arg2
= (int)(SWIG_As_int(obj1
));
23435 if (SWIG_arg_fail(2)) SWIG_fail
;
23437 if (arg1
) (arg1
)->m_col
= arg2
;
23439 Py_INCREF(Py_None
); resultobj
= Py_None
;
23446 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail
;
23458 result
= (int) ((arg1
)->m_col
);
23461 resultobj
= SWIG_From_int((int)(result
));
23469 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23472 wxPoint
*arg2
= (wxPoint
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "m_pointDrag", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23483 if (SWIG_arg_fail(2)) SWIG_fail
;
23484 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_ListEvent_m_pointDrag_get(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_m_pointDrag_get",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
;
23505 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23514 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23517 wxListItem
*result
;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 result
= (wxListItem
*)& ((arg1
)->m_item
);
23529 resultobj
= wxPyMake_wxObject(result
, 0);
23537 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (int)(arg1
)->GetKeyCode();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_From_int((int)(result
));
23565 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23576 if (SWIG_arg_fail(1)) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (long)(arg1
)->GetIndex();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_From_long((long)(result
));
23593 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23604 if (SWIG_arg_fail(1)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (int)(arg1
)->GetColumn();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_From_int((int)(result
));
23621 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (arg1
)->GetPoint();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 wxPoint
* resultptr
;
23642 resultptr
= new wxPoint((wxPoint
&)(result
));
23643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23651 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 wxString
const &_result_ref
= (arg1
)->GetLabel();
23667 result
= (wxString
*) &_result_ref
;
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23677 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23686 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 wxString
const &_result_ref
= (arg1
)->GetText();
23702 result
= (wxString
*) &_result_ref
;
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23721 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (int)(arg1
)->GetImage();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_From_int((int)(result
));
23749 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (long)(arg1
)->GetData();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_From_long((long)(result
));
23777 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (long)(arg1
)->GetMask();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= SWIG_From_long((long)(result
));
23805 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23808 wxListItem
*result
;
23809 PyObject
* obj0
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23821 result
= (wxListItem
*) &_result_ref
;
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23834 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23838 PyObject
* obj0
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23845 if (SWIG_arg_fail(1)) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (long)(arg1
)->GetCacheFrom();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_From_long((long)(result
));
23862 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23873 if (SWIG_arg_fail(1)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (long)(arg1
)->GetCacheTo();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_From_long((long)(result
));
23890 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23901 if (SWIG_arg_fail(1)) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23918 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "editCancelled", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23930 if (SWIG_arg_fail(1)) SWIG_fail
;
23932 arg2
= (bool)(SWIG_As_bool(obj1
));
23933 if (SWIG_arg_fail(2)) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->SetEditCanceled(arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23952 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23954 return Py_BuildValue((char *)"");
23956 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxWindow
*arg1
= (wxWindow
*) 0 ;
23959 int arg2
= (int) -1 ;
23960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23964 long arg5
= (long) wxLC_ICON
;
23965 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23966 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23967 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23969 wxPyListCtrl
*result
;
23972 bool temp7
= false ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 PyObject
* obj3
= 0 ;
23977 PyObject
* obj4
= 0 ;
23978 PyObject
* obj5
= 0 ;
23979 PyObject
* obj6
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23986 if (SWIG_arg_fail(1)) SWIG_fail
;
23989 arg2
= (int)(SWIG_As_int(obj1
));
23990 if (SWIG_arg_fail(2)) SWIG_fail
;
23996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24002 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24007 arg5
= (long)(SWIG_As_long(obj4
));
24008 if (SWIG_arg_fail(5)) SWIG_fail
;
24013 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24014 if (SWIG_arg_fail(6)) SWIG_fail
;
24015 if (arg6
== NULL
) {
24016 SWIG_null_ref("wxValidator");
24018 if (SWIG_arg_fail(6)) SWIG_fail
;
24023 arg7
= wxString_in_helper(obj6
);
24024 if (arg7
== NULL
) SWIG_fail
;
24029 if (!wxPyCheckForApp()) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24051 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxPyListCtrl
*result
;
24054 char *kwnames
[] = {
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
24060 if (!wxPyCheckForApp()) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (wxPyListCtrl
*)new wxPyListCtrl();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24074 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24077 wxWindow
*arg2
= (wxWindow
*) 0 ;
24078 int arg3
= (int) -1 ;
24079 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24080 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24081 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24082 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24083 long arg6
= (long) wxLC_ICON
;
24084 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24085 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24086 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24087 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24091 bool temp8
= false ;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 PyObject
* obj2
= 0 ;
24095 PyObject
* obj3
= 0 ;
24096 PyObject
* obj4
= 0 ;
24097 PyObject
* obj5
= 0 ;
24098 PyObject
* obj6
= 0 ;
24099 PyObject
* obj7
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 arg3
= (int)(SWIG_As_int(obj2
));
24112 if (SWIG_arg_fail(3)) SWIG_fail
;
24118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24129 arg6
= (long)(SWIG_As_long(obj5
));
24130 if (SWIG_arg_fail(6)) SWIG_fail
;
24135 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(7)) SWIG_fail
;
24137 if (arg7
== NULL
) {
24138 SWIG_null_ref("wxValidator");
24140 if (SWIG_arg_fail(7)) SWIG_fail
;
24145 arg8
= wxString_in_helper(obj7
);
24146 if (arg8
== NULL
) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24174 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24177 PyObject
*arg2
= (PyObject
*) 0 ;
24178 PyObject
*arg3
= (PyObject
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 PyObject
* obj2
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "self",(char *) "_class", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24188 if (SWIG_arg_fail(1)) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24208 wxColour
*arg2
= 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "col", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail
;
24222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24240 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24243 wxColour
*arg2
= 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self",(char *) "col", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24275 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24279 wxListItem
*result
;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "col", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(1)) SWIG_fail
;
24290 arg2
= (int)(SWIG_As_int(obj1
));
24291 if (SWIG_arg_fail(2)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= wxPyMake_wxObject(result
, 0);
24309 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24313 wxListItem
*arg3
= 0 ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 PyObject
* obj2
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "col",(char *) "item", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(1)) SWIG_fail
;
24326 arg2
= (int)(SWIG_As_int(obj1
));
24327 if (SWIG_arg_fail(2)) SWIG_fail
;
24330 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(3)) SWIG_fail
;
24332 if (arg3
== NULL
) {
24333 SWIG_null_ref("wxListItem");
24335 if (SWIG_arg_fail(3)) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24353 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self",(char *) "col", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24366 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 arg2
= (int)(SWIG_As_int(obj1
));
24369 if (SWIG_arg_fail(2)) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_From_int((int)(result
));
24387 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 PyObject
* obj2
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "col",(char *) "width", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail
;
24404 arg2
= (int)(SWIG_As_int(obj1
));
24405 if (SWIG_arg_fail(2)) SWIG_fail
;
24408 arg3
= (int)(SWIG_As_int(obj2
));
24409 if (SWIG_arg_fail(3)) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24427 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(1)) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_From_int((int)(result
));
24455 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 wxRect
* resultptr
;
24476 resultptr
= new wxRect((wxRect
&)(result
));
24477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24485 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24488 wxTextCtrl
*result
;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= wxPyMake_wxObject(result
, 0);
24513 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24517 int arg3
= (int) 0 ;
24518 wxListItem
*result
;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 PyObject
* obj2
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "itemId",(char *) "col", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail
;
24530 arg2
= (long)(SWIG_As_long(obj1
));
24531 if (SWIG_arg_fail(2)) SWIG_fail
;
24535 arg3
= (int)(SWIG_As_int(obj2
));
24536 if (SWIG_arg_fail(3)) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= wxPyMake_wxObject(result
, 0);
24555 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24558 wxListItem
*arg2
= 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "info", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24568 if (SWIG_arg_fail(1)) SWIG_fail
;
24570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24571 if (SWIG_arg_fail(2)) SWIG_fail
;
24572 if (arg2
== NULL
) {
24573 SWIG_null_ref("wxListItem");
24575 if (SWIG_arg_fail(2)) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)(arg1
)->SetItem(*arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24598 wxString
*arg4
= 0 ;
24599 int arg5
= (int) -1 ;
24601 bool temp4
= false ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 PyObject
* obj3
= 0 ;
24606 PyObject
* obj4
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 arg2
= (long)(SWIG_As_long(obj1
));
24616 if (SWIG_arg_fail(2)) SWIG_fail
;
24619 arg3
= (int)(SWIG_As_int(obj2
));
24620 if (SWIG_arg_fail(3)) SWIG_fail
;
24623 arg4
= wxString_in_helper(obj3
);
24624 if (arg4
== NULL
) SWIG_fail
;
24629 arg5
= (int)(SWIG_As_int(obj4
));
24630 if (SWIG_arg_fail(5)) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_From_long((long)(result
));
24657 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 PyObject
* obj2
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24672 if (SWIG_arg_fail(1)) SWIG_fail
;
24674 arg2
= (long)(SWIG_As_long(obj1
));
24675 if (SWIG_arg_fail(2)) SWIG_fail
;
24678 arg3
= (long)(SWIG_As_long(obj2
));
24679 if (SWIG_arg_fail(3)) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_From_int((int)(result
));
24697 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 PyObject
* obj2
= 0 ;
24707 PyObject
* obj3
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24714 if (SWIG_arg_fail(1)) SWIG_fail
;
24716 arg2
= (long)(SWIG_As_long(obj1
));
24717 if (SWIG_arg_fail(2)) SWIG_fail
;
24720 arg3
= (long)(SWIG_As_long(obj2
));
24721 if (SWIG_arg_fail(3)) SWIG_fail
;
24724 arg4
= (long)(SWIG_As_long(obj3
));
24725 if (SWIG_arg_fail(4)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24743 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24748 int arg4
= (int) -1 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 PyObject
* obj3
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24762 arg2
= (long)(SWIG_As_long(obj1
));
24763 if (SWIG_arg_fail(2)) SWIG_fail
;
24766 arg3
= (int)(SWIG_As_int(obj2
));
24767 if (SWIG_arg_fail(3)) SWIG_fail
;
24771 arg4
= (int)(SWIG_As_int(obj3
));
24772 if (SWIG_arg_fail(4)) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24791 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 char *kwnames
[] = {
24799 (char *) "self",(char *) "item", NULL
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24804 if (SWIG_arg_fail(1)) SWIG_fail
;
24806 arg2
= (long)(SWIG_As_long(obj1
));
24807 if (SWIG_arg_fail(2)) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24829 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24833 wxString
*arg3
= 0 ;
24834 bool temp3
= false ;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 PyObject
* obj2
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "item",(char *) "str", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 arg2
= (long)(SWIG_As_long(obj1
));
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24850 arg3
= wxString_in_helper(obj2
);
24851 if (arg3
== NULL
) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self",(char *) "item", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
24892 if (SWIG_arg_fail(2)) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_From_long((long)(result
));
24910 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "item",(char *) "data", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail
;
24927 arg2
= (long)(SWIG_As_long(obj1
));
24928 if (SWIG_arg_fail(2)) SWIG_fail
;
24931 arg3
= (long)(SWIG_As_long(obj2
));
24932 if (SWIG_arg_fail(3)) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self",(char *) "item", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24963 if (SWIG_arg_fail(1)) SWIG_fail
;
24965 arg2
= (long)(SWIG_As_long(obj1
));
24966 if (SWIG_arg_fail(2)) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 wxPoint
* resultptr
;
24977 resultptr
= new wxPoint((wxPoint
&)(result
));
24978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24986 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24990 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "item",(char *) "code", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 arg2
= (long)(SWIG_As_long(obj1
));
25004 if (SWIG_arg_fail(2)) SWIG_fail
;
25008 arg3
= (int)(SWIG_As_int(obj2
));
25009 if (SWIG_arg_fail(3)) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25020 wxRect
* resultptr
;
25021 resultptr
= new wxRect((wxRect
&)(result
));
25022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25030 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25034 wxPoint
*arg3
= 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 PyObject
* obj2
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self",(char *) "item",(char *) "pos", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25048 arg2
= (long)(SWIG_As_long(obj1
));
25049 if (SWIG_arg_fail(2)) SWIG_fail
;
25053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25071 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
25081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25082 if (SWIG_arg_fail(1)) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_From_int((int)(result
));
25099 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= SWIG_From_int((int)(result
));
25127 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25138 if (SWIG_arg_fail(1)) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 wxSize
* resultptr
;
25148 resultptr
= new wxSize((wxSize
&)(result
));
25149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25157 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= SWIG_From_int((int)(result
));
25185 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25196 if (SWIG_arg_fail(1)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 wxColour
* resultptr
;
25206 resultptr
= new wxColour((wxColour
&)(result
));
25207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25215 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25218 wxColour
*arg2
= 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "col", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25231 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25251 PyObject
* obj0
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25258 if (SWIG_arg_fail(1)) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= SWIG_From_long((long)(result
));
25275 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25279 bool arg3
= (bool) true ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 PyObject
* obj2
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self",(char *) "style",(char *) "add", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25289 if (SWIG_arg_fail(1)) SWIG_fail
;
25291 arg2
= (long)(SWIG_As_long(obj1
));
25292 if (SWIG_arg_fail(2)) SWIG_fail
;
25296 arg3
= (bool)(SWIG_As_bool(obj2
));
25297 if (SWIG_arg_fail(3)) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetSingleStyle(arg2
,arg3
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "style", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 arg2
= (long)(SWIG_As_long(obj1
));
25329 if (SWIG_arg_fail(2)) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->SetWindowStyleFlag(arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 Py_INCREF(Py_None
); resultobj
= Py_None
;
25345 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25349 int arg3
= (int) wxLIST_NEXT_ALL
;
25350 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 PyObject
* obj2
= 0 ;
25355 PyObject
* obj3
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail
;
25364 arg2
= (long)(SWIG_As_long(obj1
));
25365 if (SWIG_arg_fail(2)) SWIG_fail
;
25369 arg3
= (int)(SWIG_As_int(obj2
));
25370 if (SWIG_arg_fail(3)) SWIG_fail
;
25375 arg4
= (int)(SWIG_As_int(obj3
));
25376 if (SWIG_arg_fail(4)) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_From_long((long)(result
));
25395 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25399 wxImageList
*result
;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "which", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 arg2
= (int)(SWIG_As_int(obj1
));
25411 if (SWIG_arg_fail(2)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= wxPyMake_wxObject(result
, 0);
25429 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25432 wxImageList
*arg2
= (wxImageList
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "imageList",(char *) "which", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(2)) SWIG_fail
;
25447 arg3
= (int)(SWIG_As_int(obj2
));
25448 if (SWIG_arg_fail(3)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->SetImageList(arg2
,arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25467 wxImageList
*arg2
= (wxImageList
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 PyObject
* obj2
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self",(char *) "imageList",(char *) "which", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25480 if (SWIG_arg_fail(2)) SWIG_fail
;
25482 arg3
= (int)(SWIG_As_int(obj2
));
25483 if (SWIG_arg_fail(3)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->AssignImageList(arg2
,arg3
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 Py_INCREF(Py_None
); resultobj
= Py_None
;
25499 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25503 PyObject
* obj0
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25510 if (SWIG_arg_fail(1)) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25527 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25555 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "item", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25567 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 arg2
= (long)(SWIG_As_long(obj1
));
25570 if (SWIG_arg_fail(2)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->RefreshItem(arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 PyObject
* obj2
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25600 if (SWIG_arg_fail(1)) SWIG_fail
;
25602 arg2
= (long)(SWIG_As_long(obj1
));
25603 if (SWIG_arg_fail(2)) SWIG_fail
;
25606 arg3
= (long)(SWIG_As_long(obj2
));
25607 if (SWIG_arg_fail(3)) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 (arg1
)->RefreshItems(arg2
,arg3
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 Py_INCREF(Py_None
); resultobj
= Py_None
;
25623 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25626 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "self",(char *) "flag", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail
;
25639 arg2
= (int)(SWIG_As_int(obj1
));
25640 if (SWIG_arg_fail(2)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= (bool)(arg1
)->Arrange(arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25659 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "item", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail
;
25674 arg2
= (long)(SWIG_As_long(obj1
));
25675 if (SWIG_arg_fail(2)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (bool)(arg1
)->DeleteItem(arg2
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25693 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25697 PyObject
* obj0
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (bool)(arg1
)->DeleteAllItems();
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25721 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 PyObject
* obj1
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self",(char *) "col", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail
;
25736 arg2
= (int)(SWIG_As_int(obj1
));
25737 if (SWIG_arg_fail(2)) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25755 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25766 if (SWIG_arg_fail(1)) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (bool)(arg1
)->DeleteAllColumns();
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25783 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 (arg1
)->ClearAll();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 Py_INCREF(Py_None
); resultobj
= Py_None
;
25808 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25812 wxTextCtrl
*result
;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "item", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 arg2
= (long)(SWIG_As_long(obj1
));
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= wxPyMake_wxObject(result
, 0);
25842 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "cancel", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 arg2
= (bool)(SWIG_As_bool(obj1
));
25858 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25876 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "item", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25891 arg2
= (long)(SWIG_As_long(obj1
));
25892 if (SWIG_arg_fail(2)) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25910 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25914 wxString
*arg3
= 0 ;
25915 bool arg4
= (bool) false ;
25917 bool temp3
= false ;
25918 PyObject
* obj0
= 0 ;
25919 PyObject
* obj1
= 0 ;
25920 PyObject
* obj2
= 0 ;
25921 PyObject
* obj3
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 arg2
= (long)(SWIG_As_long(obj1
));
25931 if (SWIG_arg_fail(2)) SWIG_fail
;
25934 arg3
= wxString_in_helper(obj2
);
25935 if (arg3
== NULL
) SWIG_fail
;
25940 arg4
= (bool)(SWIG_As_bool(obj3
));
25941 if (SWIG_arg_fail(4)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_From_long((long)(result
));
25968 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 PyObject
* obj2
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self",(char *) "start",(char *) "data", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 arg2
= (long)(SWIG_As_long(obj1
));
25986 if (SWIG_arg_fail(2)) SWIG_fail
;
25989 arg3
= (long)(SWIG_As_long(obj2
));
25990 if (SWIG_arg_fail(3)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_From_long((long)(result
));
26008 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26012 wxPoint
*arg3
= 0 ;
26016 PyObject
* obj0
= 0 ;
26017 PyObject
* obj1
= 0 ;
26018 PyObject
* obj2
= 0 ;
26019 PyObject
* obj3
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26026 if (SWIG_arg_fail(1)) SWIG_fail
;
26028 arg2
= (long)(SWIG_As_long(obj1
));
26029 if (SWIG_arg_fail(2)) SWIG_fail
;
26033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26036 arg4
= (int)(SWIG_As_int(obj3
));
26037 if (SWIG_arg_fail(4)) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= SWIG_From_long((long)(result
));
26055 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26058 wxPoint
*arg2
= 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "point", NULL
26070 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_From_long((long)(result
));
26088 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26089 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26096 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26099 wxListItem
*arg2
= 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "info", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26113 if (arg2
== NULL
) {
26114 SWIG_null_ref("wxListItem");
26116 if (SWIG_arg_fail(2)) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (long)(arg1
)->InsertItem(*arg2
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_From_long((long)(result
));
26134 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26138 wxString
*arg3
= 0 ;
26140 bool temp3
= false ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 PyObject
* obj2
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "index",(char *) "label", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26150 if (SWIG_arg_fail(1)) SWIG_fail
;
26152 arg2
= (long)(SWIG_As_long(obj1
));
26153 if (SWIG_arg_fail(2)) SWIG_fail
;
26156 arg3
= wxString_in_helper(obj2
);
26157 if (arg3
== NULL
) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_From_long((long)(result
));
26184 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 arg2
= (long)(SWIG_As_long(obj1
));
26202 if (SWIG_arg_fail(2)) SWIG_fail
;
26205 arg3
= (int)(SWIG_As_int(obj2
));
26206 if (SWIG_arg_fail(3)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= SWIG_From_long((long)(result
));
26224 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26228 wxString
*arg3
= 0 ;
26231 bool temp3
= false ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 PyObject
* obj2
= 0 ;
26235 PyObject
* obj3
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 arg2
= (long)(SWIG_As_long(obj1
));
26245 if (SWIG_arg_fail(2)) SWIG_fail
;
26248 arg3
= wxString_in_helper(obj2
);
26249 if (arg3
== NULL
) SWIG_fail
;
26253 arg4
= (int)(SWIG_As_int(obj3
));
26254 if (SWIG_arg_fail(4)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_From_long((long)(result
));
26280 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26284 wxListItem
*arg3
= 0 ;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 PyObject
* obj2
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self",(char *) "col",(char *) "info", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 arg2
= (long)(SWIG_As_long(obj1
));
26298 if (SWIG_arg_fail(2)) SWIG_fail
;
26301 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26302 if (SWIG_arg_fail(3)) SWIG_fail
;
26303 if (arg3
== NULL
) {
26304 SWIG_null_ref("wxListItem");
26306 if (SWIG_arg_fail(3)) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26316 resultobj
= SWIG_From_long((long)(result
));
26324 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26328 wxString
*arg3
= 0 ;
26329 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26330 int arg5
= (int) -1 ;
26332 bool temp3
= false ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 PyObject
* obj2
= 0 ;
26336 PyObject
* obj3
= 0 ;
26337 PyObject
* obj4
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail
;
26346 arg2
= (long)(SWIG_As_long(obj1
));
26347 if (SWIG_arg_fail(2)) SWIG_fail
;
26350 arg3
= wxString_in_helper(obj2
);
26351 if (arg3
== NULL
) SWIG_fail
;
26356 arg4
= (int)(SWIG_As_int(obj3
));
26357 if (SWIG_arg_fail(4)) SWIG_fail
;
26362 arg5
= (int)(SWIG_As_int(obj4
));
26363 if (SWIG_arg_fail(5)) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_From_long((long)(result
));
26390 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "count", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 arg2
= (long)(SWIG_As_long(obj1
));
26405 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 (arg1
)->SetItemCount(arg2
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 Py_INCREF(Py_None
); resultobj
= Py_None
;
26421 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 PyObject
* obj2
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "dx",(char *) "dy", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail
;
26438 arg2
= (int)(SWIG_As_int(obj1
));
26439 if (SWIG_arg_fail(2)) SWIG_fail
;
26442 arg3
= (int)(SWIG_As_int(obj2
));
26443 if (SWIG_arg_fail(3)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26461 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26465 wxColour
*arg3
= 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 PyObject
* obj2
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self",(char *) "item",(char *) "col", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26478 arg2
= (long)(SWIG_As_long(obj1
));
26479 if (SWIG_arg_fail(2)) SWIG_fail
;
26483 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "item", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26512 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 arg2
= (long)(SWIG_As_long(obj1
));
26515 if (SWIG_arg_fail(2)) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 wxColour
* resultptr
;
26526 resultptr
= new wxColour((wxColour
&)(result
));
26527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26535 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26539 wxColour
*arg3
= 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 PyObject
* obj2
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "item",(char *) "col", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail
;
26552 arg2
= (long)(SWIG_As_long(obj1
));
26553 if (SWIG_arg_fail(2)) SWIG_fail
;
26557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 Py_INCREF(Py_None
); resultobj
= Py_None
;
26573 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "item", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26588 arg2
= (long)(SWIG_As_long(obj1
));
26589 if (SWIG_arg_fail(2)) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26599 wxColour
* resultptr
;
26600 resultptr
= new wxColour((wxColour
&)(result
));
26601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26609 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26612 PyObject
*arg2
= (PyObject
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "func", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(1)) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26640 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= wxPyMake_wxObject(result
, 0);
26668 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26671 wxVisualAttributes result
;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "variant", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26680 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26681 if (SWIG_arg_fail(1)) SWIG_fail
;
26685 if (!wxPyCheckForApp()) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26693 wxVisualAttributes
* resultptr
;
26694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26703 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26706 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26708 return Py_BuildValue((char *)"");
26710 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxWindow
*arg1
= (wxWindow
*) 0 ;
26713 int arg2
= (int) -1 ;
26714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26718 long arg5
= (long) wxLC_REPORT
;
26719 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26720 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26721 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26723 wxListView
*result
;
26726 bool temp7
= false ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 PyObject
* obj2
= 0 ;
26730 PyObject
* obj3
= 0 ;
26731 PyObject
* obj4
= 0 ;
26732 PyObject
* obj5
= 0 ;
26733 PyObject
* obj6
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26740 if (SWIG_arg_fail(1)) SWIG_fail
;
26743 arg2
= (int)(SWIG_As_int(obj1
));
26744 if (SWIG_arg_fail(2)) SWIG_fail
;
26750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26756 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26761 arg5
= (long)(SWIG_As_long(obj4
));
26762 if (SWIG_arg_fail(5)) SWIG_fail
;
26767 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(6)) SWIG_fail
;
26769 if (arg6
== NULL
) {
26770 SWIG_null_ref("wxValidator");
26772 if (SWIG_arg_fail(6)) SWIG_fail
;
26777 arg7
= wxString_in_helper(obj6
);
26778 if (arg7
== NULL
) SWIG_fail
;
26783 if (!wxPyCheckForApp()) SWIG_fail
;
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26805 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxListView
*result
;
26808 char *kwnames
[] = {
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26814 if (!wxPyCheckForApp()) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 result
= (wxListView
*)new wxListView();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26828 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxListView
*arg1
= (wxListView
*) 0 ;
26831 wxWindow
*arg2
= (wxWindow
*) 0 ;
26832 int arg3
= (int) -1 ;
26833 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26834 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26835 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26836 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26837 long arg6
= (long) wxLC_REPORT
;
26838 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26839 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26840 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26841 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26845 bool temp8
= false ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 PyObject
* obj2
= 0 ;
26849 PyObject
* obj3
= 0 ;
26850 PyObject
* obj4
= 0 ;
26851 PyObject
* obj5
= 0 ;
26852 PyObject
* obj6
= 0 ;
26853 PyObject
* obj7
= 0 ;
26854 char *kwnames
[] = {
26855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26860 if (SWIG_arg_fail(1)) SWIG_fail
;
26861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(2)) SWIG_fail
;
26865 arg3
= (int)(SWIG_As_int(obj2
));
26866 if (SWIG_arg_fail(3)) SWIG_fail
;
26872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26883 arg6
= (long)(SWIG_As_long(obj5
));
26884 if (SWIG_arg_fail(6)) SWIG_fail
;
26889 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26890 if (SWIG_arg_fail(7)) SWIG_fail
;
26891 if (arg7
== NULL
) {
26892 SWIG_null_ref("wxValidator");
26894 if (SWIG_arg_fail(7)) SWIG_fail
;
26899 arg8
= wxString_in_helper(obj7
);
26900 if (arg8
== NULL
) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26928 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxListView
*arg1
= (wxListView
*) 0 ;
26932 bool arg3
= (bool) true ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 PyObject
* obj2
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self",(char *) "n",(char *) "on", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26942 if (SWIG_arg_fail(1)) SWIG_fail
;
26944 arg2
= (long)(SWIG_As_long(obj1
));
26945 if (SWIG_arg_fail(2)) SWIG_fail
;
26949 arg3
= (bool)(SWIG_As_bool(obj2
));
26950 if (SWIG_arg_fail(3)) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 (arg1
)->Select(arg2
,arg3
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 Py_INCREF(Py_None
); resultobj
= Py_None
;
26967 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
;
26969 wxListView
*arg1
= (wxListView
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "index", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 arg2
= (long)(SWIG_As_long(obj1
));
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 (arg1
)->Focus(arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 Py_INCREF(Py_None
); resultobj
= Py_None
;
26998 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxListView
*arg1
= (wxListView
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
27008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_From_long((long)(result
));
27026 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxListView
*arg1
= (wxListView
*) 0 ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "item", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27039 if (SWIG_arg_fail(1)) SWIG_fail
;
27041 arg2
= (long)(SWIG_As_long(obj1
));
27042 if (SWIG_arg_fail(2)) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= SWIG_From_long((long)(result
));
27060 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxListView
*arg1
= (wxListView
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_From_long((long)(result
));
27088 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxListView
*arg1
= (wxListView
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "index", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27101 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 arg2
= (long)(SWIG_As_long(obj1
));
27104 if (SWIG_arg_fail(2)) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (bool)(arg1
)->IsSelected(arg2
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27122 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxListView
*arg1
= (wxListView
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 PyObject
* obj2
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self",(char *) "col",(char *) "image", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27138 arg2
= (int)(SWIG_As_int(obj1
));
27139 if (SWIG_arg_fail(2)) SWIG_fail
;
27142 arg3
= (int)(SWIG_As_int(obj2
));
27143 if (SWIG_arg_fail(3)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->SetColumnImage(arg2
,arg3
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxListView
*arg1
= (wxListView
*) 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "col", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27171 if (SWIG_arg_fail(1)) SWIG_fail
;
27173 arg2
= (int)(SWIG_As_int(obj1
));
27174 if (SWIG_arg_fail(2)) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 (arg1
)->ClearColumnImage(arg2
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 Py_INCREF(Py_None
); resultobj
= Py_None
;
27190 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27193 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27195 return Py_BuildValue((char *)"");
27197 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27198 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27203 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27208 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27210 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27217 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxTreeItemId
*result
;
27220 char *kwnames
[] = {
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 result
= (wxTreeItemId
*)new wxTreeItemId();
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27239 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27242 PyObject
* obj0
= 0 ;
27243 char *kwnames
[] = {
27244 (char *) "self", NULL
27247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27249 if (SWIG_arg_fail(1)) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 Py_INCREF(Py_None
); resultobj
= Py_None
;
27264 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27292 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27295 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "other", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27307 if (SWIG_arg_fail(2)) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27324 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27327 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "other", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27339 if (SWIG_arg_fail(2)) SWIG_fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27356 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27359 void *arg2
= (void *) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self",(char *) "m_pItem", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27368 if (SWIG_arg_fail(1)) SWIG_fail
;
27370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27371 SWIG_arg_fail(2);SWIG_fail
;
27374 if (arg1
) (arg1
)->m_pItem
= arg2
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27387 PyObject
* obj0
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 result
= (void *) ((arg1
)->m_pItem
);
27397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27404 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27407 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27409 return Py_BuildValue((char *)"");
27411 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27412 PyObject
*resultobj
;
27413 PyObject
*arg1
= (PyObject
*) NULL
;
27414 wxPyTreeItemData
*result
;
27415 PyObject
* obj0
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "obj", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27438 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27449 if (SWIG_arg_fail(1)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (PyObject
*)(arg1
)->GetData();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
;
27464 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27467 PyObject
*arg2
= (PyObject
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "obj", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail
;
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 (arg1
)->SetData(arg2
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27495 wxTreeItemId
*result
;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27508 result
= (wxTreeItemId
*) &_result_ref
;
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27521 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27524 wxTreeItemId
*arg2
= 0 ;
27525 PyObject
* obj0
= 0 ;
27526 PyObject
* obj1
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self",(char *) "id", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail
;
27535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27536 if (SWIG_arg_fail(2)) SWIG_fail
;
27537 if (arg2
== NULL
) {
27538 SWIG_null_ref("wxTreeItemId");
27540 if (SWIG_arg_fail(2)) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 Py_INCREF(Py_None
); resultobj
= Py_None
;
27556 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27559 PyObject
* obj0
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27566 if (SWIG_arg_fail(1)) SWIG_fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 wxPyTreeItemData_Destroy(arg1
);
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 Py_INCREF(Py_None
); resultobj
= Py_None
;
27581 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27584 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27586 return Py_BuildValue((char *)"");
27588 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27591 int arg2
= (int) 0 ;
27592 wxTreeEvent
*result
;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "commandType",(char *) "id", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27602 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27608 arg2
= (int)(SWIG_As_int(obj1
));
27609 if (SWIG_arg_fail(2)) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27626 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27629 wxTreeItemId result
;
27630 PyObject
* obj0
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27646 wxTreeItemId
* resultptr
;
27647 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27656 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27659 wxTreeItemId
*arg2
= 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "item", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",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_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(2)) SWIG_fail
;
27672 if (arg2
== NULL
) {
27673 SWIG_null_ref("wxTreeItemId");
27675 if (SWIG_arg_fail(2)) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27694 wxTreeItemId result
;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",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();
27705 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 wxTreeItemId
* resultptr
;
27712 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27721 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27724 wxTreeItemId
*arg2
= 0 ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "item", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(2)) SWIG_fail
;
27737 if (arg2
== NULL
) {
27738 SWIG_null_ref("wxTreeItemId");
27740 if (SWIG_arg_fail(2)) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 Py_INCREF(Py_None
); resultobj
= Py_None
;
27756 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27767 if (SWIG_arg_fail(1)) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 wxPoint
* resultptr
;
27777 resultptr
= new wxPoint((wxPoint
&)(result
));
27778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27786 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27789 wxPoint
*arg2
= 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "pt", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27821 wxKeyEvent
*result
;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27829 if (SWIG_arg_fail(1)) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27834 result
= (wxKeyEvent
*) &_result_ref
;
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27847 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_From_int((int)(result
));
27875 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27878 wxKeyEvent
*arg2
= 0 ;
27879 PyObject
* obj0
= 0 ;
27880 PyObject
* obj1
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self",(char *) "evt", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27887 if (SWIG_arg_fail(1)) SWIG_fail
;
27889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27890 if (SWIG_arg_fail(2)) SWIG_fail
;
27891 if (arg2
== NULL
) {
27892 SWIG_null_ref("wxKeyEvent");
27894 if (SWIG_arg_fail(2)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 Py_INCREF(Py_None
); resultobj
= Py_None
;
27910 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27921 if (SWIG_arg_fail(1)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27926 result
= (wxString
*) &_result_ref
;
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27936 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27945 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27948 wxString
*arg2
= 0 ;
27949 bool temp2
= false ;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "label", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27958 if (SWIG_arg_fail(1)) SWIG_fail
;
27960 arg2
= wxString_in_helper(obj1
);
27961 if (arg2
== NULL
) SWIG_fail
;
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 (arg1
)->SetLabel((wxString
const &)*arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 Py_INCREF(Py_None
); resultobj
= Py_None
;
27986 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "self", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27997 if (SWIG_arg_fail(1)) SWIG_fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28014 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self",(char *) "editCancelled", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
28025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28026 if (SWIG_arg_fail(1)) SWIG_fail
;
28028 arg2
= (bool)(SWIG_As_bool(obj1
));
28029 if (SWIG_arg_fail(2)) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 (arg1
)->SetEditCanceled(arg2
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 Py_INCREF(Py_None
); resultobj
= Py_None
;
28045 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28048 wxString
*arg2
= 0 ;
28049 bool temp2
= false ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "toolTip", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28060 arg2
= wxString_in_helper(obj1
);
28061 if (arg2
== NULL
) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28089 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28091 return Py_BuildValue((char *)"");
28093 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
;
28095 wxWindow
*arg1
= (wxWindow
*) 0 ;
28096 int arg2
= (int) -1 ;
28097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28101 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28102 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28103 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28104 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28106 wxPyTreeCtrl
*result
;
28109 bool temp7
= false ;
28110 PyObject
* obj0
= 0 ;
28111 PyObject
* obj1
= 0 ;
28112 PyObject
* obj2
= 0 ;
28113 PyObject
* obj3
= 0 ;
28114 PyObject
* obj4
= 0 ;
28115 PyObject
* obj5
= 0 ;
28116 PyObject
* obj6
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28126 arg2
= (int)(SWIG_As_int(obj1
));
28127 if (SWIG_arg_fail(2)) SWIG_fail
;
28133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28144 arg5
= (long)(SWIG_As_long(obj4
));
28145 if (SWIG_arg_fail(5)) SWIG_fail
;
28150 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28151 if (SWIG_arg_fail(6)) SWIG_fail
;
28152 if (arg6
== NULL
) {
28153 SWIG_null_ref("wxValidator");
28155 if (SWIG_arg_fail(6)) SWIG_fail
;
28160 arg7
= wxString_in_helper(obj6
);
28161 if (arg7
== NULL
) SWIG_fail
;
28166 if (!wxPyCheckForApp()) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28188 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxPyTreeCtrl
*result
;
28191 char *kwnames
[] = {
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28197 if (!wxPyCheckForApp()) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28211 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28214 wxWindow
*arg2
= (wxWindow
*) 0 ;
28215 int arg3
= (int) -1 ;
28216 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28217 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28218 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28219 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28220 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28221 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28222 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28223 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28228 bool temp8
= false ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 PyObject
* obj3
= 0 ;
28233 PyObject
* obj4
= 0 ;
28234 PyObject
* obj5
= 0 ;
28235 PyObject
* obj6
= 0 ;
28236 PyObject
* obj7
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(1)) SWIG_fail
;
28244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28245 if (SWIG_arg_fail(2)) SWIG_fail
;
28248 arg3
= (int)(SWIG_As_int(obj2
));
28249 if (SWIG_arg_fail(3)) SWIG_fail
;
28255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28266 arg6
= (long)(SWIG_As_long(obj5
));
28267 if (SWIG_arg_fail(6)) SWIG_fail
;
28272 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28273 if (SWIG_arg_fail(7)) SWIG_fail
;
28274 if (arg7
== NULL
) {
28275 SWIG_null_ref("wxValidator");
28277 if (SWIG_arg_fail(7)) SWIG_fail
;
28282 arg8
= wxString_in_helper(obj7
);
28283 if (arg8
== NULL
) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28311 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28314 PyObject
*arg2
= (PyObject
*) 0 ;
28315 PyObject
*arg3
= (PyObject
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 PyObject
* obj2
= 0 ;
28319 char *kwnames
[] = {
28320 (char *) "self",(char *) "self",(char *) "_class", NULL
28323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28325 if (SWIG_arg_fail(1)) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 Py_INCREF(Py_None
); resultobj
= Py_None
;
28342 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28346 PyObject
* obj0
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28370 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28373 unsigned int result
;
28374 PyObject
* obj0
= 0 ;
28375 char *kwnames
[] = {
28376 (char *) "self", NULL
28379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28381 if (SWIG_arg_fail(1)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28398 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28401 unsigned int arg2
;
28402 PyObject
* obj0
= 0 ;
28403 PyObject
* obj1
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self",(char *) "indent", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail
;
28412 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28413 if (SWIG_arg_fail(2)) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 (arg1
)->SetIndent(arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 Py_INCREF(Py_None
); resultobj
= Py_None
;
28429 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28432 unsigned int result
;
28433 PyObject
* obj0
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28440 if (SWIG_arg_fail(1)) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28457 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28460 unsigned int arg2
;
28461 PyObject
* obj0
= 0 ;
28462 PyObject
* obj1
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self",(char *) "spacing", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28472 if (SWIG_arg_fail(2)) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->SetSpacing(arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 Py_INCREF(Py_None
); resultobj
= Py_None
;
28488 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28491 wxImageList
*result
;
28492 PyObject
* obj0
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28499 if (SWIG_arg_fail(1)) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= wxPyMake_wxObject(result
, 0);
28516 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28519 wxImageList
*result
;
28520 PyObject
* obj0
= 0 ;
28521 char *kwnames
[] = {
28522 (char *) "self", NULL
28525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28527 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= wxPyMake_wxObject(result
, 0);
28544 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28547 wxImageList
*arg2
= (wxImageList
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "self",(char *) "imageList", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail
;
28557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(2)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 (arg1
)->SetImageList(arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 Py_INCREF(Py_None
); resultobj
= Py_None
;
28573 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28576 wxImageList
*arg2
= (wxImageList
*) 0 ;
28577 PyObject
* obj0
= 0 ;
28578 PyObject
* obj1
= 0 ;
28579 char *kwnames
[] = {
28580 (char *) "self",(char *) "imageList", NULL
28583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28585 if (SWIG_arg_fail(1)) SWIG_fail
;
28586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(2)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 (arg1
)->SetStateImageList(arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 Py_INCREF(Py_None
); resultobj
= Py_None
;
28602 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28605 wxImageList
*arg2
= (wxImageList
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self",(char *) "imageList", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28614 if (SWIG_arg_fail(1)) SWIG_fail
;
28615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28616 if (SWIG_arg_fail(2)) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 (arg1
)->AssignImageList(arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 Py_INCREF(Py_None
); resultobj
= Py_None
;
28631 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28634 wxImageList
*arg2
= (wxImageList
*) 0 ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "imageList", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(1)) SWIG_fail
;
28644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28645 if (SWIG_arg_fail(2)) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 (arg1
)->AssignStateImageList(arg2
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 Py_INCREF(Py_None
); resultobj
= Py_None
;
28660 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28663 wxTreeItemId
*arg2
= 0 ;
28665 PyObject
* obj0
= 0 ;
28666 PyObject
* obj1
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "item", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail
;
28675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28676 if (SWIG_arg_fail(2)) SWIG_fail
;
28677 if (arg2
== NULL
) {
28678 SWIG_null_ref("wxTreeItemId");
28680 if (SWIG_arg_fail(2)) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28702 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28705 wxTreeItemId
*arg2
= 0 ;
28706 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 PyObject
* obj2
= 0 ;
28711 char *kwnames
[] = {
28712 (char *) "self",(char *) "item",(char *) "which", NULL
28715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28717 if (SWIG_arg_fail(1)) SWIG_fail
;
28719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(2)) SWIG_fail
;
28721 if (arg2
== NULL
) {
28722 SWIG_null_ref("wxTreeItemId");
28724 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28729 if (SWIG_arg_fail(3)) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_int((int)(result
));
28748 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28751 wxTreeItemId
*arg2
= 0 ;
28752 wxPyTreeItemData
*result
;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self",(char *) "item", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28761 if (SWIG_arg_fail(1)) SWIG_fail
;
28763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28764 if (SWIG_arg_fail(2)) SWIG_fail
;
28765 if (arg2
== NULL
) {
28766 SWIG_null_ref("wxTreeItemId");
28768 if (SWIG_arg_fail(2)) SWIG_fail
;
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28784 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
;
28786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28787 wxTreeItemId
*arg2
= 0 ;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 char *kwnames
[] = {
28792 (char *) "self",(char *) "item", NULL
28795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28797 if (SWIG_arg_fail(1)) SWIG_fail
;
28799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(2)) SWIG_fail
;
28801 if (arg2
== NULL
) {
28802 SWIG_null_ref("wxTreeItemId");
28804 if (SWIG_arg_fail(2)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= result
;
28820 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28823 wxTreeItemId
*arg2
= 0 ;
28825 PyObject
* obj0
= 0 ;
28826 PyObject
* obj1
= 0 ;
28827 char *kwnames
[] = {
28828 (char *) "self",(char *) "item", NULL
28831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28833 if (SWIG_arg_fail(1)) SWIG_fail
;
28835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28836 if (SWIG_arg_fail(2)) SWIG_fail
;
28837 if (arg2
== NULL
) {
28838 SWIG_null_ref("wxTreeItemId");
28840 if (SWIG_arg_fail(2)) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28850 wxColour
* resultptr
;
28851 resultptr
= new wxColour((wxColour
&)(result
));
28852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28860 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28863 wxTreeItemId
*arg2
= 0 ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self",(char *) "item", NULL
28871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28873 if (SWIG_arg_fail(1)) SWIG_fail
;
28875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28876 if (SWIG_arg_fail(2)) SWIG_fail
;
28877 if (arg2
== NULL
) {
28878 SWIG_null_ref("wxTreeItemId");
28880 if (SWIG_arg_fail(2)) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28890 wxColour
* resultptr
;
28891 resultptr
= new wxColour((wxColour
&)(result
));
28892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28900 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28903 wxTreeItemId
*arg2
= 0 ;
28905 PyObject
* obj0
= 0 ;
28906 PyObject
* obj1
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self",(char *) "item", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28913 if (SWIG_arg_fail(1)) SWIG_fail
;
28915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28916 if (SWIG_arg_fail(2)) SWIG_fail
;
28917 if (arg2
== NULL
) {
28918 SWIG_null_ref("wxTreeItemId");
28920 if (SWIG_arg_fail(2)) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28930 wxFont
* resultptr
;
28931 resultptr
= new wxFont((wxFont
&)(result
));
28932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28940 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28943 wxTreeItemId
*arg2
= 0 ;
28944 wxString
*arg3
= 0 ;
28945 bool temp3
= false ;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 PyObject
* obj2
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self",(char *) "item",(char *) "text", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28955 if (SWIG_arg_fail(1)) SWIG_fail
;
28957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(2)) SWIG_fail
;
28959 if (arg2
== NULL
) {
28960 SWIG_null_ref("wxTreeItemId");
28962 if (SWIG_arg_fail(2)) SWIG_fail
;
28965 arg3
= wxString_in_helper(obj2
);
28966 if (arg3
== NULL
) SWIG_fail
;
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 Py_INCREF(Py_None
); resultobj
= Py_None
;
28991 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28994 wxTreeItemId
*arg2
= 0 ;
28996 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail
;
29009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(2)) SWIG_fail
;
29011 if (arg2
== NULL
) {
29012 SWIG_null_ref("wxTreeItemId");
29014 if (SWIG_arg_fail(2)) SWIG_fail
;
29017 arg3
= (int)(SWIG_As_int(obj2
));
29018 if (SWIG_arg_fail(3)) SWIG_fail
;
29022 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
29023 if (SWIG_arg_fail(4)) SWIG_fail
;
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 Py_INCREF(Py_None
); resultobj
= Py_None
;
29040 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29043 wxTreeItemId
*arg2
= 0 ;
29044 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "item",(char *) "data", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail
;
29056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29057 if (SWIG_arg_fail(2)) SWIG_fail
;
29058 if (arg2
== NULL
) {
29059 SWIG_null_ref("wxTreeItemId");
29061 if (SWIG_arg_fail(2)) SWIG_fail
;
29063 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29064 if (SWIG_arg_fail(3)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29082 wxTreeItemId
*arg2
= 0 ;
29083 PyObject
*arg3
= (PyObject
*) 0 ;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "item",(char *) "obj", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29093 if (SWIG_arg_fail(1)) SWIG_fail
;
29095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29096 if (SWIG_arg_fail(2)) SWIG_fail
;
29097 if (arg2
== NULL
) {
29098 SWIG_null_ref("wxTreeItemId");
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 Py_INCREF(Py_None
); resultobj
= Py_None
;
29117 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
;
29119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29120 wxTreeItemId
*arg2
= 0 ;
29121 bool arg3
= (bool) true ;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 PyObject
* obj2
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self",(char *) "item",(char *) "has", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29131 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(2)) SWIG_fail
;
29135 if (arg2
== NULL
) {
29136 SWIG_null_ref("wxTreeItemId");
29138 if (SWIG_arg_fail(2)) SWIG_fail
;
29142 arg3
= (bool)(SWIG_As_bool(obj2
));
29143 if (SWIG_arg_fail(3)) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 Py_INCREF(Py_None
); resultobj
= Py_None
;
29160 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29163 wxTreeItemId
*arg2
= 0 ;
29164 bool arg3
= (bool) true ;
29165 PyObject
* obj0
= 0 ;
29166 PyObject
* obj1
= 0 ;
29167 PyObject
* obj2
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "self",(char *) "item",(char *) "bold", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29174 if (SWIG_arg_fail(1)) SWIG_fail
;
29176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29177 if (SWIG_arg_fail(2)) SWIG_fail
;
29178 if (arg2
== NULL
) {
29179 SWIG_null_ref("wxTreeItemId");
29181 if (SWIG_arg_fail(2)) SWIG_fail
;
29185 arg3
= (bool)(SWIG_As_bool(obj2
));
29186 if (SWIG_arg_fail(3)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 Py_INCREF(Py_None
); resultobj
= Py_None
;
29203 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29206 wxTreeItemId
*arg2
= 0 ;
29207 bool arg3
= (bool) true ;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self",(char *) "item",(char *) "highlight", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29217 if (SWIG_arg_fail(1)) SWIG_fail
;
29219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29220 if (SWIG_arg_fail(2)) SWIG_fail
;
29221 if (arg2
== NULL
) {
29222 SWIG_null_ref("wxTreeItemId");
29224 if (SWIG_arg_fail(2)) SWIG_fail
;
29228 arg3
= (bool)(SWIG_As_bool(obj2
));
29229 if (SWIG_arg_fail(3)) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 Py_INCREF(Py_None
); resultobj
= Py_None
;
29246 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29249 wxTreeItemId
*arg2
= 0 ;
29250 wxColour
*arg3
= 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self",(char *) "item",(char *) "col", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail
;
29263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29264 if (SWIG_arg_fail(2)) SWIG_fail
;
29265 if (arg2
== NULL
) {
29266 SWIG_null_ref("wxTreeItemId");
29268 if (SWIG_arg_fail(2)) SWIG_fail
;
29272 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29281 Py_INCREF(Py_None
); resultobj
= Py_None
;
29288 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29291 wxTreeItemId
*arg2
= 0 ;
29292 wxColour
*arg3
= 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 PyObject
* obj2
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "item",(char *) "col", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(1)) SWIG_fail
;
29305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29306 if (SWIG_arg_fail(2)) SWIG_fail
;
29307 if (arg2
== NULL
) {
29308 SWIG_null_ref("wxTreeItemId");
29310 if (SWIG_arg_fail(2)) SWIG_fail
;
29314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29330 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29333 wxTreeItemId
*arg2
= 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 char *kwnames
[] = {
29339 (char *) "self",(char *) "item",(char *) "font", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29344 if (SWIG_arg_fail(1)) SWIG_fail
;
29346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(2)) SWIG_fail
;
29348 if (arg2
== NULL
) {
29349 SWIG_null_ref("wxTreeItemId");
29351 if (SWIG_arg_fail(2)) SWIG_fail
;
29354 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29355 if (SWIG_arg_fail(3)) SWIG_fail
;
29356 if (arg3
== NULL
) {
29357 SWIG_null_ref("wxFont");
29359 if (SWIG_arg_fail(3)) SWIG_fail
;
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 Py_INCREF(Py_None
); resultobj
= Py_None
;
29375 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
;
29377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29378 wxTreeItemId
*arg2
= 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self",(char *) "item", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29388 if (SWIG_arg_fail(1)) SWIG_fail
;
29390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(2)) SWIG_fail
;
29392 if (arg2
== NULL
) {
29393 SWIG_null_ref("wxTreeItemId");
29395 if (SWIG_arg_fail(2)) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29413 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29416 wxTreeItemId
*arg2
= 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "item", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail
;
29428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29429 if (SWIG_arg_fail(2)) SWIG_fail
;
29430 if (arg2
== NULL
) {
29431 SWIG_null_ref("wxTreeItemId");
29433 if (SWIG_arg_fail(2)) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29454 wxTreeItemId
*arg2
= 0 ;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self",(char *) "item", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29464 if (SWIG_arg_fail(1)) SWIG_fail
;
29466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29467 if (SWIG_arg_fail(2)) SWIG_fail
;
29468 if (arg2
== NULL
) {
29469 SWIG_null_ref("wxTreeItemId");
29471 if (SWIG_arg_fail(2)) SWIG_fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29489 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
;
29491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29492 wxTreeItemId
*arg2
= 0 ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self",(char *) "item", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29502 if (SWIG_arg_fail(1)) SWIG_fail
;
29504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(2)) SWIG_fail
;
29506 if (arg2
== NULL
) {
29507 SWIG_null_ref("wxTreeItemId");
29509 if (SWIG_arg_fail(2)) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29527 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29530 wxTreeItemId
*arg2
= 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "item", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(1)) SWIG_fail
;
29542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29543 if (SWIG_arg_fail(2)) SWIG_fail
;
29544 if (arg2
== NULL
) {
29545 SWIG_null_ref("wxTreeItemId");
29547 if (SWIG_arg_fail(2)) SWIG_fail
;
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29565 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
;
29567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29568 wxTreeItemId
*arg2
= 0 ;
29569 bool arg3
= (bool) true ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 PyObject
* obj2
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "item",(char *) "recursively", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail
;
29582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29583 if (SWIG_arg_fail(2)) SWIG_fail
;
29584 if (arg2
== NULL
) {
29585 SWIG_null_ref("wxTreeItemId");
29587 if (SWIG_arg_fail(2)) SWIG_fail
;
29591 arg3
= (bool)(SWIG_As_bool(obj2
));
29592 if (SWIG_arg_fail(3)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29611 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29614 wxTreeItemId result
;
29615 PyObject
* obj0
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 wxTreeItemId
* resultptr
;
29632 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29641 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29644 wxTreeItemId result
;
29645 PyObject
* obj0
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 wxTreeItemId
* resultptr
;
29662 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29671 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
;
29673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29675 PyObject
* obj0
= 0 ;
29676 char *kwnames
[] = {
29677 (char *) "self", NULL
29680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= result
;
29697 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29700 wxTreeItemId
*arg2
= 0 ;
29701 wxTreeItemId result
;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self",(char *) "item", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29710 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29713 if (SWIG_arg_fail(2)) SWIG_fail
;
29714 if (arg2
== NULL
) {
29715 SWIG_null_ref("wxTreeItemId");
29717 if (SWIG_arg_fail(2)) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 wxTreeItemId
* resultptr
;
29728 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29737 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
;
29739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29740 wxTreeItemId
*arg2
= 0 ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "item", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29750 if (SWIG_arg_fail(1)) SWIG_fail
;
29752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29753 if (SWIG_arg_fail(2)) SWIG_fail
;
29754 if (arg2
== NULL
) {
29755 SWIG_null_ref("wxTreeItemId");
29757 if (SWIG_arg_fail(2)) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= result
;
29773 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29776 wxTreeItemId
*arg2
= 0 ;
29777 void *arg3
= (void *) 0 ;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 PyObject
* obj2
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self",(char *) "item",(char *) "cookie", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29788 if (SWIG_arg_fail(1)) SWIG_fail
;
29790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29791 if (SWIG_arg_fail(2)) SWIG_fail
;
29792 if (arg2
== NULL
) {
29793 SWIG_null_ref("wxTreeItemId");
29795 if (SWIG_arg_fail(2)) SWIG_fail
;
29798 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29799 SWIG_arg_fail(3);SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
;
29816 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29819 wxTreeItemId
*arg2
= 0 ;
29820 wxTreeItemId result
;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 char *kwnames
[] = {
29824 (char *) "self",(char *) "item", NULL
29827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29829 if (SWIG_arg_fail(1)) SWIG_fail
;
29831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(2)) SWIG_fail
;
29833 if (arg2
== NULL
) {
29834 SWIG_null_ref("wxTreeItemId");
29836 if (SWIG_arg_fail(2)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 wxTreeItemId
* resultptr
;
29847 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29856 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
;
29858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29859 wxTreeItemId
*arg2
= 0 ;
29860 wxTreeItemId result
;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self",(char *) "item", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29869 if (SWIG_arg_fail(1)) SWIG_fail
;
29871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29872 if (SWIG_arg_fail(2)) SWIG_fail
;
29873 if (arg2
== NULL
) {
29874 SWIG_null_ref("wxTreeItemId");
29876 if (SWIG_arg_fail(2)) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 wxTreeItemId
* resultptr
;
29887 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29896 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29899 wxTreeItemId
*arg2
= 0 ;
29900 wxTreeItemId result
;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 char *kwnames
[] = {
29904 (char *) "self",(char *) "item", NULL
29907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(1)) SWIG_fail
;
29911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29912 if (SWIG_arg_fail(2)) SWIG_fail
;
29913 if (arg2
== NULL
) {
29914 SWIG_null_ref("wxTreeItemId");
29916 if (SWIG_arg_fail(2)) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 wxTreeItemId
* resultptr
;
29927 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29936 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29939 wxTreeItemId result
;
29940 PyObject
* obj0
= 0 ;
29941 char *kwnames
[] = {
29942 (char *) "self", NULL
29945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29947 if (SWIG_arg_fail(1)) SWIG_fail
;
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 wxTreeItemId
* resultptr
;
29957 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29966 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
;
29968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29969 wxTreeItemId
*arg2
= 0 ;
29970 wxTreeItemId result
;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self",(char *) "item", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29979 if (SWIG_arg_fail(1)) SWIG_fail
;
29981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(2)) SWIG_fail
;
29983 if (arg2
== NULL
) {
29984 SWIG_null_ref("wxTreeItemId");
29986 if (SWIG_arg_fail(2)) SWIG_fail
;
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29996 wxTreeItemId
* resultptr
;
29997 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30006 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
;
30008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30009 wxTreeItemId
*arg2
= 0 ;
30010 wxTreeItemId result
;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self",(char *) "item", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30022 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 if (arg2
== NULL
) {
30024 SWIG_null_ref("wxTreeItemId");
30026 if (SWIG_arg_fail(2)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 wxTreeItemId
* resultptr
;
30037 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30046 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
;
30048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30049 wxString
*arg2
= 0 ;
30050 int arg3
= (int) -1 ;
30051 int arg4
= (int) -1 ;
30052 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
30053 wxTreeItemId result
;
30054 bool temp2
= false ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 PyObject
* obj2
= 0 ;
30058 PyObject
* obj3
= 0 ;
30059 PyObject
* obj4
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(1)) SWIG_fail
;
30068 arg2
= wxString_in_helper(obj1
);
30069 if (arg2
== NULL
) SWIG_fail
;
30074 arg3
= (int)(SWIG_As_int(obj2
));
30075 if (SWIG_arg_fail(3)) SWIG_fail
;
30080 arg4
= (int)(SWIG_As_int(obj3
));
30081 if (SWIG_arg_fail(4)) SWIG_fail
;
30085 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(5)) SWIG_fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30096 wxTreeItemId
* resultptr
;
30097 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30114 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30117 wxTreeItemId
*arg2
= 0 ;
30118 wxString
*arg3
= 0 ;
30119 int arg4
= (int) -1 ;
30120 int arg5
= (int) -1 ;
30121 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30122 wxTreeItemId result
;
30123 bool temp3
= false ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 PyObject
* obj3
= 0 ;
30128 PyObject
* obj4
= 0 ;
30129 PyObject
* obj5
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail
;
30138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30139 if (SWIG_arg_fail(2)) SWIG_fail
;
30140 if (arg2
== NULL
) {
30141 SWIG_null_ref("wxTreeItemId");
30143 if (SWIG_arg_fail(2)) SWIG_fail
;
30146 arg3
= wxString_in_helper(obj2
);
30147 if (arg3
== NULL
) SWIG_fail
;
30152 arg4
= (int)(SWIG_As_int(obj3
));
30153 if (SWIG_arg_fail(4)) SWIG_fail
;
30158 arg5
= (int)(SWIG_As_int(obj4
));
30159 if (SWIG_arg_fail(5)) SWIG_fail
;
30163 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30164 if (SWIG_arg_fail(6)) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30174 wxTreeItemId
* resultptr
;
30175 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30192 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
;
30194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30195 wxTreeItemId
*arg2
= 0 ;
30196 wxTreeItemId
*arg3
= 0 ;
30197 wxString
*arg4
= 0 ;
30198 int arg5
= (int) -1 ;
30199 int arg6
= (int) -1 ;
30200 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30201 wxTreeItemId result
;
30202 bool temp4
= false ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 PyObject
* obj3
= 0 ;
30207 PyObject
* obj4
= 0 ;
30208 PyObject
* obj5
= 0 ;
30209 PyObject
* obj6
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30216 if (SWIG_arg_fail(1)) SWIG_fail
;
30218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30219 if (SWIG_arg_fail(2)) SWIG_fail
;
30220 if (arg2
== NULL
) {
30221 SWIG_null_ref("wxTreeItemId");
30223 if (SWIG_arg_fail(2)) SWIG_fail
;
30226 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30227 if (SWIG_arg_fail(3)) SWIG_fail
;
30228 if (arg3
== NULL
) {
30229 SWIG_null_ref("wxTreeItemId");
30231 if (SWIG_arg_fail(3)) SWIG_fail
;
30234 arg4
= wxString_in_helper(obj3
);
30235 if (arg4
== NULL
) SWIG_fail
;
30240 arg5
= (int)(SWIG_As_int(obj4
));
30241 if (SWIG_arg_fail(5)) SWIG_fail
;
30246 arg6
= (int)(SWIG_As_int(obj5
));
30247 if (SWIG_arg_fail(6)) SWIG_fail
;
30251 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30252 if (SWIG_arg_fail(7)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30262 wxTreeItemId
* resultptr
;
30263 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30280 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30283 wxTreeItemId
*arg2
= 0 ;
30285 wxString
*arg4
= 0 ;
30286 int arg5
= (int) -1 ;
30287 int arg6
= (int) -1 ;
30288 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30289 wxTreeItemId result
;
30290 bool temp4
= false ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 PyObject
* obj2
= 0 ;
30294 PyObject
* obj3
= 0 ;
30295 PyObject
* obj4
= 0 ;
30296 PyObject
* obj5
= 0 ;
30297 PyObject
* obj6
= 0 ;
30298 char *kwnames
[] = {
30299 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail
;
30306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(2)) SWIG_fail
;
30308 if (arg2
== NULL
) {
30309 SWIG_null_ref("wxTreeItemId");
30311 if (SWIG_arg_fail(2)) SWIG_fail
;
30314 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30315 if (SWIG_arg_fail(3)) SWIG_fail
;
30318 arg4
= wxString_in_helper(obj3
);
30319 if (arg4
== NULL
) SWIG_fail
;
30324 arg5
= (int)(SWIG_As_int(obj4
));
30325 if (SWIG_arg_fail(5)) SWIG_fail
;
30330 arg6
= (int)(SWIG_As_int(obj5
));
30331 if (SWIG_arg_fail(6)) SWIG_fail
;
30335 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30336 if (SWIG_arg_fail(7)) SWIG_fail
;
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 wxTreeItemId
* resultptr
;
30347 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30364 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30367 wxTreeItemId
*arg2
= 0 ;
30368 wxString
*arg3
= 0 ;
30369 int arg4
= (int) -1 ;
30370 int arg5
= (int) -1 ;
30371 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30372 wxTreeItemId result
;
30373 bool temp3
= false ;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 PyObject
* obj2
= 0 ;
30377 PyObject
* obj3
= 0 ;
30378 PyObject
* obj4
= 0 ;
30379 PyObject
* obj5
= 0 ;
30380 char *kwnames
[] = {
30381 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30386 if (SWIG_arg_fail(1)) SWIG_fail
;
30388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30389 if (SWIG_arg_fail(2)) SWIG_fail
;
30390 if (arg2
== NULL
) {
30391 SWIG_null_ref("wxTreeItemId");
30393 if (SWIG_arg_fail(2)) SWIG_fail
;
30396 arg3
= wxString_in_helper(obj2
);
30397 if (arg3
== NULL
) SWIG_fail
;
30402 arg4
= (int)(SWIG_As_int(obj3
));
30403 if (SWIG_arg_fail(4)) SWIG_fail
;
30408 arg5
= (int)(SWIG_As_int(obj4
));
30409 if (SWIG_arg_fail(5)) SWIG_fail
;
30413 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(6)) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 wxTreeItemId
* resultptr
;
30425 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30442 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30445 wxTreeItemId
*arg2
= 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "item", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30454 if (SWIG_arg_fail(1)) SWIG_fail
;
30456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30457 if (SWIG_arg_fail(2)) SWIG_fail
;
30458 if (arg2
== NULL
) {
30459 SWIG_null_ref("wxTreeItemId");
30461 if (SWIG_arg_fail(2)) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 Py_INCREF(Py_None
); resultobj
= Py_None
;
30477 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
;
30479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30480 wxTreeItemId
*arg2
= 0 ;
30481 PyObject
* obj0
= 0 ;
30482 PyObject
* obj1
= 0 ;
30483 char *kwnames
[] = {
30484 (char *) "self",(char *) "item", NULL
30487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30489 if (SWIG_arg_fail(1)) SWIG_fail
;
30491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(2)) SWIG_fail
;
30493 if (arg2
== NULL
) {
30494 SWIG_null_ref("wxTreeItemId");
30496 if (SWIG_arg_fail(2)) SWIG_fail
;
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30505 Py_INCREF(Py_None
); resultobj
= Py_None
;
30512 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
;
30514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30515 PyObject
* obj0
= 0 ;
30516 char *kwnames
[] = {
30517 (char *) "self", NULL
30520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30522 if (SWIG_arg_fail(1)) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 (arg1
)->DeleteAllItems();
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 Py_INCREF(Py_None
); resultobj
= Py_None
;
30537 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
;
30539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30540 wxTreeItemId
*arg2
= 0 ;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 char *kwnames
[] = {
30544 (char *) "self",(char *) "item", NULL
30547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30549 if (SWIG_arg_fail(1)) SWIG_fail
;
30551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30552 if (SWIG_arg_fail(2)) SWIG_fail
;
30553 if (arg2
== NULL
) {
30554 SWIG_null_ref("wxTreeItemId");
30556 if (SWIG_arg_fail(2)) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30575 wxTreeItemId
*arg2
= 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 char *kwnames
[] = {
30579 (char *) "self",(char *) "item", NULL
30582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30584 if (SWIG_arg_fail(1)) SWIG_fail
;
30586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(2)) SWIG_fail
;
30588 if (arg2
== NULL
) {
30589 SWIG_null_ref("wxTreeItemId");
30591 if (SWIG_arg_fail(2)) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30610 wxTreeItemId
*arg2
= 0 ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "item", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail
;
30621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail
;
30623 if (arg2
== NULL
) {
30624 SWIG_null_ref("wxTreeItemId");
30626 if (SWIG_arg_fail(2)) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 Py_INCREF(Py_None
); resultobj
= Py_None
;
30642 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30645 wxTreeItemId
*arg2
= 0 ;
30646 PyObject
* obj0
= 0 ;
30647 PyObject
* obj1
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self",(char *) "item", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30654 if (SWIG_arg_fail(1)) SWIG_fail
;
30656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(2)) SWIG_fail
;
30658 if (arg2
== NULL
) {
30659 SWIG_null_ref("wxTreeItemId");
30661 if (SWIG_arg_fail(2)) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 Py_INCREF(Py_None
); resultobj
= Py_None
;
30677 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 (arg1
)->Unselect();
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 Py_INCREF(Py_None
); resultobj
= Py_None
;
30702 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
;
30704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30705 wxTreeItemId
*arg2
= 0 ;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "item", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30718 if (arg2
== NULL
) {
30719 SWIG_null_ref("wxTreeItemId");
30721 if (SWIG_arg_fail(2)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30740 PyObject
* obj0
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30747 if (SWIG_arg_fail(1)) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 (arg1
)->UnselectAll();
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 Py_INCREF(Py_None
); resultobj
= Py_None
;
30762 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
;
30764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30765 wxTreeItemId
*arg2
= 0 ;
30766 bool arg3
= (bool) true ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self",(char *) "item",(char *) "select", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30776 if (SWIG_arg_fail(1)) SWIG_fail
;
30778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30779 if (SWIG_arg_fail(2)) SWIG_fail
;
30780 if (arg2
== NULL
) {
30781 SWIG_null_ref("wxTreeItemId");
30783 if (SWIG_arg_fail(2)) SWIG_fail
;
30787 arg3
= (bool)(SWIG_As_bool(obj2
));
30788 if (SWIG_arg_fail(3)) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 Py_INCREF(Py_None
); resultobj
= Py_None
;
30805 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30808 wxTreeItemId
*arg2
= 0 ;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self",(char *) "item", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30817 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30820 if (SWIG_arg_fail(2)) SWIG_fail
;
30821 if (arg2
== NULL
) {
30822 SWIG_null_ref("wxTreeItemId");
30824 if (SWIG_arg_fail(2)) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 Py_INCREF(Py_None
); resultobj
= Py_None
;
30840 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30843 wxTreeItemId
*arg2
= 0 ;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self",(char *) "item", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30852 if (SWIG_arg_fail(1)) SWIG_fail
;
30854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30855 if (SWIG_arg_fail(2)) SWIG_fail
;
30856 if (arg2
== NULL
) {
30857 SWIG_null_ref("wxTreeItemId");
30859 if (SWIG_arg_fail(2)) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30878 wxTreeItemId
*arg2
= 0 ;
30879 PyObject
* obj0
= 0 ;
30880 PyObject
* obj1
= 0 ;
30881 char *kwnames
[] = {
30882 (char *) "self",(char *) "item", NULL
30885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30887 if (SWIG_arg_fail(1)) SWIG_fail
;
30889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(2)) SWIG_fail
;
30891 if (arg2
== NULL
) {
30892 SWIG_null_ref("wxTreeItemId");
30894 if (SWIG_arg_fail(2)) SWIG_fail
;
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 Py_INCREF(Py_None
); resultobj
= Py_None
;
30910 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30913 wxTreeItemId
*arg2
= 0 ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "self",(char *) "item", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30922 if (SWIG_arg_fail(1)) SWIG_fail
;
30924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(2)) SWIG_fail
;
30926 if (arg2
== NULL
) {
30927 SWIG_null_ref("wxTreeItemId");
30929 if (SWIG_arg_fail(2)) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 Py_INCREF(Py_None
); resultobj
= Py_None
;
30945 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
;
30947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30948 wxTextCtrl
*result
;
30949 PyObject
* obj0
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30956 if (SWIG_arg_fail(1)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= wxPyMake_wxObject(result
, 0);
30973 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30976 wxTreeItemId
*arg2
= 0 ;
30977 bool arg3
= (bool) false ;
30978 PyObject
* obj0
= 0 ;
30979 PyObject
* obj1
= 0 ;
30980 PyObject
* obj2
= 0 ;
30981 char *kwnames
[] = {
30982 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30987 if (SWIG_arg_fail(1)) SWIG_fail
;
30989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30990 if (SWIG_arg_fail(2)) SWIG_fail
;
30991 if (arg2
== NULL
) {
30992 SWIG_null_ref("wxTreeItemId");
30994 if (SWIG_arg_fail(2)) SWIG_fail
;
30998 arg3
= (bool)(SWIG_As_bool(obj2
));
30999 if (SWIG_arg_fail(3)) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 Py_INCREF(Py_None
); resultobj
= Py_None
;
31016 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31019 wxTreeItemId
*arg2
= 0 ;
31020 PyObject
* obj0
= 0 ;
31021 PyObject
* obj1
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self",(char *) "item", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31028 if (SWIG_arg_fail(1)) SWIG_fail
;
31030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31031 if (SWIG_arg_fail(2)) SWIG_fail
;
31032 if (arg2
== NULL
) {
31033 SWIG_null_ref("wxTreeItemId");
31035 if (SWIG_arg_fail(2)) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 Py_INCREF(Py_None
); resultobj
= Py_None
;
31051 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31054 wxPoint
*arg2
= 0 ;
31056 wxTreeItemId result
;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "point", NULL
31066 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(1)) SWIG_fail
;
31072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31082 wxTreeItemId
* resultptr
;
31083 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31086 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31087 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31094 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31095 PyObject
*resultobj
;
31096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31097 wxTreeItemId
*arg2
= 0 ;
31098 bool arg3
= (bool) false ;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 char *kwnames
[] = {
31104 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31109 if (SWIG_arg_fail(1)) SWIG_fail
;
31111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31112 if (SWIG_arg_fail(2)) SWIG_fail
;
31113 if (arg2
== NULL
) {
31114 SWIG_null_ref("wxTreeItemId");
31116 if (SWIG_arg_fail(2)) SWIG_fail
;
31120 arg3
= (bool)(SWIG_As_bool(obj2
));
31121 if (SWIG_arg_fail(3)) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= result
;
31138 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
;
31140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31141 wxTreeItemId
*arg2
= 0 ;
31143 PyObject
* obj0
= 0 ;
31144 PyObject
* obj1
= 0 ;
31145 PyObject
* obj2
= 0 ;
31146 char *kwnames
[] = {
31147 (char *) "self",(char *) "node",(char *) "state", NULL
31150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31152 if (SWIG_arg_fail(1)) SWIG_fail
;
31154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31155 if (SWIG_arg_fail(2)) SWIG_fail
;
31156 if (arg2
== NULL
) {
31157 SWIG_null_ref("wxTreeItemId");
31159 if (SWIG_arg_fail(2)) SWIG_fail
;
31162 arg3
= (int)(SWIG_As_int(obj2
));
31163 if (SWIG_arg_fail(3)) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 Py_INCREF(Py_None
); resultobj
= Py_None
;
31179 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
;
31181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31182 wxTreeItemId
*arg2
= 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self",(char *) "node", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31192 if (SWIG_arg_fail(1)) SWIG_fail
;
31194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31195 if (SWIG_arg_fail(2)) SWIG_fail
;
31196 if (arg2
== NULL
) {
31197 SWIG_null_ref("wxTreeItemId");
31199 if (SWIG_arg_fail(2)) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_From_int((int)(result
));
31217 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31220 wxVisualAttributes result
;
31221 PyObject
* obj0
= 0 ;
31222 char *kwnames
[] = {
31223 (char *) "variant", NULL
31226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31229 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31234 if (!wxPyCheckForApp()) SWIG_fail
;
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31242 wxVisualAttributes
* resultptr
;
31243 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31252 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31255 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31257 return Py_BuildValue((char *)"");
31259 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31260 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31265 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31270 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31272 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31279 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
;
31281 wxWindow
*arg1
= (wxWindow
*) 0 ;
31282 int arg2
= (int) (int)-1 ;
31283 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31284 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31289 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31290 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31292 int arg8
= (int) 0 ;
31293 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31294 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31295 wxGenericDirCtrl
*result
;
31296 bool temp3
= false ;
31299 bool temp7
= false ;
31300 bool temp9
= false ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 PyObject
* obj2
= 0 ;
31304 PyObject
* obj3
= 0 ;
31305 PyObject
* obj4
= 0 ;
31306 PyObject
* obj5
= 0 ;
31307 PyObject
* obj6
= 0 ;
31308 PyObject
* obj7
= 0 ;
31309 PyObject
* obj8
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail
;
31319 arg2
= (int const)(SWIG_As_int(obj1
));
31320 if (SWIG_arg_fail(2)) SWIG_fail
;
31325 arg3
= wxString_in_helper(obj2
);
31326 if (arg3
== NULL
) SWIG_fail
;
31333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31344 arg6
= (long)(SWIG_As_long(obj5
));
31345 if (SWIG_arg_fail(6)) SWIG_fail
;
31350 arg7
= wxString_in_helper(obj6
);
31351 if (arg7
== NULL
) SWIG_fail
;
31357 arg8
= (int)(SWIG_As_int(obj7
));
31358 if (SWIG_arg_fail(8)) SWIG_fail
;
31363 arg9
= wxString_in_helper(obj8
);
31364 if (arg9
== NULL
) SWIG_fail
;
31369 if (!wxPyCheckForApp()) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31407 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxGenericDirCtrl
*result
;
31410 char *kwnames
[] = {
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31416 if (!wxPyCheckForApp()) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31430 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31433 wxWindow
*arg2
= (wxWindow
*) 0 ;
31434 int arg3
= (int) (int)-1 ;
31435 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31436 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31437 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31438 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31439 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31440 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31441 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31442 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31443 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31444 int arg9
= (int) 0 ;
31445 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31446 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31448 bool temp4
= false ;
31451 bool temp8
= false ;
31452 bool temp10
= false ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 PyObject
* obj2
= 0 ;
31456 PyObject
* obj3
= 0 ;
31457 PyObject
* obj4
= 0 ;
31458 PyObject
* obj5
= 0 ;
31459 PyObject
* obj6
= 0 ;
31460 PyObject
* obj7
= 0 ;
31461 PyObject
* obj8
= 0 ;
31462 PyObject
* obj9
= 0 ;
31463 char *kwnames
[] = {
31464 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31469 if (SWIG_arg_fail(1)) SWIG_fail
;
31470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31471 if (SWIG_arg_fail(2)) SWIG_fail
;
31474 arg3
= (int const)(SWIG_As_int(obj2
));
31475 if (SWIG_arg_fail(3)) SWIG_fail
;
31480 arg4
= wxString_in_helper(obj3
);
31481 if (arg4
== NULL
) SWIG_fail
;
31488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31499 arg7
= (long)(SWIG_As_long(obj6
));
31500 if (SWIG_arg_fail(7)) SWIG_fail
;
31505 arg8
= wxString_in_helper(obj7
);
31506 if (arg8
== NULL
) SWIG_fail
;
31512 arg9
= (int)(SWIG_As_int(obj8
));
31513 if (SWIG_arg_fail(9)) SWIG_fail
;
31518 arg10
= wxString_in_helper(obj9
);
31519 if (arg10
== NULL
) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31563 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
;
31565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31566 wxString
*arg2
= 0 ;
31568 bool temp2
= false ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self",(char *) "path", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31577 if (SWIG_arg_fail(1)) SWIG_fail
;
31579 arg2
= wxString_in_helper(obj1
);
31580 if (arg2
== NULL
) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31607 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
;
31609 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31611 PyObject
* obj0
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31618 if (SWIG_arg_fail(1)) SWIG_fail
;
31620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31639 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31642 wxString
*arg2
= 0 ;
31643 bool temp2
= false ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 char *kwnames
[] = {
31647 (char *) "self",(char *) "path", NULL
31650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31652 if (SWIG_arg_fail(1)) SWIG_fail
;
31654 arg2
= wxString_in_helper(obj1
);
31655 if (arg2
== NULL
) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 Py_INCREF(Py_None
); resultobj
= Py_None
;
31680 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31712 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
;
31714 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 char *kwnames
[] = {
31718 (char *) "self", NULL
31721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31723 if (SWIG_arg_fail(1)) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31744 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31747 wxString
*arg2
= 0 ;
31748 bool temp2
= false ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self",(char *) "path", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail
;
31759 arg2
= wxString_in_helper(obj1
);
31760 if (arg2
== NULL
) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 (arg1
)->SetPath((wxString
const &)*arg2
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 Py_INCREF(Py_None
); resultobj
= Py_None
;
31785 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self",(char *) "show", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31797 if (SWIG_arg_fail(1)) SWIG_fail
;
31799 arg2
= (bool)(SWIG_As_bool(obj1
));
31800 if (SWIG_arg_fail(2)) SWIG_fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 (arg1
)->ShowHidden(arg2
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 Py_INCREF(Py_None
); resultobj
= Py_None
;
31816 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
;
31818 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31820 PyObject
* obj0
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "self", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= (bool)(arg1
)->GetShowHidden();
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31844 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31855 if (SWIG_arg_fail(1)) SWIG_fail
;
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31860 wxPyEndAllowThreads(__tstate
);
31861 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31876 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31879 wxString
*arg2
= 0 ;
31880 bool temp2
= false ;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 char *kwnames
[] = {
31884 (char *) "self",(char *) "filter", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31889 if (SWIG_arg_fail(1)) SWIG_fail
;
31891 arg2
= wxString_in_helper(obj1
);
31892 if (arg2
== NULL
) SWIG_fail
;
31896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31897 (arg1
)->SetFilter((wxString
const &)*arg2
);
31899 wxPyEndAllowThreads(__tstate
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31902 Py_INCREF(Py_None
); resultobj
= Py_None
;
31917 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
;
31919 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31921 PyObject
* obj0
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31928 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= SWIG_From_int((int)(result
));
31945 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self",(char *) "n", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 arg2
= (int)(SWIG_As_int(obj1
));
31960 if (SWIG_arg_fail(2)) SWIG_fail
;
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 (arg1
)->SetFilterIndex(arg2
);
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31969 Py_INCREF(Py_None
); resultobj
= Py_None
;
31976 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31979 wxTreeItemId result
;
31980 PyObject
* obj0
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 result
= (arg1
)->GetRootId();
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31996 wxTreeItemId
* resultptr
;
31997 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32006 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32009 wxPyTreeCtrl
*result
;
32010 PyObject
* obj0
= 0 ;
32011 char *kwnames
[] = {
32012 (char *) "self", NULL
32015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
32016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32017 if (SWIG_arg_fail(1)) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= wxPyMake_wxObject(result
, 0);
32034 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32037 wxDirFilterListCtrl
*result
;
32038 PyObject
* obj0
= 0 ;
32039 char *kwnames
[] = {
32040 (char *) "self", NULL
32043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
32044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32045 if (SWIG_arg_fail(1)) SWIG_fail
;
32047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32048 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
32060 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
;
32062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32063 wxTreeItemId arg2
;
32064 wxString
*arg3
= 0 ;
32066 wxTreeItemId result
;
32067 bool temp3
= false ;
32070 PyObject
* obj0
= 0 ;
32071 PyObject
* obj1
= 0 ;
32072 PyObject
* obj2
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "self",(char *) "parentId",(char *) "path", NULL
32077 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32080 if (SWIG_arg_fail(1)) SWIG_fail
;
32082 wxTreeItemId
* argp
;
32083 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32084 if (SWIG_arg_fail(2)) SWIG_fail
;
32085 if (argp
== NULL
) {
32086 SWIG_null_ref("wxTreeItemId");
32088 if (SWIG_arg_fail(2)) SWIG_fail
;
32092 arg3
= wxString_in_helper(obj2
);
32093 if (arg3
== NULL
) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32104 wxTreeItemId
* resultptr
;
32105 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32108 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32109 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32124 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32125 PyObject
*resultobj
;
32126 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32134 if (SWIG_arg_fail(1)) SWIG_fail
;
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 (arg1
)->DoResize();
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32142 Py_INCREF(Py_None
); resultobj
= Py_None
;
32149 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
;
32151 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32159 if (SWIG_arg_fail(1)) SWIG_fail
;
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 (arg1
)->ReCreateTree();
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32167 Py_INCREF(Py_None
); resultobj
= Py_None
;
32174 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32177 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32179 return Py_BuildValue((char *)"");
32181 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32184 int arg2
= (int) (int)-1 ;
32185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32189 long arg5
= (long) 0 ;
32190 wxDirFilterListCtrl
*result
;
32193 PyObject
* obj0
= 0 ;
32194 PyObject
* obj1
= 0 ;
32195 PyObject
* obj2
= 0 ;
32196 PyObject
* obj3
= 0 ;
32197 PyObject
* obj4
= 0 ;
32198 char *kwnames
[] = {
32199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32204 if (SWIG_arg_fail(1)) SWIG_fail
;
32207 arg2
= (int const)(SWIG_As_int(obj1
));
32208 if (SWIG_arg_fail(2)) SWIG_fail
;
32214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32225 arg5
= (long)(SWIG_As_long(obj4
));
32226 if (SWIG_arg_fail(5)) SWIG_fail
;
32230 if (!wxPyCheckForApp()) SWIG_fail
;
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32234 wxPyEndAllowThreads(__tstate
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32244 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
;
32246 wxDirFilterListCtrl
*result
;
32247 char *kwnames
[] = {
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32253 if (!wxPyCheckForApp()) SWIG_fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32267 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
;
32269 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32270 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32271 int arg3
= (int) (int)-1 ;
32272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32276 long arg6
= (long) 0 ;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 PyObject
* obj2
= 0 ;
32283 PyObject
* obj3
= 0 ;
32284 PyObject
* obj4
= 0 ;
32285 PyObject
* obj5
= 0 ;
32286 char *kwnames
[] = {
32287 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32292 if (SWIG_arg_fail(1)) SWIG_fail
;
32293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32294 if (SWIG_arg_fail(2)) SWIG_fail
;
32297 arg3
= (int const)(SWIG_As_int(obj2
));
32298 if (SWIG_arg_fail(3)) SWIG_fail
;
32304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32315 arg6
= (long)(SWIG_As_long(obj5
));
32316 if (SWIG_arg_fail(6)) SWIG_fail
;
32320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32335 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32336 PyObject
*resultobj
;
32337 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32338 wxString
*arg2
= 0 ;
32340 bool temp2
= false ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 PyObject
* obj2
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32350 if (SWIG_arg_fail(1)) SWIG_fail
;
32352 arg2
= wxString_in_helper(obj1
);
32353 if (arg2
== NULL
) SWIG_fail
;
32357 arg3
= (int)(SWIG_As_int(obj2
));
32358 if (SWIG_arg_fail(3)) SWIG_fail
;
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 Py_INCREF(Py_None
); resultobj
= Py_None
;
32382 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32385 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32387 return Py_BuildValue((char *)"");
32389 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
;
32391 wxWindow
*arg1
= (wxWindow
*) 0 ;
32392 int arg2
= (int) (int)-1 ;
32393 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32394 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32395 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32396 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32397 long arg5
= (long) 0 ;
32398 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32399 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32400 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32402 wxPyControl
*result
;
32405 bool temp7
= false ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 PyObject
* obj2
= 0 ;
32409 PyObject
* obj3
= 0 ;
32410 PyObject
* obj4
= 0 ;
32411 PyObject
* obj5
= 0 ;
32412 PyObject
* obj6
= 0 ;
32413 char *kwnames
[] = {
32414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail
;
32422 arg2
= (int const)(SWIG_As_int(obj1
));
32423 if (SWIG_arg_fail(2)) SWIG_fail
;
32429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32440 arg5
= (long)(SWIG_As_long(obj4
));
32441 if (SWIG_arg_fail(5)) SWIG_fail
;
32446 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32447 if (SWIG_arg_fail(6)) SWIG_fail
;
32448 if (arg6
== NULL
) {
32449 SWIG_null_ref("wxValidator");
32451 if (SWIG_arg_fail(6)) SWIG_fail
;
32456 arg7
= wxString_in_helper(obj6
);
32457 if (arg7
== NULL
) SWIG_fail
;
32462 if (!wxPyCheckForApp()) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32484 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
;
32486 wxPyControl
*result
;
32487 char *kwnames
[] = {
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32493 if (!wxPyCheckForApp()) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= (wxPyControl
*)new wxPyControl();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32507 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32508 PyObject
*resultobj
;
32509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32510 PyObject
*arg2
= (PyObject
*) 0 ;
32511 PyObject
*arg3
= (PyObject
*) 0 ;
32512 PyObject
* obj0
= 0 ;
32513 PyObject
* obj1
= 0 ;
32514 PyObject
* obj2
= 0 ;
32515 char *kwnames
[] = {
32516 (char *) "self",(char *) "self",(char *) "_class", NULL
32519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32521 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 Py_INCREF(Py_None
); resultobj
= Py_None
;
32538 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32539 PyObject
*resultobj
;
32540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 char *kwnames
[] = {
32546 (char *) "self",(char *) "size", NULL
32549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32551 if (SWIG_arg_fail(1)) SWIG_fail
;
32554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 Py_INCREF(Py_None
); resultobj
= Py_None
;
32570 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32571 PyObject
*resultobj
;
32572 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 PyObject
* obj2
= 0 ;
32580 PyObject
* obj3
= 0 ;
32581 PyObject
* obj4
= 0 ;
32582 char *kwnames
[] = {
32583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32588 if (SWIG_arg_fail(1)) SWIG_fail
;
32590 arg2
= (int)(SWIG_As_int(obj1
));
32591 if (SWIG_arg_fail(2)) SWIG_fail
;
32594 arg3
= (int)(SWIG_As_int(obj2
));
32595 if (SWIG_arg_fail(3)) SWIG_fail
;
32598 arg4
= (int)(SWIG_As_int(obj3
));
32599 if (SWIG_arg_fail(4)) SWIG_fail
;
32602 arg5
= (int)(SWIG_As_int(obj4
));
32603 if (SWIG_arg_fail(5)) SWIG_fail
;
32606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32607 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 Py_INCREF(Py_None
); resultobj
= Py_None
;
32619 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32626 int arg6
= (int) wxSIZE_AUTO
;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 PyObject
* obj2
= 0 ;
32630 PyObject
* obj3
= 0 ;
32631 PyObject
* obj4
= 0 ;
32632 PyObject
* obj5
= 0 ;
32633 char *kwnames
[] = {
32634 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32639 if (SWIG_arg_fail(1)) SWIG_fail
;
32641 arg2
= (int)(SWIG_As_int(obj1
));
32642 if (SWIG_arg_fail(2)) SWIG_fail
;
32645 arg3
= (int)(SWIG_As_int(obj2
));
32646 if (SWIG_arg_fail(3)) SWIG_fail
;
32649 arg4
= (int)(SWIG_As_int(obj3
));
32650 if (SWIG_arg_fail(4)) SWIG_fail
;
32653 arg5
= (int)(SWIG_As_int(obj4
));
32654 if (SWIG_arg_fail(5)) SWIG_fail
;
32658 arg6
= (int)(SWIG_As_int(obj5
));
32659 if (SWIG_arg_fail(6)) SWIG_fail
;
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 Py_INCREF(Py_None
); resultobj
= Py_None
;
32676 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32681 PyObject
* obj0
= 0 ;
32682 PyObject
* obj1
= 0 ;
32683 PyObject
* obj2
= 0 ;
32684 char *kwnames
[] = {
32685 (char *) "self",(char *) "width",(char *) "height", NULL
32688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32690 if (SWIG_arg_fail(1)) SWIG_fail
;
32692 arg2
= (int)(SWIG_As_int(obj1
));
32693 if (SWIG_arg_fail(2)) SWIG_fail
;
32696 arg3
= (int)(SWIG_As_int(obj2
));
32697 if (SWIG_arg_fail(3)) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 Py_INCREF(Py_None
); resultobj
= Py_None
;
32713 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32718 PyObject
* obj0
= 0 ;
32719 PyObject
* obj1
= 0 ;
32720 PyObject
* obj2
= 0 ;
32721 char *kwnames
[] = {
32722 (char *) "self",(char *) "x",(char *) "y", NULL
32725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32727 if (SWIG_arg_fail(1)) SWIG_fail
;
32729 arg2
= (int)(SWIG_As_int(obj1
));
32730 if (SWIG_arg_fail(2)) SWIG_fail
;
32733 arg3
= (int)(SWIG_As_int(obj2
));
32734 if (SWIG_arg_fail(3)) SWIG_fail
;
32737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32738 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32740 wxPyEndAllowThreads(__tstate
);
32741 if (PyErr_Occurred()) SWIG_fail
;
32743 Py_INCREF(Py_None
); resultobj
= Py_None
;
32750 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
;
32752 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32753 int *arg2
= (int *) 0 ;
32754 int *arg3
= (int *) 0 ;
32759 PyObject
* obj0
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self", NULL
32764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32765 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32768 if (SWIG_arg_fail(1)) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 Py_INCREF(Py_None
); resultobj
= Py_None
;
32777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32778 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32779 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32780 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32787 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32790 int *arg2
= (int *) 0 ;
32791 int *arg3
= (int *) 0 ;
32796 PyObject
* obj0
= 0 ;
32797 char *kwnames
[] = {
32798 (char *) "self", NULL
32801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32805 if (SWIG_arg_fail(1)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 Py_INCREF(Py_None
); resultobj
= Py_None
;
32814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32815 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32817 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32824 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32825 PyObject
*resultobj
;
32826 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32827 int *arg2
= (int *) 0 ;
32828 int *arg3
= (int *) 0 ;
32833 PyObject
* obj0
= 0 ;
32834 char *kwnames
[] = {
32835 (char *) "self", NULL
32838 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32839 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 Py_INCREF(Py_None
); resultobj
= Py_None
;
32851 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32852 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32853 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32854 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32861 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
;
32863 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32865 PyObject
* obj0
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail
;
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32881 wxSize
* resultptr
;
32882 resultptr
= new wxSize((wxSize
&)(result
));
32883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32891 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
;
32893 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32895 PyObject
* obj0
= 0 ;
32896 char *kwnames
[] = {
32897 (char *) "self", NULL
32900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32902 if (SWIG_arg_fail(1)) SWIG_fail
;
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32911 wxSize
* resultptr
;
32912 resultptr
= new wxSize((wxSize
&)(result
));
32913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32921 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
;
32923 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32924 PyObject
* obj0
= 0 ;
32925 char *kwnames
[] = {
32926 (char *) "self", NULL
32929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32931 if (SWIG_arg_fail(1)) SWIG_fail
;
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->base_InitDialog();
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32939 Py_INCREF(Py_None
); resultobj
= Py_None
;
32946 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32947 PyObject
*resultobj
;
32948 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 char *kwnames
[] = {
32952 (char *) "self", NULL
32955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32957 if (SWIG_arg_fail(1)) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 result
= (bool)(arg1
)->base_TransferDataToWindow();
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32974 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32975 PyObject
*resultobj
;
32976 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32978 PyObject
* obj0
= 0 ;
32979 char *kwnames
[] = {
32980 (char *) "self", NULL
32983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32985 if (SWIG_arg_fail(1)) SWIG_fail
;
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32990 wxPyEndAllowThreads(__tstate
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33002 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
;
33004 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33006 PyObject
* obj0
= 0 ;
33007 char *kwnames
[] = {
33008 (char *) "self", NULL
33011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
33012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33013 if (SWIG_arg_fail(1)) SWIG_fail
;
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (bool)(arg1
)->base_Validate();
33018 wxPyEndAllowThreads(__tstate
);
33019 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33030 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 char *kwnames
[] = {
33036 (char *) "self", NULL
33039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
33040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33041 if (SWIG_arg_fail(1)) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33058 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
;
33060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33069 if (SWIG_arg_fail(1)) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33086 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33087 PyObject
*resultobj
;
33088 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33090 PyObject
* obj0
= 0 ;
33091 char *kwnames
[] = {
33092 (char *) "self", NULL
33095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33097 if (SWIG_arg_fail(1)) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33106 wxSize
* resultptr
;
33107 resultptr
= new wxSize((wxSize
&)(result
));
33108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33116 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33119 wxWindow
*arg2
= (wxWindow
*) 0 ;
33120 PyObject
* obj0
= 0 ;
33121 PyObject
* obj1
= 0 ;
33122 char *kwnames
[] = {
33123 (char *) "self",(char *) "child", NULL
33126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33128 if (SWIG_arg_fail(1)) SWIG_fail
;
33129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33130 if (SWIG_arg_fail(2)) SWIG_fail
;
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 (arg1
)->base_AddChild(arg2
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 Py_INCREF(Py_None
); resultobj
= Py_None
;
33145 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33146 PyObject
*resultobj
;
33147 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33148 wxWindow
*arg2
= (wxWindow
*) 0 ;
33149 PyObject
* obj0
= 0 ;
33150 PyObject
* obj1
= 0 ;
33151 char *kwnames
[] = {
33152 (char *) "self",(char *) "child", NULL
33155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33157 if (SWIG_arg_fail(1)) SWIG_fail
;
33158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33159 if (SWIG_arg_fail(2)) SWIG_fail
;
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 (arg1
)->base_RemoveChild(arg2
);
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33167 Py_INCREF(Py_None
); resultobj
= Py_None
;
33174 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
;
33176 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33178 PyObject
* obj0
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33185 if (SWIG_arg_fail(1)) SWIG_fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33202 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
;
33204 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33205 wxColour
*arg2
= 0 ;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 char *kwnames
[] = {
33210 (char *) "self",(char *) "c", NULL
33213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33215 if (SWIG_arg_fail(1)) SWIG_fail
;
33218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 Py_INCREF(Py_None
); resultobj
= Py_None
;
33234 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
;
33236 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33237 wxVisualAttributes result
;
33238 PyObject
* obj0
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33245 if (SWIG_arg_fail(1)) SWIG_fail
;
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 result
= (arg1
)->base_GetDefaultAttributes();
33250 wxPyEndAllowThreads(__tstate
);
33251 if (PyErr_Occurred()) SWIG_fail
;
33254 wxVisualAttributes
* resultptr
;
33255 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33264 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33267 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33269 return Py_BuildValue((char *)"");
33271 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
;
33273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33274 int arg2
= (int) 0 ;
33275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33277 wxHelpEvent
*result
;
33279 PyObject
* obj0
= 0 ;
33280 PyObject
* obj1
= 0 ;
33281 PyObject
* obj2
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "type",(char *) "winid",(char *) "pt", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33289 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33290 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 arg2
= (int)(SWIG_As_int(obj1
));
33296 if (SWIG_arg_fail(2)) SWIG_fail
;
33302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33319 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33320 PyObject
*resultobj
;
33321 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33323 PyObject
* obj0
= 0 ;
33324 char *kwnames
[] = {
33325 (char *) "self", NULL
33328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33330 if (SWIG_arg_fail(1)) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33339 wxPoint
* resultptr
;
33340 resultptr
= new wxPoint((wxPoint
const &)(result
));
33341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33349 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33350 PyObject
*resultobj
;
33351 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33352 wxPoint
*arg2
= 0 ;
33354 PyObject
* obj0
= 0 ;
33355 PyObject
* obj1
= 0 ;
33356 char *kwnames
[] = {
33357 (char *) "self",(char *) "pos", NULL
33360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33362 if (SWIG_arg_fail(1)) SWIG_fail
;
33365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33369 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 Py_INCREF(Py_None
); resultobj
= Py_None
;
33381 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
;
33383 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33385 PyObject
* obj0
= 0 ;
33386 char *kwnames
[] = {
33387 (char *) "self", NULL
33390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33392 if (SWIG_arg_fail(1)) SWIG_fail
;
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33397 result
= (wxString
*) &_result_ref
;
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33407 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33416 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33417 PyObject
*resultobj
;
33418 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33419 wxString
*arg2
= 0 ;
33420 bool temp2
= false ;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 char *kwnames
[] = {
33424 (char *) "self",(char *) "link", NULL
33427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33429 if (SWIG_arg_fail(1)) SWIG_fail
;
33431 arg2
= wxString_in_helper(obj1
);
33432 if (arg2
== NULL
) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 (arg1
)->SetLink((wxString
const &)*arg2
);
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33442 Py_INCREF(Py_None
); resultobj
= Py_None
;
33457 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
;
33459 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33461 PyObject
* obj0
= 0 ;
33462 char *kwnames
[] = {
33463 (char *) "self", NULL
33466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33468 if (SWIG_arg_fail(1)) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33472 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33473 result
= (wxString
*) &_result_ref
;
33476 wxPyEndAllowThreads(__tstate
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33483 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33492 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33493 PyObject
*resultobj
;
33494 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33495 wxString
*arg2
= 0 ;
33496 bool temp2
= false ;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self",(char *) "target", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail
;
33507 arg2
= wxString_in_helper(obj1
);
33508 if (arg2
== NULL
) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 (arg1
)->SetTarget((wxString
const &)*arg2
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 Py_INCREF(Py_None
); resultobj
= Py_None
;
33533 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33536 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33538 return Py_BuildValue((char *)"");
33540 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
;
33542 wxWindow
*arg1
= (wxWindow
*) NULL
;
33543 bool arg2
= (bool) true ;
33544 wxContextHelp
*result
;
33545 PyObject
* obj0
= 0 ;
33546 PyObject
* obj1
= 0 ;
33547 char *kwnames
[] = {
33548 (char *) "window",(char *) "doNow", NULL
33551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail
;
33558 arg2
= (bool)(SWIG_As_bool(obj1
));
33559 if (SWIG_arg_fail(2)) SWIG_fail
;
33563 if (!wxPyCheckForApp()) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33577 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
;
33579 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33580 PyObject
* obj0
= 0 ;
33581 char *kwnames
[] = {
33582 (char *) "self", NULL
33585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33587 if (SWIG_arg_fail(1)) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 Py_INCREF(Py_None
); resultobj
= Py_None
;
33602 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33603 PyObject
*resultobj
;
33604 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33605 wxWindow
*arg2
= (wxWindow
*) NULL
;
33607 PyObject
* obj0
= 0 ;
33608 PyObject
* obj1
= 0 ;
33609 char *kwnames
[] = {
33610 (char *) "self",(char *) "window", NULL
33613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33615 if (SWIG_arg_fail(1)) SWIG_fail
;
33617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33618 if (SWIG_arg_fail(2)) SWIG_fail
;
33621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33622 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33636 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33637 PyObject
*resultobj
;
33638 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33640 PyObject
* obj0
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 result
= (bool)(arg1
)->EndContextHelp();
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33664 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33667 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33669 return Py_BuildValue((char *)"");
33671 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33672 PyObject
*resultobj
;
33673 wxWindow
*arg1
= (wxWindow
*) 0 ;
33674 int arg2
= (int) wxID_CONTEXT_HELP
;
33675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33679 long arg5
= (long) wxBU_AUTODRAW
;
33680 wxContextHelpButton
*result
;
33683 PyObject
* obj0
= 0 ;
33684 PyObject
* obj1
= 0 ;
33685 PyObject
* obj2
= 0 ;
33686 PyObject
* obj3
= 0 ;
33687 PyObject
* obj4
= 0 ;
33688 char *kwnames
[] = {
33689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33694 if (SWIG_arg_fail(1)) SWIG_fail
;
33697 arg2
= (int)(SWIG_As_int(obj1
));
33698 if (SWIG_arg_fail(2)) SWIG_fail
;
33704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33710 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33715 arg5
= (long)(SWIG_As_long(obj4
));
33716 if (SWIG_arg_fail(5)) SWIG_fail
;
33720 if (!wxPyCheckForApp()) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33734 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33737 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33739 return Py_BuildValue((char *)"");
33741 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33742 PyObject
*resultobj
;
33743 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33744 wxHelpProvider
*result
;
33745 PyObject
* obj0
= 0 ;
33746 char *kwnames
[] = {
33747 (char *) "helpProvider", NULL
33750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33752 if (SWIG_arg_fail(1)) SWIG_fail
;
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33767 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
;
33769 wxHelpProvider
*result
;
33770 char *kwnames
[] = {
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33789 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
;
33791 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33792 wxWindow
*arg2
= (wxWindow
*) 0 ;
33794 PyObject
* obj0
= 0 ;
33795 PyObject
* obj1
= 0 ;
33796 char *kwnames
[] = {
33797 (char *) "self",(char *) "window", NULL
33800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33802 if (SWIG_arg_fail(1)) SWIG_fail
;
33803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(2)) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33825 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33828 wxWindow
*arg2
= (wxWindow
*) 0 ;
33830 PyObject
* obj0
= 0 ;
33831 PyObject
* obj1
= 0 ;
33832 char *kwnames
[] = {
33833 (char *) "self",(char *) "window", NULL
33836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33838 if (SWIG_arg_fail(1)) SWIG_fail
;
33839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33840 if (SWIG_arg_fail(2)) SWIG_fail
;
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 result
= (bool)(arg1
)->ShowHelp(arg2
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33857 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33860 wxWindow
*arg2
= (wxWindow
*) 0 ;
33861 wxString
*arg3
= 0 ;
33862 bool temp3
= false ;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 PyObject
* obj2
= 0 ;
33866 char *kwnames
[] = {
33867 (char *) "self",(char *) "window",(char *) "text", NULL
33870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33872 if (SWIG_arg_fail(1)) SWIG_fail
;
33873 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33874 if (SWIG_arg_fail(2)) SWIG_fail
;
33876 arg3
= wxString_in_helper(obj2
);
33877 if (arg3
== NULL
) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 Py_INCREF(Py_None
); resultobj
= Py_None
;
33902 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
;
33904 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33906 wxString
*arg3
= 0 ;
33907 bool temp3
= false ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 PyObject
* obj2
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self",(char *) "id",(char *) "text", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail
;
33919 arg2
= (int)(SWIG_As_int(obj1
));
33920 if (SWIG_arg_fail(2)) SWIG_fail
;
33923 arg3
= wxString_in_helper(obj2
);
33924 if (arg3
== NULL
) SWIG_fail
;
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 Py_INCREF(Py_None
); resultobj
= Py_None
;
33949 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33952 wxWindow
*arg2
= (wxWindow
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self",(char *) "window", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->RemoveHelp(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33978 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 char *kwnames
[] = {
33983 (char *) "self", NULL
33986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33988 if (SWIG_arg_fail(1)) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 wxHelpProvider_Destroy(arg1
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 Py_INCREF(Py_None
); resultobj
= Py_None
;
34003 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34006 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
34008 return Py_BuildValue((char *)"");
34010 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34012 wxSimpleHelpProvider
*result
;
34013 char *kwnames
[] = {
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
34032 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34035 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
34037 return Py_BuildValue((char *)"");
34039 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxBitmap
*arg1
= 0 ;
34042 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34043 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34044 wxGenericDragImage
*result
;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 char *kwnames
[] = {
34048 (char *) "image",(char *) "cursor", NULL
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
34053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34054 if (SWIG_arg_fail(1)) SWIG_fail
;
34055 if (arg1
== NULL
) {
34056 SWIG_null_ref("wxBitmap");
34058 if (SWIG_arg_fail(1)) SWIG_fail
;
34062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34063 if (SWIG_arg_fail(2)) SWIG_fail
;
34064 if (arg2
== NULL
) {
34065 SWIG_null_ref("wxCursor");
34067 if (SWIG_arg_fail(2)) SWIG_fail
;
34071 if (!wxPyCheckForApp()) SWIG_fail
;
34072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34073 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34085 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34086 PyObject
*resultobj
;
34088 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34089 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34090 wxGenericDragImage
*result
;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 char *kwnames
[] = {
34094 (char *) "image",(char *) "cursor", NULL
34097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34100 if (SWIG_arg_fail(1)) SWIG_fail
;
34101 if (arg1
== NULL
) {
34102 SWIG_null_ref("wxIcon");
34104 if (SWIG_arg_fail(1)) SWIG_fail
;
34108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34109 if (SWIG_arg_fail(2)) SWIG_fail
;
34110 if (arg2
== NULL
) {
34111 SWIG_null_ref("wxCursor");
34113 if (SWIG_arg_fail(2)) SWIG_fail
;
34117 if (!wxPyCheckForApp()) SWIG_fail
;
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34131 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
;
34133 wxString
*arg1
= 0 ;
34134 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34135 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34136 wxGenericDragImage
*result
;
34137 bool temp1
= false ;
34138 PyObject
* obj0
= 0 ;
34139 PyObject
* obj1
= 0 ;
34140 char *kwnames
[] = {
34141 (char *) "str",(char *) "cursor", NULL
34144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34146 arg1
= wxString_in_helper(obj0
);
34147 if (arg1
== NULL
) SWIG_fail
;
34152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34153 if (SWIG_arg_fail(2)) SWIG_fail
;
34154 if (arg2
== NULL
) {
34155 SWIG_null_ref("wxCursor");
34157 if (SWIG_arg_fail(2)) SWIG_fail
;
34161 if (!wxPyCheckForApp()) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34183 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34184 PyObject
*resultobj
;
34185 wxPyTreeCtrl
*arg1
= 0 ;
34186 wxTreeItemId
*arg2
= 0 ;
34187 wxGenericDragImage
*result
;
34188 PyObject
* obj0
= 0 ;
34189 PyObject
* obj1
= 0 ;
34190 char *kwnames
[] = {
34191 (char *) "treeCtrl",(char *) "id", NULL
34194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34197 if (SWIG_arg_fail(1)) SWIG_fail
;
34198 if (arg1
== NULL
) {
34199 SWIG_null_ref("wxPyTreeCtrl");
34201 if (SWIG_arg_fail(1)) SWIG_fail
;
34204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34205 if (SWIG_arg_fail(2)) SWIG_fail
;
34206 if (arg2
== NULL
) {
34207 SWIG_null_ref("wxTreeItemId");
34209 if (SWIG_arg_fail(2)) SWIG_fail
;
34212 if (!wxPyCheckForApp()) SWIG_fail
;
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34226 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
;
34228 wxPyListCtrl
*arg1
= 0 ;
34230 wxGenericDragImage
*result
;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 char *kwnames
[] = {
34234 (char *) "listCtrl",(char *) "id", NULL
34237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34240 if (SWIG_arg_fail(1)) SWIG_fail
;
34241 if (arg1
== NULL
) {
34242 SWIG_null_ref("wxPyListCtrl");
34244 if (SWIG_arg_fail(1)) SWIG_fail
;
34247 arg2
= (long)(SWIG_As_long(obj1
));
34248 if (SWIG_arg_fail(2)) SWIG_fail
;
34251 if (!wxPyCheckForApp()) SWIG_fail
;
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34265 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
;
34267 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 Py_INCREF(Py_None
); resultobj
= Py_None
;
34290 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
;
34292 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34293 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34294 PyObject
* obj0
= 0 ;
34295 PyObject
* obj1
= 0 ;
34296 char *kwnames
[] = {
34297 (char *) "self",(char *) "bitmap", NULL
34300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34302 if (SWIG_arg_fail(1)) SWIG_fail
;
34303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34304 if (SWIG_arg_fail(2)) SWIG_fail
;
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 (arg1
)->SetBackingBitmap(arg2
);
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 Py_INCREF(Py_None
); resultobj
= Py_None
;
34319 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
;
34321 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34322 wxPoint
*arg2
= 0 ;
34323 wxWindow
*arg3
= (wxWindow
*) 0 ;
34324 bool arg4
= (bool) false ;
34325 wxRect
*arg5
= (wxRect
*) NULL
;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 PyObject
* obj2
= 0 ;
34331 PyObject
* obj3
= 0 ;
34332 PyObject
* obj4
= 0 ;
34333 char *kwnames
[] = {
34334 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34339 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34344 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34345 if (SWIG_arg_fail(3)) SWIG_fail
;
34348 arg4
= (bool)(SWIG_As_bool(obj3
));
34349 if (SWIG_arg_fail(4)) SWIG_fail
;
34353 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34354 if (SWIG_arg_fail(5)) SWIG_fail
;
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34372 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34375 wxPoint
*arg2
= 0 ;
34376 wxWindow
*arg3
= (wxWindow
*) 0 ;
34377 wxWindow
*arg4
= (wxWindow
*) 0 ;
34380 PyObject
* obj0
= 0 ;
34381 PyObject
* obj1
= 0 ;
34382 PyObject
* obj2
= 0 ;
34383 PyObject
* obj3
= 0 ;
34384 char *kwnames
[] = {
34385 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34390 if (SWIG_arg_fail(1)) SWIG_fail
;
34393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34395 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(3)) SWIG_fail
;
34397 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34398 if (SWIG_arg_fail(4)) SWIG_fail
;
34400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34415 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34416 PyObject
*resultobj
;
34417 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "self", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34426 if (SWIG_arg_fail(1)) SWIG_fail
;
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 result
= (bool)(arg1
)->EndDrag();
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34443 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34444 PyObject
*resultobj
;
34445 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34446 wxPoint
*arg2
= 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self",(char *) "pt", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34457 if (SWIG_arg_fail(1)) SWIG_fail
;
34460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34478 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34482 PyObject
* obj0
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "self", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34489 if (SWIG_arg_fail(1)) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (bool)(arg1
)->Show();
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34506 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
;
34508 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34510 PyObject
* obj0
= 0 ;
34511 char *kwnames
[] = {
34512 (char *) "self", NULL
34515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34517 if (SWIG_arg_fail(1)) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 result
= (bool)(arg1
)->Hide();
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34534 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
;
34536 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34537 wxPoint
*arg2
= 0 ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self",(char *) "pos", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34548 if (SWIG_arg_fail(1)) SWIG_fail
;
34551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34555 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34561 wxRect
* resultptr
;
34562 resultptr
= new wxRect((wxRect
&)(result
));
34563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34571 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
;
34573 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34575 wxPoint
*arg3
= 0 ;
34578 PyObject
* obj0
= 0 ;
34579 PyObject
* obj1
= 0 ;
34580 PyObject
* obj2
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self",(char *) "dc",(char *) "pos", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34590 if (SWIG_arg_fail(2)) SWIG_fail
;
34591 if (arg2
== NULL
) {
34592 SWIG_null_ref("wxDC");
34594 if (SWIG_arg_fail(2)) SWIG_fail
;
34598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34616 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34620 wxMemoryDC
*arg3
= 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 PyObject
* obj2
= 0 ;
34629 PyObject
* obj3
= 0 ;
34630 PyObject
* obj4
= 0 ;
34631 char *kwnames
[] = {
34632 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34637 if (SWIG_arg_fail(1)) SWIG_fail
;
34639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34640 if (SWIG_arg_fail(2)) SWIG_fail
;
34641 if (arg2
== NULL
) {
34642 SWIG_null_ref("wxDC");
34644 if (SWIG_arg_fail(2)) SWIG_fail
;
34647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34648 if (SWIG_arg_fail(3)) SWIG_fail
;
34649 if (arg3
== NULL
) {
34650 SWIG_null_ref("wxMemoryDC");
34652 if (SWIG_arg_fail(3)) SWIG_fail
;
34656 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34660 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34678 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
;
34680 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34681 wxPoint
*arg2
= 0 ;
34682 wxPoint
*arg3
= 0 ;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 PyObject
* obj2
= 0 ;
34691 PyObject
* obj3
= 0 ;
34692 PyObject
* obj4
= 0 ;
34693 char *kwnames
[] = {
34694 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34699 if (SWIG_arg_fail(1)) SWIG_fail
;
34702 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34709 arg4
= (bool)(SWIG_As_bool(obj3
));
34710 if (SWIG_arg_fail(4)) SWIG_fail
;
34713 arg5
= (bool)(SWIG_As_bool(obj4
));
34714 if (SWIG_arg_fail(5)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34732 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34735 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34737 return Py_BuildValue((char *)"");
34739 static PyMethodDef SwigMethods
[] = {
34740 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34747 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34762 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34774 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34782 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34813 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34827 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34832 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34839 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34844 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34852 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34875 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34884 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34915 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34973 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34978 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34990 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35003 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35015 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35019 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35037 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35044 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35078 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35100 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35106 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35117 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35119 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35125 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35127 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35133 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35135 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35145 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35175 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35220 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35226 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35238 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35290 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35317 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35389 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35401 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35409 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35416 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35432 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35511 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35533 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35538 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35564 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35572 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35577 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35579 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35588 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35590 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35608 { NULL
, NULL
, 0, NULL
}
35612 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35614 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35615 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35617 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35618 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35620 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35621 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35623 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35624 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35626 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35627 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35629 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35630 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35632 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35633 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35635 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35636 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35638 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35639 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35641 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35642 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35644 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35645 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35647 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35648 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35650 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35651 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35653 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35654 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35656 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35657 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35659 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35660 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35662 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35663 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35665 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35666 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35668 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35671 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35674 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35675 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35677 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35680 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35681 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35683 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35684 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35686 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35687 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35689 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35690 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35692 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35695 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35696 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35698 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35701 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35702 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35704 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35705 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35707 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35708 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35710 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35711 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35713 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35714 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35716 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35717 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35719 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35720 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35722 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35723 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35725 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35728 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35729 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35731 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35732 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35734 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35735 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35737 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35738 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35740 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35741 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35743 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35744 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35746 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35749 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35750 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35752 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35753 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35755 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35758 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35761 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35762 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35764 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35765 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35767 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35768 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35770 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35771 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35773 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35774 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35776 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35777 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35779 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35780 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35782 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35783 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35785 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35786 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35788 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35789 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35791 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35792 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35794 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35795 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35797 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35798 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35800 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35801 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35803 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35804 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35806 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35807 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35809 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35810 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35812 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35813 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35815 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35816 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35818 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35819 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35821 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35822 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35824 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35825 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35827 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35828 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35830 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35831 return (void *)((wxControl
*) ((wxGauge
*) x
));
35833 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35834 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35836 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35837 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35839 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35840 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35842 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35843 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35845 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35846 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35848 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35849 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35851 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35852 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35854 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35855 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35857 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35858 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35860 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35861 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35863 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35864 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35866 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35867 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35869 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35870 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35872 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35873 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35875 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35876 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35878 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35879 return (void *)((wxControl
*) ((wxSlider
*) x
));
35881 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35882 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35884 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35885 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35887 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35888 return (void *)((wxControl
*) ((wxButton
*) x
));
35890 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35891 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35893 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35894 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35896 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35897 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35899 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
35900 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
35902 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35903 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35905 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35906 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35908 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35909 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35911 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35912 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35914 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35915 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35917 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35918 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35920 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35921 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35923 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35924 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35926 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35927 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35929 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35930 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35932 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35933 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35935 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35938 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35941 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35942 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35944 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35945 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35947 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35950 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35951 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35953 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35956 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35959 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35960 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35962 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35963 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35965 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35968 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35971 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35974 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35977 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35980 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35981 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35983 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35986 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35992 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35995 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35998 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36001 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36004 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36007 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36010 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36013 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36016 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36019 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36022 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36025 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36028 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36031 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36034 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36037 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36040 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36043 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36046 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36049 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36052 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36055 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36058 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36059 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36061 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36062 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36064 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36065 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36067 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36068 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36070 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36071 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36073 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36074 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36076 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36077 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36079 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36080 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36082 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36085 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36086 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36088 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36091 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36092 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36094 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36095 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36097 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36098 return (void *)((wxObject
*) ((wxSizer
*) x
));
36100 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36101 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36103 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36106 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36109 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36112 static void *_p_wxEventTo_p_wxObject(void *x
) {
36113 return (void *)((wxObject
*) ((wxEvent
*) x
));
36115 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36116 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36118 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36119 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36121 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36122 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36124 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36127 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36130 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36133 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36134 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36136 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36137 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36139 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36140 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36142 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36143 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36145 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36146 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36148 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36149 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36151 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36154 static void *_p_wxControlTo_p_wxObject(void *x
) {
36155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36157 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36160 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36163 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36166 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36169 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36172 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36173 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36175 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36178 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36179 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36181 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36182 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36184 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36187 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36190 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36193 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36194 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36196 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36199 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36202 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36205 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36206 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36208 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36211 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36214 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36215 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36217 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36218 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36224 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36227 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36229 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36230 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36232 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36233 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36235 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36236 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36238 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36239 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36241 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36244 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36245 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36247 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36250 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36253 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36256 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36259 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36262 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36265 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36268 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36271 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36274 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36277 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36280 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36283 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36286 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36289 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36292 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36295 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36298 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36301 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36304 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36307 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36310 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36313 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36316 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36319 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36322 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36325 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36328 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) ((wxListItem
*) x
));
36331 static void *_p_wxImageTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) ((wxImage
*) x
));
36334 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36337 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36340 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36343 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36346 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36349 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36352 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36355 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36358 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36361 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36364 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36367 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36370 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36373 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36376 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36379 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36382 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36385 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36388 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36391 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36394 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36397 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36400 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36403 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36406 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36409 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36412 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36415 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36418 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36421 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36424 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36427 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36430 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36433 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36436 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36439 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36440 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36442 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36443 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36445 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36446 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36448 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36449 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36451 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36452 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36454 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36455 return (void *)((wxWindow
*) ((wxControl
*) x
));
36457 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36458 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36460 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36461 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36463 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36464 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36466 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36467 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36469 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36470 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36472 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36473 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36475 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36476 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36478 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36479 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36481 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36482 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36484 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36485 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36487 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36488 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36490 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36491 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36493 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36494 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36496 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36497 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36499 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36500 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36502 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36503 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36505 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36506 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36508 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36509 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36511 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36512 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36514 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36515 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36517 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36518 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36520 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36521 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36523 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36524 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36526 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36527 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36529 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36530 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36532 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36533 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36535 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36536 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36538 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36539 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36541 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36542 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36544 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36545 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36547 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36548 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36550 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36551 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36553 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36554 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36556 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36557 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36559 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36560 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36562 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36563 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36565 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36566 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36568 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36569 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36571 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36572 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36574 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36575 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36577 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36578 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36580 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36581 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36583 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36584 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36586 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36587 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36589 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36590 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36592 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36593 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36595 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36596 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36598 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36599 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36601 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36602 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36604 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36605 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36607 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36608 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36610 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36611 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36613 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36614 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36616 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36617 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36619 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36620 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36622 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36623 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36625 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}};
36626 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}};
36627 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}};
36628 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}};
36629 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_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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}};
36630 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}};
36631 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}};
36632 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}};
36633 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}};
36634 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}};
36635 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}};
36636 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}};
36637 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36638 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}};
36639 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}};
36640 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}};
36641 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}};
36642 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}};
36643 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}};
36644 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 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}};
36645 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}};
36646 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}};
36647 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}};
36648 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}};
36649 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}};
36650 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}};
36651 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}};
36652 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}};
36653 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}};
36654 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}};
36655 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}};
36656 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}};
36657 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}};
36658 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}};
36659 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}};
36660 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}};
36661 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}};
36662 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}};
36663 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}};
36664 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}};
36665 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}};
36666 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}};
36667 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}};
36668 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}};
36669 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}};
36670 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}};
36671 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36672 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}};
36673 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}};
36674 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}};
36675 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}};
36676 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}};
36677 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}};
36678 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}};
36679 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}};
36680 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}};
36681 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}};
36682 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}};
36683 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}};
36684 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}};
36685 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}};
36686 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}};
36687 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}};
36688 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}};
36689 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}};
36690 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}};
36691 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}};
36692 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}};
36693 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}};
36694 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}};
36695 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}};
36696 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}};
36697 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}};
36698 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}};
36699 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}};
36700 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_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_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_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}};
36701 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}};
36702 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}};
36703 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}};
36704 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36705 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}};
36706 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}};
36707 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}};
36708 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}};
36709 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}};
36710 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}};
36711 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}};
36712 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}};
36713 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_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxListEvent", _p_wxListEventTo_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}};
36714 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}};
36715 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36722 static swig_type_info
*swig_types_initial
[] = {
36723 _swigt__p_wxTextUrlEvent
,
36725 _swigt__p_wxCheckBox
,
36726 _swigt__p_wxPyTreeCtrl
,
36728 _swigt__p_wxGenericDirCtrl
,
36730 _swigt__p_wxItemContainer
,
36731 _swigt__p_wxPyListCtrl
,
36732 _swigt__p_wxPyTreeItemData
,
36733 _swigt__p_wxDirFilterListCtrl
,
36734 _swigt__p_wxStaticLine
,
36735 _swigt__p_wxControl
,
36736 _swigt__p_wxPyControl
,
36738 _swigt__p_wxToolBarBase
,
36740 _swigt__p_wxToggleButton
,
36741 _swigt__p_wxRadioButton
,
36742 _swigt__p_wxChoice
,
36743 _swigt__p_wxMemoryDC
,
36745 _swigt__std__ptrdiff_t
,
36746 _swigt__p_wxListItemAttr
,
36751 _swigt__p_wxListView
,
36753 _swigt__p_wxVisualAttributes
,
36754 _swigt__p_wxTextCtrl
,
36755 _swigt__p_wxNotebook
,
36756 _swigt__p_wxChoicebook
,
36757 _swigt__p_wxNotifyEvent
,
36758 _swigt__p_wxArrayString
,
36759 _swigt__p_form_ops_t
,
36760 _swigt__p_wxListbook
,
36761 _swigt__p_wxStaticBitmap
,
36762 _swigt__p_wxSlider
,
36763 _swigt__p_wxStaticBox
,
36764 _swigt__p_wxArrayInt
,
36765 _swigt__p_wxContextHelp
,
36767 _swigt__p_wxDuplexMode
,
36768 _swigt__p_wxBookCtrlBase
,
36769 _swigt__p_wxEvtHandler
,
36770 _swigt__p_wxListEvent
,
36771 _swigt__p_wxCheckListBox
,
36772 _swigt__p_wxListBox
,
36773 _swigt__p_wxSpinButton
,
36774 _swigt__p_wxButton
,
36775 _swigt__p_wxBitmapButton
,
36777 _swigt__p_wxContextHelpButton
,
36778 _swigt__p_wxRadioBox
,
36779 _swigt__p_wxScrollBar
,
36781 _swigt__p_wxComboBox
,
36782 _swigt__p_wxTreeItemId
,
36783 _swigt__p_wxHelpEvent
,
36784 _swigt__p_wxListItem
,
36785 _swigt__p_wxNotebookSizer
,
36786 _swigt__p_wxSpinEvent
,
36787 _swigt__p_wxGenericDragImage
,
36788 _swigt__p_wxSpinCtrl
,
36789 _swigt__p_wxPaperSize
,
36790 _swigt__p_wxImageList
,
36791 _swigt__p_wxHelpProvider
,
36792 _swigt__p_wxTextAttr
,
36793 _swigt__p_wxSimpleHelpProvider
,
36794 _swigt__p_wxChoicebookEvent
,
36795 _swigt__p_wxListbookEvent
,
36796 _swigt__p_wxNotebookEvent
,
36798 _swigt__p_wxObject
,
36799 _swigt__p_wxCursor
,
36800 _swigt__p_wxKeyEvent
,
36801 _swigt__p_unsigned_long
,
36802 _swigt__p_wxWindow
,
36803 _swigt__p_wxString
,
36804 _swigt__p_wxBitmap
,
36805 _swigt__unsigned_int
,
36806 _swigt__p_unsigned_int
,
36807 _swigt__p_unsigned_char
,
36808 _swigt__p_wxMouseEvent
,
36809 _swigt__p_wxBookCtrlBaseEvent
,
36810 _swigt__p_wxTreeEvent
,
36811 _swigt__p_wxCommandEvent
,
36812 _swigt__p_wxStaticText
,
36813 _swigt__p_wxControlWithItems
,
36814 _swigt__p_wxToolBarToolBase
,
36815 _swigt__p_wxColour
,
36816 _swigt__p_wxToolBar
,
36817 _swigt__p_wxBookCtrlSizer
,
36818 _swigt__p_wxValidator
,
36823 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36825 static swig_const_info swig_const_table
[] = {
36826 {0, 0, 0, 0.0, 0, 0}};
36837 /* Python-specific SWIG API */
36838 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36839 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36840 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36842 /* -----------------------------------------------------------------------------
36843 * global variable support code.
36844 * ----------------------------------------------------------------------------- */
36846 typedef struct swig_globalvar
{
36847 char *name
; /* Name of global variable */
36848 PyObject
*(*get_attr
)(); /* Return the current value */
36849 int (*set_attr
)(PyObject
*); /* Set the value */
36850 struct swig_globalvar
*next
;
36853 typedef struct swig_varlinkobject
{
36855 swig_globalvar
*vars
;
36856 } swig_varlinkobject
;
36859 swig_varlink_repr(swig_varlinkobject
*v
) {
36861 return PyString_FromString("<Swig global variables>");
36865 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36866 swig_globalvar
*var
;
36868 fprintf(fp
,"Swig global variables { ");
36869 for (var
= v
->vars
; var
; var
=var
->next
) {
36870 fprintf(fp
,"%s", var
->name
);
36871 if (var
->next
) fprintf(fp
,", ");
36873 fprintf(fp
," }\n");
36878 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36879 swig_globalvar
*var
= v
->vars
;
36881 if (strcmp(var
->name
,n
) == 0) {
36882 return (*var
->get_attr
)();
36886 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36891 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36892 swig_globalvar
*var
= v
->vars
;
36894 if (strcmp(var
->name
,n
) == 0) {
36895 return (*var
->set_attr
)(p
);
36899 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36903 static PyTypeObject varlinktype
= {
36904 PyObject_HEAD_INIT(0)
36905 0, /* Number of items in variable part (ob_size) */
36906 (char *)"swigvarlink", /* Type name (tp_name) */
36907 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36908 0, /* Itemsize (tp_itemsize) */
36909 0, /* Deallocator (tp_dealloc) */
36910 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36911 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36912 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36913 0, /* tp_compare */
36914 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36915 0, /* tp_as_number */
36916 0, /* tp_as_sequence */
36917 0, /* tp_as_mapping */
36921 0, /* tp_getattro */
36922 0, /* tp_setattro */
36923 0, /* tp_as_buffer */
36926 #if PY_VERSION_HEX >= 0x02000000
36927 0, /* tp_traverse */
36930 #if PY_VERSION_HEX >= 0x02010000
36931 0, /* tp_richcompare */
36932 0, /* tp_weaklistoffset */
36934 #if PY_VERSION_HEX >= 0x02020000
36935 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36937 #if PY_VERSION_HEX >= 0x02030000
36940 #ifdef COUNT_ALLOCS
36941 0,0,0,0 /* tp_alloc -> tp_next */
36945 /* Create a variable linking object for use later */
36947 SWIG_Python_newvarlink(void) {
36948 swig_varlinkobject
*result
= 0;
36949 result
= PyMem_NEW(swig_varlinkobject
,1);
36950 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36951 result
->ob_type
= &varlinktype
;
36953 result
->ob_refcnt
= 0;
36954 Py_XINCREF((PyObject
*) result
);
36955 return ((PyObject
*) result
);
36959 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36960 swig_varlinkobject
*v
;
36961 swig_globalvar
*gv
;
36962 v
= (swig_varlinkobject
*) p
;
36963 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36964 gv
->name
= (char *) malloc(strlen(name
)+1);
36965 strcpy(gv
->name
,name
);
36966 gv
->get_attr
= get_attr
;
36967 gv
->set_attr
= set_attr
;
36968 gv
->next
= v
->vars
;
36972 /* -----------------------------------------------------------------------------
36973 * constants/methods manipulation
36974 * ----------------------------------------------------------------------------- */
36976 /* Install Constants */
36978 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36981 for (i
= 0; constants
[i
].type
; i
++) {
36982 switch(constants
[i
].type
) {
36984 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36986 case SWIG_PY_FLOAT
:
36987 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36989 case SWIG_PY_STRING
:
36990 if (constants
[i
].pvalue
) {
36991 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36993 Py_INCREF(Py_None
);
36997 case SWIG_PY_POINTER
:
36998 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37000 case SWIG_PY_BINARY
:
37001 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37008 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37014 /* -----------------------------------------------------------------------------*/
37015 /* Fix SwigMethods to carry the callback ptrs when needed */
37016 /* -----------------------------------------------------------------------------*/
37019 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37020 swig_const_info
*const_table
,
37021 swig_type_info
**types
,
37022 swig_type_info
**types_initial
) {
37024 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37025 char *c
= methods
[i
].ml_doc
;
37026 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37028 swig_const_info
*ci
= 0;
37029 char *name
= c
+ 10;
37030 for (j
= 0; const_table
[j
].type
; j
++) {
37031 if (strncmp(const_table
[j
].name
, name
,
37032 strlen(const_table
[j
].name
)) == 0) {
37033 ci
= &(const_table
[j
]);
37038 size_t shift
= (ci
->ptype
) - types
;
37039 swig_type_info
*ty
= types_initial
[shift
];
37040 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37041 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37042 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37044 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37045 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37047 strncpy(buff
, "swig_ptr: ", 10);
37049 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37050 methods
[i
].ml_doc
= ndoc
;
37056 /* -----------------------------------------------------------------------------*
37057 * Initialize type list
37058 * -----------------------------------------------------------------------------*/
37060 #if PY_MAJOR_VERSION < 2
37061 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37062 is copied out of Python/modsupport.c in python version 2.3.4 */
37064 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37067 if (!PyModule_Check(m
)) {
37068 PyErr_SetString(PyExc_TypeError
,
37069 "PyModule_AddObject() needs module as first arg");
37073 PyErr_SetString(PyExc_TypeError
,
37074 "PyModule_AddObject() needs non-NULL value");
37078 dict
= PyModule_GetDict(m
);
37079 if (dict
== NULL
) {
37080 /* Internal error -- modules must have a dict! */
37081 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37082 PyModule_GetName(m
));
37085 if (PyDict_SetItemString(dict
, name
, o
))
37092 static swig_type_info
**
37093 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37094 static PyMethodDef swig_empty_runtime_method_table
[] = {
37096 NULL
, NULL
, 0, NULL
37100 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37101 swig_empty_runtime_method_table
);
37102 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37103 if (pointer
&& module) {
37104 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37106 return type_list_handle
;
37109 static swig_type_info
**
37110 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37111 swig_type_info
**type_pointer
;
37113 /* first check if module already created */
37114 type_pointer
= SWIG_Python_GetTypeListHandle();
37115 if (type_pointer
) {
37116 return type_pointer
;
37118 /* create a new module and variable */
37119 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37127 /* -----------------------------------------------------------------------------*
37128 * Partial Init method
37129 * -----------------------------------------------------------------------------*/
37131 #ifdef SWIG_LINK_RUNTIME
37135 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37141 SWIGEXPORT(void) SWIG_init(void) {
37142 static PyObject
*SWIG_globals
= 0;
37143 static int typeinit
= 0;
37146 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37148 /* Fix SwigMethods to carry the callback ptrs when needed */
37149 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37151 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37152 d
= PyModule_GetDict(m
);
37155 #ifdef SWIG_LINK_RUNTIME
37156 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37158 # ifndef SWIG_STATIC_RUNTIME
37159 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37162 for (i
= 0; swig_types_initial
[i
]; i
++) {
37163 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37167 SWIG_InstallConstants(d
,swig_const_table
);
37169 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37170 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37172 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37175 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37178 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37181 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37184 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37187 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37190 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37192 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37194 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37197 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37200 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37203 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37206 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37209 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37211 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37212 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37213 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37215 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37218 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37221 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37224 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37226 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37227 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37228 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37229 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37230 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37232 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37235 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37238 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37241 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37244 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37247 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37250 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37253 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37256 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37259 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37262 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37265 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37268 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37271 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37274 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37277 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37280 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37283 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37286 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37289 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37292 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37295 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37298 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37301 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37304 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37307 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37310 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37313 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37316 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37319 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37322 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37325 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37328 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37331 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37334 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37337 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37340 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37343 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37346 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37349 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37352 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37355 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37358 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37360 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37361 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37362 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37363 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37364 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37365 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37366 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37368 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37371 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37374 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37377 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37379 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37380 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37381 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37382 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37384 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37387 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37390 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37393 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37396 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37399 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37402 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37405 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37408 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37411 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37414 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37416 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37418 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37420 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37423 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37426 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37429 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37432 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37435 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37438 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37441 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37444 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37447 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37450 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37452 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37453 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37455 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37458 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37461 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37464 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37467 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37470 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37473 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37475 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37478 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37481 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37484 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37487 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37490 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37492 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37493 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37495 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37498 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37501 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37504 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37507 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37510 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37513 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37516 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37519 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37522 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37525 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37528 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37531 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37534 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37536 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37538 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37541 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37544 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37547 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37550 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37553 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37556 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37559 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37562 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37565 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37568 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37571 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37574 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37577 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37580 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37583 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37586 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37589 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37592 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37595 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37598 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37601 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37604 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37607 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37610 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37613 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37616 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37619 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37622 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37625 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37628 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37631 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37634 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37637 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37640 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37643 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37646 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37649 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37652 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37655 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37658 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37661 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37664 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37667 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37670 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37673 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37676 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37679 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37682 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37685 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37688 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37691 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37694 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37697 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37700 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37703 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37706 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37709 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37712 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37715 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37718 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37721 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37724 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37727 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37730 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37733 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37736 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37739 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37741 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37742 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37743 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37745 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37746 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37747 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37748 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37749 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37750 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37754 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37755 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37756 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37757 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37758 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37760 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37761 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37762 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37764 // Map renamed classes back to their common name for OOR
37765 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37767 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37769 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37772 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37775 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37778 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37781 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37784 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37787 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37790 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37793 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37796 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37799 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37802 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37805 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37808 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37811 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37814 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37817 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37820 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37823 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37826 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37829 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37832 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37835 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37838 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37841 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37844 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37847 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37850 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37853 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37856 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37859 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37862 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37865 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37868 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37871 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37873 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37874 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37875 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37877 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37878 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37879 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37880 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37881 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37882 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37883 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37884 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37885 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37886 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37887 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37888 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37889 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37890 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37891 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37892 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37893 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37895 // Map renamed classes back to their common name for OOR
37896 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37897 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37899 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37901 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37904 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37907 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37910 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37913 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37916 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37919 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37921 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37922 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37924 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");