1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 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
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 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
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 bool DoEraseBackground(wxDC
* dc
) {
2170 return wxWindow::DoEraseBackground(dc
->GetHDC());
2172 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2190 DEC_PYCALLBACK__(InitDialog
);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2193 DEC_PYCALLBACK_BOOL_(Validate
);
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2207 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2214 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2215 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2226 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2231 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2233 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2238 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2239 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2241 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2243 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2247 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2249 #include <wx/generic/dragimgg.h>
2251 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2252 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2254 self
->GetRange(&rv
, NULL
);
2257 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2259 self
->GetRange(NULL
, &rv
);
2265 static int _wrap_ButtonNameStr_set(PyObject
*) {
2266 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2271 static PyObject
*_wrap_ButtonNameStr_get(void) {
2276 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2278 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2285 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxWindow
*arg1
= (wxWindow
*) 0 ;
2288 int arg2
= (int) -1 ;
2289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2295 long arg6
= (long) 0 ;
2296 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2297 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2298 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2299 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2301 bool temp3
= false ;
2304 bool temp8
= false ;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj1
= 0 ;
2307 PyObject
* obj2
= 0 ;
2308 PyObject
* obj3
= 0 ;
2309 PyObject
* obj4
= 0 ;
2310 PyObject
* obj5
= 0 ;
2311 PyObject
* obj6
= 0 ;
2312 PyObject
* obj7
= 0 ;
2314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2319 if (SWIG_arg_fail(1)) SWIG_fail
;
2322 arg2
= (int)(SWIG_As_int(obj1
));
2323 if (SWIG_arg_fail(2)) SWIG_fail
;
2328 arg3
= wxString_in_helper(obj2
);
2329 if (arg3
== NULL
) SWIG_fail
;
2336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2347 arg6
= (long)(SWIG_As_long(obj5
));
2348 if (SWIG_arg_fail(6)) SWIG_fail
;
2353 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2354 if (SWIG_arg_fail(7)) SWIG_fail
;
2356 SWIG_null_ref("wxValidator");
2358 if (SWIG_arg_fail(7)) SWIG_fail
;
2363 arg8
= wxString_in_helper(obj7
);
2364 if (arg8
== NULL
) SWIG_fail
;
2369 if (!wxPyCheckForApp()) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2399 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2408 if (!wxPyCheckForApp()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (wxButton
*)new wxButton();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2422 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxButton
*arg1
= (wxButton
*) 0 ;
2425 wxWindow
*arg2
= (wxWindow
*) 0 ;
2426 int arg3
= (int) -1 ;
2427 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2429 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2430 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2431 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2432 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2433 long arg7
= (long) 0 ;
2434 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2435 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2436 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2439 bool temp4
= false ;
2442 bool temp9
= false ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2446 PyObject
* obj3
= 0 ;
2447 PyObject
* obj4
= 0 ;
2448 PyObject
* obj5
= 0 ;
2449 PyObject
* obj6
= 0 ;
2450 PyObject
* obj7
= 0 ;
2451 PyObject
* obj8
= 0 ;
2453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2458 if (SWIG_arg_fail(1)) SWIG_fail
;
2459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2460 if (SWIG_arg_fail(2)) SWIG_fail
;
2463 arg3
= (int)(SWIG_As_int(obj2
));
2464 if (SWIG_arg_fail(3)) SWIG_fail
;
2469 arg4
= wxString_in_helper(obj3
);
2470 if (arg4
== NULL
) SWIG_fail
;
2477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2488 arg7
= (long)(SWIG_As_long(obj6
));
2489 if (SWIG_arg_fail(7)) SWIG_fail
;
2494 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2495 if (SWIG_arg_fail(8)) SWIG_fail
;
2497 SWIG_null_ref("wxValidator");
2499 if (SWIG_arg_fail(8)) SWIG_fail
;
2504 arg9
= wxString_in_helper(obj8
);
2505 if (arg9
== NULL
) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2541 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxButton
*arg1
= (wxButton
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2546 (char *) "self", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 (arg1
)->SetDefault();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 Py_INCREF(Py_None
); resultobj
= Py_None
;
2566 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= wxButton::GetDefaultSize();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2583 resultptr
= new wxSize((wxSize
&)(result
));
2584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2592 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2595 wxVisualAttributes result
;
2596 PyObject
* obj0
= 0 ;
2598 (char *) "variant", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2604 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2605 if (SWIG_arg_fail(1)) SWIG_fail
;
2609 if (!wxPyCheckForApp()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 wxVisualAttributes
* resultptr
;
2618 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2627 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2630 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2632 return Py_BuildValue((char *)"");
2634 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxWindow
*arg1
= (wxWindow
*) 0 ;
2637 int arg2
= (int) -1 ;
2638 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2639 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2644 long arg6
= (long) wxBU_AUTODRAW
;
2645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2647 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2649 wxBitmapButton
*result
;
2652 bool temp8
= false ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2658 PyObject
* obj5
= 0 ;
2659 PyObject
* obj6
= 0 ;
2660 PyObject
* obj7
= 0 ;
2662 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 arg2
= (int)(SWIG_As_int(obj1
));
2671 if (SWIG_arg_fail(2)) SWIG_fail
;
2676 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2677 if (SWIG_arg_fail(3)) SWIG_fail
;
2679 SWIG_null_ref("wxBitmap");
2681 if (SWIG_arg_fail(3)) SWIG_fail
;
2687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2698 arg6
= (long)(SWIG_As_long(obj5
));
2699 if (SWIG_arg_fail(6)) SWIG_fail
;
2704 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2705 if (SWIG_arg_fail(7)) SWIG_fail
;
2707 SWIG_null_ref("wxValidator");
2709 if (SWIG_arg_fail(7)) SWIG_fail
;
2714 arg8
= wxString_in_helper(obj7
);
2715 if (arg8
== NULL
) SWIG_fail
;
2720 if (!wxPyCheckForApp()) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2742 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxBitmapButton
*result
;
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2751 if (!wxPyCheckForApp()) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (wxBitmapButton
*)new wxBitmapButton();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2765 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2768 wxWindow
*arg2
= (wxWindow
*) 0 ;
2769 int arg3
= (int) -1 ;
2770 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2771 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2772 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2773 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2774 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2775 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2776 long arg7
= (long) wxBU_AUTODRAW
;
2777 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2778 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2779 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2780 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2784 bool temp9
= false ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2788 PyObject
* obj3
= 0 ;
2789 PyObject
* obj4
= 0 ;
2790 PyObject
* obj5
= 0 ;
2791 PyObject
* obj6
= 0 ;
2792 PyObject
* obj7
= 0 ;
2793 PyObject
* obj8
= 0 ;
2795 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail
;
2801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2802 if (SWIG_arg_fail(2)) SWIG_fail
;
2805 arg3
= (int)(SWIG_As_int(obj2
));
2806 if (SWIG_arg_fail(3)) SWIG_fail
;
2811 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2812 if (SWIG_arg_fail(4)) SWIG_fail
;
2814 SWIG_null_ref("wxBitmap");
2816 if (SWIG_arg_fail(4)) SWIG_fail
;
2822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2833 arg7
= (long)(SWIG_As_long(obj6
));
2834 if (SWIG_arg_fail(7)) SWIG_fail
;
2839 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2840 if (SWIG_arg_fail(8)) SWIG_fail
;
2842 SWIG_null_ref("wxValidator");
2844 if (SWIG_arg_fail(8)) SWIG_fail
;
2849 arg9
= wxString_in_helper(obj8
);
2850 if (arg9
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2878 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (arg1
)->GetBitmapLabel();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 wxBitmap
* resultptr
;
2899 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2908 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (arg1
)->GetBitmapDisabled();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 wxBitmap
* resultptr
;
2929 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2938 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (arg1
)->GetBitmapFocus();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 wxBitmap
* resultptr
;
2959 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2968 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (arg1
)->GetBitmapSelected();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 wxBitmap
* resultptr
;
2989 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2998 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3001 wxBitmap
*arg2
= 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3005 (char *) "self",(char *) "bitmap", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3013 if (SWIG_arg_fail(2)) SWIG_fail
;
3015 SWIG_null_ref("wxBitmap");
3017 if (SWIG_arg_fail(2)) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 Py_INCREF(Py_None
); resultobj
= Py_None
;
3033 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3036 wxBitmap
*arg2
= 0 ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3040 (char *) "self",(char *) "bitmap", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail
;
3047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3048 if (SWIG_arg_fail(2)) SWIG_fail
;
3050 SWIG_null_ref("wxBitmap");
3052 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3071 wxBitmap
*arg2
= 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3075 (char *) "self",(char *) "bitmap", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail
;
3082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3085 SWIG_null_ref("wxBitmap");
3087 if (SWIG_arg_fail(2)) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 Py_INCREF(Py_None
); resultobj
= Py_None
;
3103 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3106 wxBitmap
*arg2
= 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "bitmap", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail
;
3117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 SWIG_null_ref("wxBitmap");
3122 if (SWIG_arg_fail(2)) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3145 PyObject
* obj2
= 0 ;
3147 (char *) "self",(char *) "x",(char *) "y", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 arg2
= (int)(SWIG_As_int(obj1
));
3155 if (SWIG_arg_fail(2)) SWIG_fail
;
3158 arg3
= (int)(SWIG_As_int(obj2
));
3159 if (SWIG_arg_fail(3)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 (arg1
)->SetMargins(arg2
,arg3
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 Py_INCREF(Py_None
); resultobj
= Py_None
;
3175 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_From_int((int)(result
));
3203 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_From_int((int)(result
));
3231 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3236 return Py_BuildValue((char *)"");
3238 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3239 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3244 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3249 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3251 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3258 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxWindow
*arg1
= (wxWindow
*) 0 ;
3261 int arg2
= (int) -1 ;
3262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3268 long arg6
= (long) 0 ;
3269 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3270 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3271 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3274 bool temp3
= false ;
3277 bool temp8
= false ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3280 PyObject
* obj2
= 0 ;
3281 PyObject
* obj3
= 0 ;
3282 PyObject
* obj4
= 0 ;
3283 PyObject
* obj5
= 0 ;
3284 PyObject
* obj6
= 0 ;
3285 PyObject
* obj7
= 0 ;
3287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3295 arg2
= (int)(SWIG_As_int(obj1
));
3296 if (SWIG_arg_fail(2)) SWIG_fail
;
3301 arg3
= wxString_in_helper(obj2
);
3302 if (arg3
== NULL
) SWIG_fail
;
3309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3320 arg6
= (long)(SWIG_As_long(obj5
));
3321 if (SWIG_arg_fail(6)) SWIG_fail
;
3326 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3327 if (SWIG_arg_fail(7)) SWIG_fail
;
3329 SWIG_null_ref("wxValidator");
3331 if (SWIG_arg_fail(7)) SWIG_fail
;
3336 arg8
= wxString_in_helper(obj7
);
3337 if (arg8
== NULL
) SWIG_fail
;
3342 if (!wxPyCheckForApp()) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3372 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3381 if (!wxPyCheckForApp()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (wxCheckBox
*)new wxCheckBox();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3395 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3398 wxWindow
*arg2
= (wxWindow
*) 0 ;
3399 int arg3
= (int) -1 ;
3400 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3402 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3403 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3404 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3405 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3406 long arg7
= (long) 0 ;
3407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3409 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3412 bool temp4
= false ;
3415 bool temp9
= false ;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3418 PyObject
* obj2
= 0 ;
3419 PyObject
* obj3
= 0 ;
3420 PyObject
* obj4
= 0 ;
3421 PyObject
* obj5
= 0 ;
3422 PyObject
* obj6
= 0 ;
3423 PyObject
* obj7
= 0 ;
3424 PyObject
* obj8
= 0 ;
3426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(2)) SWIG_fail
;
3436 arg3
= (int)(SWIG_As_int(obj2
));
3437 if (SWIG_arg_fail(3)) SWIG_fail
;
3442 arg4
= wxString_in_helper(obj3
);
3443 if (arg4
== NULL
) SWIG_fail
;
3450 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3456 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3461 arg7
= (long)(SWIG_As_long(obj6
));
3462 if (SWIG_arg_fail(7)) SWIG_fail
;
3467 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3468 if (SWIG_arg_fail(8)) SWIG_fail
;
3470 SWIG_null_ref("wxValidator");
3472 if (SWIG_arg_fail(8)) SWIG_fail
;
3477 arg9
= wxString_in_helper(obj8
);
3478 if (arg9
== NULL
) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3514 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)(arg1
)->GetValue();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3542 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (bool)(arg1
)->IsChecked();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3570 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "state", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3584 arg2
= (bool const)(SWIG_As_bool(obj1
));
3585 if (SWIG_arg_fail(2)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->SetValue(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3604 wxCheckBoxState result
;
3605 PyObject
* obj0
= 0 ;
3607 (char *) "self", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_From_int((result
));
3627 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3630 wxCheckBoxState arg2
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "state", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3641 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3642 if (SWIG_arg_fail(2)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3686 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3714 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3717 wxVisualAttributes result
;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "variant", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3726 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3727 if (SWIG_arg_fail(1)) SWIG_fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 wxVisualAttributes
* resultptr
;
3740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3749 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3754 return Py_BuildValue((char *)"");
3756 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3757 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3762 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3767 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3769 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3776 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxWindow
*arg1
= (wxWindow
*) 0 ;
3779 int arg2
= (int) -1 ;
3780 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3781 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3782 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3783 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3784 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3785 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3786 long arg6
= (long) 0 ;
3787 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3788 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3789 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3794 bool temp5
= false ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3805 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 arg2
= (int)(SWIG_As_int(obj1
));
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3831 if (! PySequence_Check(obj4
)) {
3832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3835 arg5
= new wxArrayString
;
3837 int i
, len
=PySequence_Length(obj4
);
3838 for (i
=0; i
<len
; i
++) {
3839 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3840 wxString
* s
= wxString_in_helper(item
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3850 arg6
= (long)(SWIG_As_long(obj5
));
3851 if (SWIG_arg_fail(6)) SWIG_fail
;
3856 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3857 if (SWIG_arg_fail(7)) SWIG_fail
;
3859 SWIG_null_ref("wxValidator");
3861 if (SWIG_arg_fail(7)) SWIG_fail
;
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3881 if (temp5
) delete arg5
;
3890 if (temp5
) delete arg5
;
3900 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (wxChoice
*)new wxChoice();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3923 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxChoice
*arg1
= (wxChoice
*) 0 ;
3926 wxWindow
*arg2
= (wxWindow
*) 0 ;
3927 int arg3
= (int) -1 ;
3928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3932 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3933 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3934 long arg7
= (long) 0 ;
3935 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3936 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3937 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3942 bool temp6
= false ;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail
;
3960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3961 if (SWIG_arg_fail(2)) SWIG_fail
;
3964 arg3
= (int)(SWIG_As_int(obj2
));
3965 if (SWIG_arg_fail(3)) SWIG_fail
;
3971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3982 if (! PySequence_Check(obj5
)) {
3983 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3986 arg6
= new wxArrayString
;
3988 int i
, len
=PySequence_Length(obj5
);
3989 for (i
=0; i
<len
; i
++) {
3990 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3991 wxString
* s
= wxString_in_helper(item
);
3992 if (PyErr_Occurred()) SWIG_fail
;
4001 arg7
= (long)(SWIG_As_long(obj6
));
4002 if (SWIG_arg_fail(7)) SWIG_fail
;
4007 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4010 SWIG_null_ref("wxValidator");
4012 if (SWIG_arg_fail(8)) SWIG_fail
;
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4033 if (temp6
) delete arg6
;
4042 if (temp6
) delete arg6
;
4052 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4055 wxVisualAttributes result
;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "variant", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4064 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4069 if (!wxPyCheckForApp()) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 wxVisualAttributes
* resultptr
;
4078 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4087 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4092 return Py_BuildValue((char *)"");
4094 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4095 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4100 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4105 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4107 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4114 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxWindow
*arg1
= (wxWindow
*) 0 ;
4117 int arg2
= (int) -1 ;
4118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4124 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4125 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4126 long arg7
= (long) 0 ;
4127 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4128 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4129 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4130 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4132 bool temp3
= false ;
4135 bool temp6
= false ;
4136 bool temp9
= false ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 PyObject
* obj2
= 0 ;
4140 PyObject
* obj3
= 0 ;
4141 PyObject
* obj4
= 0 ;
4142 PyObject
* obj5
= 0 ;
4143 PyObject
* obj6
= 0 ;
4144 PyObject
* obj7
= 0 ;
4145 PyObject
* obj8
= 0 ;
4147 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 arg2
= (int)(SWIG_As_int(obj1
));
4156 if (SWIG_arg_fail(2)) SWIG_fail
;
4161 arg3
= wxString_in_helper(obj2
);
4162 if (arg3
== NULL
) SWIG_fail
;
4169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4180 if (! PySequence_Check(obj5
)) {
4181 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4184 arg6
= new wxArrayString
;
4186 int i
, len
=PySequence_Length(obj5
);
4187 for (i
=0; i
<len
; i
++) {
4188 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4189 wxString
* s
= wxString_in_helper(item
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4199 arg7
= (long)(SWIG_As_long(obj6
));
4200 if (SWIG_arg_fail(7)) SWIG_fail
;
4205 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail
;
4208 SWIG_null_ref("wxValidator");
4210 if (SWIG_arg_fail(8)) SWIG_fail
;
4215 arg9
= wxString_in_helper(obj8
);
4216 if (arg9
== NULL
) SWIG_fail
;
4221 if (!wxPyCheckForApp()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4234 if (temp6
) delete arg6
;
4247 if (temp6
) delete arg6
;
4257 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (wxComboBox
*)new wxComboBox();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4280 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4283 wxWindow
*arg2
= (wxWindow
*) 0 ;
4284 int arg3
= (int) -1 ;
4285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4287 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4288 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4289 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4290 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4291 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4292 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4293 long arg8
= (long) 0 ;
4294 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4295 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4296 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4297 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4299 bool temp4
= false ;
4302 bool temp7
= false ;
4303 bool temp10
= false ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4306 PyObject
* obj2
= 0 ;
4307 PyObject
* obj3
= 0 ;
4308 PyObject
* obj4
= 0 ;
4309 PyObject
* obj5
= 0 ;
4310 PyObject
* obj6
= 0 ;
4311 PyObject
* obj7
= 0 ;
4312 PyObject
* obj8
= 0 ;
4313 PyObject
* obj9
= 0 ;
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4325 arg3
= (int)(SWIG_As_int(obj2
));
4326 if (SWIG_arg_fail(3)) SWIG_fail
;
4331 arg4
= wxString_in_helper(obj3
);
4332 if (arg4
== NULL
) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4350 if (! PySequence_Check(obj6
)) {
4351 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4354 arg7
= new wxArrayString
;
4356 int i
, len
=PySequence_Length(obj6
);
4357 for (i
=0; i
<len
; i
++) {
4358 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4359 wxString
* s
= wxString_in_helper(item
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4369 arg8
= (long)(SWIG_As_long(obj7
));
4370 if (SWIG_arg_fail(8)) SWIG_fail
;
4375 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4376 if (SWIG_arg_fail(9)) SWIG_fail
;
4378 SWIG_null_ref("wxValidator");
4380 if (SWIG_arg_fail(9)) SWIG_fail
;
4385 arg10
= wxString_in_helper(obj9
);
4386 if (arg10
== NULL
) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 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
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 if (temp7
) delete arg7
;
4418 if (temp7
) delete arg7
;
4428 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "self", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= ((wxComboBox
const *)arg1
)->GetValue();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4460 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4463 wxString
*arg2
= 0 ;
4464 bool temp2
= false ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "value", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 arg2
= wxString_in_helper(obj1
);
4476 if (arg2
== NULL
) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 (arg1
)->SetValue((wxString
const &)*arg2
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 Py_INCREF(Py_None
); resultobj
= Py_None
;
4551 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4583 (char *) "self",(char *) "pos", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail
;
4590 arg2
= (long)(SWIG_As_long(obj1
));
4591 if (SWIG_arg_fail(2)) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 (arg1
)->SetInsertionPoint(arg2
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 Py_INCREF(Py_None
); resultobj
= Py_None
;
4607 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "self", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_From_long((long)(result
));
4635 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_From_long((long)(result
));
4663 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4668 wxString
*arg4
= 0 ;
4669 bool temp4
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4675 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail
;
4682 arg2
= (long)(SWIG_As_long(obj1
));
4683 if (SWIG_arg_fail(2)) SWIG_fail
;
4686 arg3
= (long)(SWIG_As_long(obj2
));
4687 if (SWIG_arg_fail(3)) SWIG_fail
;
4690 arg4
= wxString_in_helper(obj3
);
4691 if (arg4
== NULL
) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4723 (char *) "self",(char *) "n", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail
;
4730 arg2
= (int)(SWIG_As_int(obj1
));
4731 if (SWIG_arg_fail(2)) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 (arg1
)->SetSelection(arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4756 (char *) "self",(char *) "from",(char *) "to", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4761 if (SWIG_arg_fail(1)) SWIG_fail
;
4763 arg2
= (long)(SWIG_As_long(obj1
));
4764 if (SWIG_arg_fail(2)) SWIG_fail
;
4767 arg3
= (long)(SWIG_As_long(obj2
));
4768 if (SWIG_arg_fail(3)) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 (arg1
)->SetSelection(arg2
,arg3
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4787 long *arg2
= (long *) 0 ;
4788 long *arg3
= (long *) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4799 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(1)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 (arg1
)->GetSelection(arg2
,arg3
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4812 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4813 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4814 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4821 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4824 wxString
*arg2
= 0 ;
4826 bool temp2
= false ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "self",(char *) "string", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4835 if (SWIG_arg_fail(1)) SWIG_fail
;
4837 arg2
= wxString_in_helper(obj1
);
4838 if (arg2
== NULL
) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4869 wxString
*arg3
= 0 ;
4870 bool temp3
= false ;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4873 PyObject
* obj2
= 0 ;
4875 (char *) "self",(char *) "n",(char *) "string", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4880 if (SWIG_arg_fail(1)) SWIG_fail
;
4882 arg2
= (int)(SWIG_As_int(obj1
));
4883 if (SWIG_arg_fail(2)) SWIG_fail
;
4886 arg3
= wxString_in_helper(obj2
);
4887 if (arg3
== NULL
) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4919 (char *) "self",(char *) "editable", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail
;
4926 arg2
= (bool)(SWIG_As_bool(obj1
));
4927 if (SWIG_arg_fail(2)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetEditable(arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4946 PyObject
* obj0
= 0 ;
4948 (char *) "self", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4953 if (SWIG_arg_fail(1)) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->SetInsertionPointEnd();
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4974 PyObject
* obj1
= 0 ;
4975 PyObject
* obj2
= 0 ;
4977 (char *) "self",(char *) "from",(char *) "to", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail
;
4984 arg2
= (long)(SWIG_As_long(obj1
));
4985 if (SWIG_arg_fail(2)) SWIG_fail
;
4988 arg3
= (long)(SWIG_As_long(obj2
));
4989 if (SWIG_arg_fail(3)) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 (arg1
)->Remove(arg2
,arg3
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5005 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5011 (char *) "self", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5033 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5038 (char *) "self", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "self", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5068 if (SWIG_arg_fail(1)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->SelectAll();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 Py_INCREF(Py_None
); resultobj
= Py_None
;
5108 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5119 if (SWIG_arg_fail(1)) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5136 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5147 if (SWIG_arg_fail(1)) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5164 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5170 (char *) "self", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5175 if (SWIG_arg_fail(1)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5192 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 static PyObject
*_wrap_ComboBox_CanRedo(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_CanRedo",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
)->CanRedo();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5251 wxVisualAttributes result
;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "variant", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5260 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5261 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 wxVisualAttributes
* resultptr
;
5274 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5283 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5286 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5288 return Py_BuildValue((char *)"");
5290 static int _wrap_GaugeNameStr_set(PyObject
*) {
5291 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5296 static PyObject
*_wrap_GaugeNameStr_get(void) {
5301 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5303 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5310 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxWindow
*arg1
= (wxWindow
*) 0 ;
5313 int arg2
= (int) -1 ;
5314 int arg3
= (int) 100 ;
5315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5319 long arg6
= (long) wxGA_HORIZONTAL
;
5320 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5321 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5322 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5327 bool temp8
= false ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5337 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5342 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 arg2
= (int)(SWIG_As_int(obj1
));
5346 if (SWIG_arg_fail(2)) SWIG_fail
;
5351 arg3
= (int)(SWIG_As_int(obj2
));
5352 if (SWIG_arg_fail(3)) SWIG_fail
;
5358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5369 arg6
= (long)(SWIG_As_long(obj5
));
5370 if (SWIG_arg_fail(6)) SWIG_fail
;
5375 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(7)) SWIG_fail
;
5378 SWIG_null_ref("wxValidator");
5380 if (SWIG_arg_fail(7)) SWIG_fail
;
5385 arg8
= wxString_in_helper(obj7
);
5386 if (arg8
== NULL
) SWIG_fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5413 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5422 if (!wxPyCheckForApp()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxGauge
*)new wxGauge();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5436 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxGauge
*arg1
= (wxGauge
*) 0 ;
5439 wxWindow
*arg2
= (wxWindow
*) 0 ;
5440 int arg3
= (int) -1 ;
5441 int arg4
= (int) 100 ;
5442 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5443 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5444 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5445 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5446 long arg7
= (long) wxGA_HORIZONTAL
;
5447 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5448 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5449 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5450 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5454 bool temp9
= false ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5457 PyObject
* obj2
= 0 ;
5458 PyObject
* obj3
= 0 ;
5459 PyObject
* obj4
= 0 ;
5460 PyObject
* obj5
= 0 ;
5461 PyObject
* obj6
= 0 ;
5462 PyObject
* obj7
= 0 ;
5463 PyObject
* obj8
= 0 ;
5465 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(2)) SWIG_fail
;
5475 arg3
= (int)(SWIG_As_int(obj2
));
5476 if (SWIG_arg_fail(3)) SWIG_fail
;
5481 arg4
= (int)(SWIG_As_int(obj3
));
5482 if (SWIG_arg_fail(4)) SWIG_fail
;
5488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5499 arg7
= (long)(SWIG_As_long(obj6
));
5500 if (SWIG_arg_fail(7)) SWIG_fail
;
5505 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5506 if (SWIG_arg_fail(8)) SWIG_fail
;
5508 SWIG_null_ref("wxValidator");
5510 if (SWIG_arg_fail(8)) SWIG_fail
;
5515 arg9
= wxString_in_helper(obj8
);
5516 if (arg9
== NULL
) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxGauge
*arg1
= (wxGauge
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "range", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail
;
5558 arg2
= (int)(SWIG_As_int(obj1
));
5559 if (SWIG_arg_fail(2)) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetRange(arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxGauge
*arg1
= (wxGauge
*) 0 ;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "self", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5586 if (SWIG_arg_fail(1)) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_From_int((int)(result
));
5603 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxGauge
*arg1
= (wxGauge
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5610 (char *) "self",(char *) "pos", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail
;
5617 arg2
= (int)(SWIG_As_int(obj1
));
5618 if (SWIG_arg_fail(2)) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetValue(arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxGauge
*arg1
= (wxGauge
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_From_int((int)(result
));
5662 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxGauge
*arg1
= (wxGauge
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5668 (char *) "self", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5690 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxGauge
*arg1
= (wxGauge
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5697 (char *) "self",(char *) "w", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5702 if (SWIG_arg_fail(1)) SWIG_fail
;
5704 arg2
= (int)(SWIG_As_int(obj1
));
5705 if (SWIG_arg_fail(2)) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->SetShadowWidth(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxGauge
*arg1
= (wxGauge
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5732 if (SWIG_arg_fail(1)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_From_int((int)(result
));
5749 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxGauge
*arg1
= (wxGauge
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "self",(char *) "w", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail
;
5763 arg2
= (int)(SWIG_As_int(obj1
));
5764 if (SWIG_arg_fail(2)) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->SetBezelFace(arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxGauge
*arg1
= (wxGauge
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_From_int((int)(result
));
5808 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5811 wxVisualAttributes result
;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "variant", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5820 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5821 if (SWIG_arg_fail(1)) SWIG_fail
;
5825 if (!wxPyCheckForApp()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5833 wxVisualAttributes
* resultptr
;
5834 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5843 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5846 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5848 return Py_BuildValue((char *)"");
5850 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5851 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5856 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5861 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5863 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5870 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5871 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5876 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5881 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5883 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5890 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5891 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5896 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5901 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5903 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5910 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxWindow
*arg1
= (wxWindow
*) 0 ;
5913 int arg2
= (int) -1 ;
5914 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5915 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5920 long arg6
= (long) 0 ;
5921 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5923 wxStaticBox
*result
;
5924 bool temp3
= false ;
5927 bool temp7
= false ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5931 PyObject
* obj3
= 0 ;
5932 PyObject
* obj4
= 0 ;
5933 PyObject
* obj5
= 0 ;
5934 PyObject
* obj6
= 0 ;
5936 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 arg2
= (int)(SWIG_As_int(obj1
));
5945 if (SWIG_arg_fail(2)) SWIG_fail
;
5950 arg3
= wxString_in_helper(obj2
);
5951 if (arg3
== NULL
) SWIG_fail
;
5958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5969 arg6
= (long)(SWIG_As_long(obj5
));
5970 if (SWIG_arg_fail(6)) SWIG_fail
;
5975 arg7
= wxString_in_helper(obj6
);
5976 if (arg7
== NULL
) SWIG_fail
;
5981 if (!wxPyCheckForApp()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6011 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxStaticBox
*result
;
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxStaticBox
*)new wxStaticBox();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6034 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6037 wxWindow
*arg2
= (wxWindow
*) 0 ;
6038 int arg3
= (int) -1 ;
6039 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6040 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6045 long arg7
= (long) 0 ;
6046 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6047 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6049 bool temp4
= false ;
6052 bool temp8
= false ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 PyObject
* obj2
= 0 ;
6056 PyObject
* obj3
= 0 ;
6057 PyObject
* obj4
= 0 ;
6058 PyObject
* obj5
= 0 ;
6059 PyObject
* obj6
= 0 ;
6060 PyObject
* obj7
= 0 ;
6062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail
;
6068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6069 if (SWIG_arg_fail(2)) SWIG_fail
;
6072 arg3
= (int)(SWIG_As_int(obj2
));
6073 if (SWIG_arg_fail(3)) SWIG_fail
;
6078 arg4
= wxString_in_helper(obj3
);
6079 if (arg4
== NULL
) SWIG_fail
;
6086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6097 arg7
= (long)(SWIG_As_long(obj6
));
6098 if (SWIG_arg_fail(7)) SWIG_fail
;
6103 arg8
= wxString_in_helper(obj7
);
6104 if (arg8
== NULL
) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6143 wxVisualAttributes result
;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "variant", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6152 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6153 if (SWIG_arg_fail(1)) SWIG_fail
;
6157 if (!wxPyCheckForApp()) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 wxVisualAttributes
* resultptr
;
6166 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6175 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6178 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6180 return Py_BuildValue((char *)"");
6182 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxWindow
*arg1
= (wxWindow
*) 0 ;
6185 int arg2
= (int) -1 ;
6186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6190 long arg5
= (long) wxLI_HORIZONTAL
;
6191 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6192 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6193 wxStaticLine
*result
;
6196 bool temp6
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 PyObject
* obj4
= 0 ;
6202 PyObject
* obj5
= 0 ;
6204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6212 arg2
= (int)(SWIG_As_int(obj1
));
6213 if (SWIG_arg_fail(2)) SWIG_fail
;
6219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6230 arg5
= (long)(SWIG_As_long(obj4
));
6231 if (SWIG_arg_fail(5)) SWIG_fail
;
6236 arg6
= wxString_in_helper(obj5
);
6237 if (arg6
== NULL
) SWIG_fail
;
6242 if (!wxPyCheckForApp()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6264 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxStaticLine
*result
;
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6273 if (!wxPyCheckForApp()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (wxStaticLine
*)new wxStaticLine();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6287 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6290 wxWindow
*arg2
= (wxWindow
*) 0 ;
6291 int arg3
= (int) -1 ;
6292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6296 long arg6
= (long) wxLI_HORIZONTAL
;
6297 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6302 bool temp7
= false ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 PyObject
* obj2
= 0 ;
6306 PyObject
* obj3
= 0 ;
6307 PyObject
* obj4
= 0 ;
6308 PyObject
* obj5
= 0 ;
6309 PyObject
* obj6
= 0 ;
6311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6318 if (SWIG_arg_fail(2)) SWIG_fail
;
6321 arg3
= (int)(SWIG_As_int(obj2
));
6322 if (SWIG_arg_fail(3)) SWIG_fail
;
6328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6339 arg6
= (long)(SWIG_As_long(obj5
));
6340 if (SWIG_arg_fail(6)) SWIG_fail
;
6345 arg7
= wxString_in_helper(obj6
);
6346 if (arg7
== NULL
) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)wxStaticLine::GetDefaultSize();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_From_int((int)(result
));
6426 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6429 wxVisualAttributes result
;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "variant", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6438 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6439 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 if (!wxPyCheckForApp()) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 wxVisualAttributes
* resultptr
;
6452 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6461 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6464 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6466 return Py_BuildValue((char *)"");
6468 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxWindow
*arg1
= (wxWindow
*) 0 ;
6471 int arg2
= (int) -1 ;
6472 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6473 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6474 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6475 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6476 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6477 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6478 long arg6
= (long) 0 ;
6479 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6480 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6481 wxStaticText
*result
;
6482 bool temp3
= false ;
6485 bool temp7
= false ;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6488 PyObject
* obj2
= 0 ;
6489 PyObject
* obj3
= 0 ;
6490 PyObject
* obj4
= 0 ;
6491 PyObject
* obj5
= 0 ;
6492 PyObject
* obj6
= 0 ;
6494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail
;
6502 arg2
= (int)(SWIG_As_int(obj1
));
6503 if (SWIG_arg_fail(2)) SWIG_fail
;
6508 arg3
= wxString_in_helper(obj2
);
6509 if (arg3
== NULL
) SWIG_fail
;
6516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6527 arg6
= (long)(SWIG_As_long(obj5
));
6528 if (SWIG_arg_fail(6)) SWIG_fail
;
6533 arg7
= wxString_in_helper(obj6
);
6534 if (arg7
== NULL
) SWIG_fail
;
6539 if (!wxPyCheckForApp()) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6569 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxStaticText
*result
;
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6578 if (!wxPyCheckForApp()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (wxStaticText
*)new wxStaticText();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6592 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6595 wxWindow
*arg2
= (wxWindow
*) 0 ;
6596 int arg3
= (int) -1 ;
6597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6603 long arg7
= (long) 0 ;
6604 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6607 bool temp4
= false ;
6610 bool temp8
= false ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 PyObject
* obj2
= 0 ;
6614 PyObject
* obj3
= 0 ;
6615 PyObject
* obj4
= 0 ;
6616 PyObject
* obj5
= 0 ;
6617 PyObject
* obj6
= 0 ;
6618 PyObject
* obj7
= 0 ;
6620 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail
;
6626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6627 if (SWIG_arg_fail(2)) SWIG_fail
;
6630 arg3
= (int)(SWIG_As_int(obj2
));
6631 if (SWIG_arg_fail(3)) SWIG_fail
;
6636 arg4
= wxString_in_helper(obj3
);
6637 if (arg4
== NULL
) SWIG_fail
;
6644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6650 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6655 arg7
= (long)(SWIG_As_long(obj6
));
6656 if (SWIG_arg_fail(7)) SWIG_fail
;
6661 arg8
= wxString_in_helper(obj7
);
6662 if (arg8
== NULL
) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6698 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6701 wxVisualAttributes result
;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "variant", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6710 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6715 if (!wxPyCheckForApp()) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 wxVisualAttributes
* resultptr
;
6724 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6733 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6738 return Py_BuildValue((char *)"");
6740 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxWindow
*arg1
= (wxWindow
*) 0 ;
6743 int arg2
= (int) -1 ;
6744 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6745 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6750 long arg6
= (long) 0 ;
6751 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6753 wxStaticBitmap
*result
;
6756 bool temp7
= false ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 PyObject
* obj2
= 0 ;
6760 PyObject
* obj3
= 0 ;
6761 PyObject
* obj4
= 0 ;
6762 PyObject
* obj5
= 0 ;
6763 PyObject
* obj6
= 0 ;
6765 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6770 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (int)(SWIG_As_int(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6780 if (SWIG_arg_fail(3)) SWIG_fail
;
6782 SWIG_null_ref("wxBitmap");
6784 if (SWIG_arg_fail(3)) SWIG_fail
;
6790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6801 arg6
= (long)(SWIG_As_long(obj5
));
6802 if (SWIG_arg_fail(6)) SWIG_fail
;
6807 arg7
= wxString_in_helper(obj6
);
6808 if (arg7
== NULL
) SWIG_fail
;
6813 if (!wxPyCheckForApp()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6835 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxStaticBitmap
*result
;
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6844 if (!wxPyCheckForApp()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6858 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6861 wxWindow
*arg2
= (wxWindow
*) 0 ;
6862 int arg3
= (int) -1 ;
6863 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6864 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6865 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6866 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6867 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6868 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6869 long arg7
= (long) 0 ;
6870 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6871 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6875 bool temp8
= false ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6879 PyObject
* obj3
= 0 ;
6880 PyObject
* obj4
= 0 ;
6881 PyObject
* obj5
= 0 ;
6882 PyObject
* obj6
= 0 ;
6883 PyObject
* obj7
= 0 ;
6885 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6890 if (SWIG_arg_fail(1)) SWIG_fail
;
6891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(2)) SWIG_fail
;
6895 arg3
= (int)(SWIG_As_int(obj2
));
6896 if (SWIG_arg_fail(3)) SWIG_fail
;
6901 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6902 if (SWIG_arg_fail(4)) SWIG_fail
;
6904 SWIG_null_ref("wxBitmap");
6906 if (SWIG_arg_fail(4)) SWIG_fail
;
6912 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6918 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6923 arg7
= (long)(SWIG_As_long(obj6
));
6924 if (SWIG_arg_fail(7)) SWIG_fail
;
6929 arg8
= wxString_in_helper(obj7
);
6930 if (arg8
== NULL
) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6958 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (arg1
)->GetBitmap();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 wxBitmap
* resultptr
;
6979 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6988 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6991 wxBitmap
*arg2
= 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "bitmap", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7000 if (SWIG_arg_fail(1)) SWIG_fail
;
7002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7003 if (SWIG_arg_fail(2)) SWIG_fail
;
7005 SWIG_null_ref("wxBitmap");
7007 if (SWIG_arg_fail(2)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "icon", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(2)) SWIG_fail
;
7040 SWIG_null_ref("wxIcon");
7042 if (SWIG_arg_fail(2)) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7061 wxVisualAttributes result
;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "variant", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7070 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7071 if (SWIG_arg_fail(1)) SWIG_fail
;
7075 if (!wxPyCheckForApp()) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 wxVisualAttributes
* resultptr
;
7084 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7093 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7096 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7098 return Py_BuildValue((char *)"");
7100 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7101 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7106 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7111 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7113 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7120 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxWindow
*arg1
= (wxWindow
*) 0 ;
7123 int arg2
= (int) -1 ;
7124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7128 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7129 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7130 long arg6
= (long) 0 ;
7131 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7132 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7133 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7138 bool temp5
= false ;
7139 bool temp8
= false ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7142 PyObject
* obj2
= 0 ;
7143 PyObject
* obj3
= 0 ;
7144 PyObject
* obj4
= 0 ;
7145 PyObject
* obj5
= 0 ;
7146 PyObject
* obj6
= 0 ;
7147 PyObject
* obj7
= 0 ;
7149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 arg2
= (int)(SWIG_As_int(obj1
));
7158 if (SWIG_arg_fail(2)) SWIG_fail
;
7164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7170 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7175 if (! PySequence_Check(obj4
)) {
7176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7179 arg5
= new wxArrayString
;
7181 int i
, len
=PySequence_Length(obj4
);
7182 for (i
=0; i
<len
; i
++) {
7183 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7184 wxString
* s
= wxString_in_helper(item
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7194 arg6
= (long)(SWIG_As_long(obj5
));
7195 if (SWIG_arg_fail(6)) SWIG_fail
;
7200 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(7)) SWIG_fail
;
7203 SWIG_null_ref("wxValidator");
7205 if (SWIG_arg_fail(7)) SWIG_fail
;
7210 arg8
= wxString_in_helper(obj7
);
7211 if (arg8
== NULL
) SWIG_fail
;
7216 if (!wxPyCheckForApp()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7225 if (temp5
) delete arg5
;
7234 if (temp5
) delete arg5
;
7244 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7253 if (!wxPyCheckForApp()) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (wxListBox
*)new wxListBox();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7267 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxListBox
*arg1
= (wxListBox
*) 0 ;
7270 wxWindow
*arg2
= (wxWindow
*) 0 ;
7271 int arg3
= (int) -1 ;
7272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7276 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7277 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7278 long arg7
= (long) 0 ;
7279 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7280 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7281 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7282 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7286 bool temp6
= false ;
7287 bool temp9
= false ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7291 PyObject
* obj3
= 0 ;
7292 PyObject
* obj4
= 0 ;
7293 PyObject
* obj5
= 0 ;
7294 PyObject
* obj6
= 0 ;
7295 PyObject
* obj7
= 0 ;
7296 PyObject
* obj8
= 0 ;
7298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7305 if (SWIG_arg_fail(2)) SWIG_fail
;
7308 arg3
= (int)(SWIG_As_int(obj2
));
7309 if (SWIG_arg_fail(3)) SWIG_fail
;
7315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7326 if (! PySequence_Check(obj5
)) {
7327 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7330 arg6
= new wxArrayString
;
7332 int i
, len
=PySequence_Length(obj5
);
7333 for (i
=0; i
<len
; i
++) {
7334 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7335 wxString
* s
= wxString_in_helper(item
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7345 arg7
= (long)(SWIG_As_long(obj6
));
7346 if (SWIG_arg_fail(7)) SWIG_fail
;
7351 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7352 if (SWIG_arg_fail(8)) SWIG_fail
;
7354 SWIG_null_ref("wxValidator");
7356 if (SWIG_arg_fail(8)) SWIG_fail
;
7361 arg9
= wxString_in_helper(obj8
);
7362 if (arg9
== NULL
) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 if (temp6
) delete arg6
;
7386 if (temp6
) delete arg6
;
7396 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxListBox
*arg1
= (wxListBox
*) 0 ;
7399 wxString
*arg2
= 0 ;
7401 PyObject
*arg4
= (PyObject
*) NULL
;
7402 bool temp2
= false ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7405 PyObject
* obj2
= 0 ;
7406 PyObject
* obj3
= 0 ;
7408 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail
;
7415 arg2
= wxString_in_helper(obj1
);
7416 if (arg2
== NULL
) SWIG_fail
;
7420 arg3
= (int)(SWIG_As_int(obj2
));
7421 if (SWIG_arg_fail(3)) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7448 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxListBox
*arg1
= (wxListBox
*) 0 ;
7451 wxArrayString
*arg2
= 0 ;
7453 bool temp2
= false ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7458 (char *) "self",(char *) "items",(char *) "pos", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 if (! PySequence_Check(obj1
)) {
7466 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7469 arg2
= new wxArrayString
;
7471 int i
, len
=PySequence_Length(obj1
);
7472 for (i
=0; i
<len
; i
++) {
7473 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7474 wxString
* s
= wxString_in_helper(item
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7482 arg3
= (int)(SWIG_As_int(obj2
));
7483 if (SWIG_arg_fail(3)) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 if (temp2
) delete arg2
;
7499 if (temp2
) delete arg2
;
7505 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxListBox
*arg1
= (wxListBox
*) 0 ;
7508 wxArrayString
*arg2
= 0 ;
7509 bool temp2
= false ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7513 (char *) "self",(char *) "items", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 if (! PySequence_Check(obj1
)) {
7521 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7524 arg2
= new wxArrayString
;
7526 int i
, len
=PySequence_Length(obj1
);
7527 for (i
=0; i
<len
; i
++) {
7528 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7529 wxString
* s
= wxString_in_helper(item
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->Set((wxArrayString
const &)*arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7545 if (temp2
) delete arg2
;
7550 if (temp2
) delete arg2
;
7556 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxListBox
*arg1
= (wxListBox
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "n", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7569 if (SWIG_arg_fail(1)) SWIG_fail
;
7571 arg2
= (int)(SWIG_As_int(obj1
));
7572 if (SWIG_arg_fail(2)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7590 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxListBox
*arg1
= (wxListBox
*) 0 ;
7594 bool arg3
= (bool) true ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7597 PyObject
* obj2
= 0 ;
7599 (char *) "self",(char *) "n",(char *) "select", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 arg2
= (int)(SWIG_As_int(obj1
));
7607 if (SWIG_arg_fail(2)) SWIG_fail
;
7611 arg3
= (bool)(SWIG_As_bool(obj2
));
7612 if (SWIG_arg_fail(3)) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 (arg1
)->SetSelection(arg2
,arg3
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 Py_INCREF(Py_None
); resultobj
= Py_None
;
7629 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxListBox
*arg1
= (wxListBox
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7636 (char *) "self",(char *) "n", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7641 if (SWIG_arg_fail(1)) SWIG_fail
;
7643 arg2
= (int)(SWIG_As_int(obj1
));
7644 if (SWIG_arg_fail(2)) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->Select(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxListBox
*arg1
= (wxListBox
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "n", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 arg2
= (int)(SWIG_As_int(obj1
));
7675 if (SWIG_arg_fail(2)) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->Deselect(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxListBox
*arg1
= (wxListBox
*) 0 ;
7694 int arg2
= (int) -1 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7698 (char *) "self",(char *) "itemToLeaveSelected", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7703 if (SWIG_arg_fail(1)) SWIG_fail
;
7706 arg2
= (int)(SWIG_As_int(obj1
));
7707 if (SWIG_arg_fail(2)) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 (arg1
)->DeselectAll(arg2
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 Py_INCREF(Py_None
); resultobj
= Py_None
;
7724 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxListBox
*arg1
= (wxListBox
*) 0 ;
7727 wxString
*arg2
= 0 ;
7728 bool arg3
= (bool) true ;
7730 bool temp2
= false ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7735 (char *) "self",(char *) "s",(char *) "select", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7740 if (SWIG_arg_fail(1)) SWIG_fail
;
7742 arg2
= wxString_in_helper(obj1
);
7743 if (arg2
== NULL
) SWIG_fail
;
7748 arg3
= (bool)(SWIG_As_bool(obj2
));
7749 if (SWIG_arg_fail(3)) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7776 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxListBox
*arg1
= (wxListBox
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7802 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxListBox
*arg1
= (wxListBox
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "n", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 arg2
= (int)(SWIG_As_int(obj1
));
7817 if (SWIG_arg_fail(2)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 (arg1
)->SetFirstItem(arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 Py_INCREF(Py_None
); resultobj
= Py_None
;
7833 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxListBox
*arg1
= (wxListBox
*) 0 ;
7836 wxString
*arg2
= 0 ;
7837 bool temp2
= false ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7841 (char *) "self",(char *) "s", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7846 if (SWIG_arg_fail(1)) SWIG_fail
;
7848 arg2
= wxString_in_helper(obj1
);
7849 if (arg2
== NULL
) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxListBox
*arg1
= (wxListBox
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7881 (char *) "self",(char *) "n", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 arg2
= (int)(SWIG_As_int(obj1
));
7889 if (SWIG_arg_fail(2)) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 (arg1
)->EnsureVisible(arg2
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxListBox
*arg1
= (wxListBox
*) 0 ;
7908 wxString
*arg2
= 0 ;
7909 bool temp2
= false ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7913 (char *) "self",(char *) "s", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail
;
7920 arg2
= wxString_in_helper(obj1
);
7921 if (arg2
== NULL
) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7946 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxListBox
*arg1
= (wxListBox
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "self", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7957 if (SWIG_arg_fail(1)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxListBox
*arg1
= (wxListBox
*) 0 ;
7978 wxColour
*arg3
= 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 PyObject
* obj2
= 0 ;
7984 (char *) "self",(char *) "item",(char *) "c", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail
;
7991 arg2
= (int)(SWIG_As_int(obj1
));
7992 if (SWIG_arg_fail(2)) SWIG_fail
;
7996 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxListBox
*arg1
= (wxListBox
*) 0 ;
8016 wxColour
*arg3
= 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8020 PyObject
* obj2
= 0 ;
8022 (char *) "self",(char *) "item",(char *) "c", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 arg2
= (int)(SWIG_As_int(obj1
));
8030 if (SWIG_arg_fail(2)) SWIG_fail
;
8034 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxListBox
*arg1
= (wxListBox
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8056 PyObject
* obj1
= 0 ;
8057 PyObject
* obj2
= 0 ;
8059 (char *) "self",(char *) "item",(char *) "f", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8064 if (SWIG_arg_fail(1)) SWIG_fail
;
8066 arg2
= (int)(SWIG_As_int(obj1
));
8067 if (SWIG_arg_fail(2)) SWIG_fail
;
8070 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(3)) SWIG_fail
;
8073 SWIG_null_ref("wxFont");
8075 if (SWIG_arg_fail(3)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 Py_INCREF(Py_None
); resultobj
= Py_None
;
8091 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8094 wxVisualAttributes result
;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "variant", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8103 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8108 if (!wxPyCheckForApp()) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8116 wxVisualAttributes
* resultptr
;
8117 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8126 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8129 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8131 return Py_BuildValue((char *)"");
8133 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxWindow
*arg1
= (wxWindow
*) 0 ;
8136 int arg2
= (int) -1 ;
8137 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8138 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8139 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8140 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8141 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8142 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8143 long arg6
= (long) 0 ;
8144 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8145 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8146 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8147 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8148 wxCheckListBox
*result
;
8151 bool temp5
= false ;
8152 bool temp8
= false ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8155 PyObject
* obj2
= 0 ;
8156 PyObject
* obj3
= 0 ;
8157 PyObject
* obj4
= 0 ;
8158 PyObject
* obj5
= 0 ;
8159 PyObject
* obj6
= 0 ;
8160 PyObject
* obj7
= 0 ;
8162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail
;
8170 arg2
= (int)(SWIG_As_int(obj1
));
8171 if (SWIG_arg_fail(2)) SWIG_fail
;
8177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8183 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8188 if (! PySequence_Check(obj4
)) {
8189 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8192 arg5
= new wxArrayString
;
8194 int i
, len
=PySequence_Length(obj4
);
8195 for (i
=0; i
<len
; i
++) {
8196 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8197 wxString
* s
= wxString_in_helper(item
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8207 arg6
= (long)(SWIG_As_long(obj5
));
8208 if (SWIG_arg_fail(6)) SWIG_fail
;
8213 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8214 if (SWIG_arg_fail(7)) SWIG_fail
;
8216 SWIG_null_ref("wxValidator");
8218 if (SWIG_arg_fail(7)) SWIG_fail
;
8223 arg8
= wxString_in_helper(obj7
);
8224 if (arg8
== NULL
) SWIG_fail
;
8229 if (!wxPyCheckForApp()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8238 if (temp5
) delete arg5
;
8247 if (temp5
) delete arg5
;
8257 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxCheckListBox
*result
;
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8266 if (!wxPyCheckForApp()) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxCheckListBox
*)new wxCheckListBox();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8280 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8283 wxWindow
*arg2
= (wxWindow
*) 0 ;
8284 int arg3
= (int) -1 ;
8285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8289 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8290 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8291 long arg7
= (long) 0 ;
8292 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8293 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8294 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8295 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8299 bool temp6
= false ;
8300 bool temp9
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8304 PyObject
* obj3
= 0 ;
8305 PyObject
* obj4
= 0 ;
8306 PyObject
* obj5
= 0 ;
8307 PyObject
* obj6
= 0 ;
8308 PyObject
* obj7
= 0 ;
8309 PyObject
* obj8
= 0 ;
8311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail
;
8317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8318 if (SWIG_arg_fail(2)) SWIG_fail
;
8321 arg3
= (int)(SWIG_As_int(obj2
));
8322 if (SWIG_arg_fail(3)) SWIG_fail
;
8328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8339 if (! PySequence_Check(obj5
)) {
8340 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8343 arg6
= new wxArrayString
;
8345 int i
, len
=PySequence_Length(obj5
);
8346 for (i
=0; i
<len
; i
++) {
8347 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8348 wxString
* s
= wxString_in_helper(item
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8358 arg7
= (long)(SWIG_As_long(obj6
));
8359 if (SWIG_arg_fail(7)) SWIG_fail
;
8364 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(8)) SWIG_fail
;
8367 SWIG_null_ref("wxValidator");
8369 if (SWIG_arg_fail(8)) SWIG_fail
;
8374 arg9
= wxString_in_helper(obj8
);
8375 if (arg9
== NULL
) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 if (temp6
) delete arg6
;
8399 if (temp6
) delete arg6
;
8409 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8417 (char *) "self",(char *) "index", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8422 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 arg2
= (int)(SWIG_As_int(obj1
));
8425 if (SWIG_arg_fail(2)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)(arg1
)->IsChecked(arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8443 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8447 int arg3
= (int) true ;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8450 PyObject
* obj2
= 0 ;
8452 (char *) "self",(char *) "index",(char *) "check", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail
;
8459 arg2
= (int)(SWIG_As_int(obj1
));
8460 if (SWIG_arg_fail(2)) SWIG_fail
;
8464 arg3
= (int)(SWIG_As_int(obj2
));
8465 if (SWIG_arg_fail(3)) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->Check(arg2
,arg3
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 Py_INCREF(Py_None
); resultobj
= Py_None
;
8482 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8493 if (SWIG_arg_fail(1)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (int)(arg1
)->GetItemHeight();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= SWIG_From_int((int)(result
));
8510 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "self",(char *) "pt", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_From_int((int)(result
));
8545 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8555 (char *) "self",(char *) "x",(char *) "y", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8560 if (SWIG_arg_fail(1)) SWIG_fail
;
8562 arg2
= (int)(SWIG_As_int(obj1
));
8563 if (SWIG_arg_fail(2)) SWIG_fail
;
8566 arg3
= (int)(SWIG_As_int(obj2
));
8567 if (SWIG_arg_fail(3)) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_From_int((int)(result
));
8585 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8588 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8590 return Py_BuildValue((char *)"");
8592 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8593 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8598 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8603 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8605 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8612 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxColour
const &arg1_defvalue
= wxNullColour
;
8615 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8616 wxColour
const &arg2_defvalue
= wxNullColour
;
8617 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8618 wxFont
const &arg3_defvalue
= wxNullFont
;
8619 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8620 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8626 PyObject
* obj2
= 0 ;
8627 PyObject
* obj3
= 0 ;
8629 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8636 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8642 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8648 if (SWIG_arg_fail(3)) SWIG_fail
;
8650 SWIG_null_ref("wxFont");
8652 if (SWIG_arg_fail(3)) SWIG_fail
;
8657 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8658 if (SWIG_arg_fail(4)) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8675 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "self", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8685 if (SWIG_arg_fail(1)) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8705 (char *) "self", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8728 wxColour
*arg2
= 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8733 (char *) "self",(char *) "colText", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail
;
8741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8760 wxColour
*arg2
= 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8765 (char *) "self",(char *) "colBack", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8770 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8789 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8793 long arg3
= (long) wxTEXT_ATTR_FONT
;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj2
= 0 ;
8798 (char *) "self",(char *) "font",(char *) "flags", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail
;
8805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8806 if (SWIG_arg_fail(2)) SWIG_fail
;
8808 SWIG_null_ref("wxFont");
8810 if (SWIG_arg_fail(2)) SWIG_fail
;
8814 arg3
= (long)(SWIG_As_long(obj2
));
8815 if (SWIG_arg_fail(3)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8835 wxTextAttrAlignment arg2
;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "alignment", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8847 if (SWIG_arg_fail(2)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8866 wxArrayInt
*arg2
= 0 ;
8867 bool temp2
= false ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "tabs", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 if (! PySequence_Check(obj1
)) {
8879 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8882 arg2
= new wxArrayInt
;
8884 int i
, len
=PySequence_Length(obj1
);
8885 for (i
=0; i
<len
; i
++) {
8886 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8887 PyObject
* number
= PyNumber_Int(item
);
8888 arg2
->Add(PyInt_AS_LONG(number
));
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 if (temp2
) delete arg2
;
8907 if (temp2
) delete arg2
;
8913 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8917 int arg3
= (int) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail
;
8929 arg2
= (int)(SWIG_As_int(obj1
));
8930 if (SWIG_arg_fail(2)) SWIG_fail
;
8934 arg3
= (int)(SWIG_As_int(obj2
));
8935 if (SWIG_arg_fail(3)) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->SetLeftIndent(arg2
,arg3
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8959 (char *) "self",(char *) "indent", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail
;
8966 arg2
= (int)(SWIG_As_int(obj1
));
8967 if (SWIG_arg_fail(2)) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->SetRightIndent(arg2
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8990 (char *) "self",(char *) "flags", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(1)) SWIG_fail
;
8997 arg2
= (long)(SWIG_As_long(obj1
));
8998 if (SWIG_arg_fail(2)) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->SetFlags(arg2
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9042 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9053 if (SWIG_arg_fail(1)) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9154 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9182 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9218 (char *) "self",(char *) "flag", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail
;
9225 arg2
= (long)(SWIG_As_long(obj1
));
9226 if (SWIG_arg_fail(2)) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9244 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9255 if (SWIG_arg_fail(1)) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9260 result
= (wxColour
*) &_result_ref
;
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9273 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9279 (char *) "self", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9289 result
= (wxColour
*) &_result_ref
;
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9302 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9313 if (SWIG_arg_fail(1)) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9318 result
= (wxFont
*) &_result_ref
;
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 wxFont
* resultptr
= new wxFont(*result
);
9326 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9334 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9337 wxTextAttrAlignment result
;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_From_int((result
));
9360 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9376 result
= (wxArrayInt
*) &_result_ref
;
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= PyList_New(0);
9385 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9386 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9387 PyList_Append(resultobj
, val
);
9397 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9403 (char *) "self", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9408 if (SWIG_arg_fail(1)) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_From_long((long)(result
));
9425 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9436 if (SWIG_arg_fail(1)) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_From_long((long)(result
));
9453 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_From_long((long)(result
));
9481 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_long((long)(result
));
9509 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9537 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxTextAttr
*arg1
= 0 ;
9540 wxTextAttr
*arg2
= 0 ;
9541 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9547 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9553 if (SWIG_arg_fail(1)) SWIG_fail
;
9555 SWIG_null_ref("wxTextAttr");
9557 if (SWIG_arg_fail(1)) SWIG_fail
;
9560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9561 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 SWIG_null_ref("wxTextAttr");
9565 if (SWIG_arg_fail(2)) SWIG_fail
;
9567 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(3)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 wxTextAttr
* resultptr
;
9578 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9587 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9590 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9592 return Py_BuildValue((char *)"");
9594 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxWindow
*arg1
= (wxWindow
*) 0 ;
9597 int arg2
= (int) -1 ;
9598 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9599 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9604 long arg6
= (long) 0 ;
9605 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9606 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9607 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9610 bool temp3
= false ;
9613 bool temp8
= false ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9617 PyObject
* obj3
= 0 ;
9618 PyObject
* obj4
= 0 ;
9619 PyObject
* obj5
= 0 ;
9620 PyObject
* obj6
= 0 ;
9621 PyObject
* obj7
= 0 ;
9623 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 arg2
= (int)(SWIG_As_int(obj1
));
9632 if (SWIG_arg_fail(2)) SWIG_fail
;
9637 arg3
= wxString_in_helper(obj2
);
9638 if (arg3
== NULL
) SWIG_fail
;
9645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9656 arg6
= (long)(SWIG_As_long(obj5
));
9657 if (SWIG_arg_fail(6)) SWIG_fail
;
9662 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9663 if (SWIG_arg_fail(7)) SWIG_fail
;
9665 SWIG_null_ref("wxValidator");
9667 if (SWIG_arg_fail(7)) SWIG_fail
;
9672 arg8
= wxString_in_helper(obj7
);
9673 if (arg8
== NULL
) SWIG_fail
;
9678 if (!wxPyCheckForApp()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9708 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9717 if (!wxPyCheckForApp()) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (wxTextCtrl
*)new wxTextCtrl();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9731 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9734 wxWindow
*arg2
= (wxWindow
*) 0 ;
9735 int arg3
= (int) -1 ;
9736 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9737 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9738 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9739 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9740 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9741 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9742 long arg7
= (long) 0 ;
9743 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9744 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9745 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9746 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9748 bool temp4
= false ;
9751 bool temp9
= false ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 PyObject
* obj2
= 0 ;
9755 PyObject
* obj3
= 0 ;
9756 PyObject
* obj4
= 0 ;
9757 PyObject
* obj5
= 0 ;
9758 PyObject
* obj6
= 0 ;
9759 PyObject
* obj7
= 0 ;
9760 PyObject
* obj8
= 0 ;
9762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9767 if (SWIG_arg_fail(1)) SWIG_fail
;
9768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9769 if (SWIG_arg_fail(2)) SWIG_fail
;
9772 arg3
= (int)(SWIG_As_int(obj2
));
9773 if (SWIG_arg_fail(3)) SWIG_fail
;
9778 arg4
= wxString_in_helper(obj3
);
9779 if (arg4
== NULL
) SWIG_fail
;
9786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9797 arg7
= (long)(SWIG_As_long(obj6
));
9798 if (SWIG_arg_fail(7)) SWIG_fail
;
9803 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(8)) SWIG_fail
;
9806 SWIG_null_ref("wxValidator");
9808 if (SWIG_arg_fail(8)) SWIG_fail
;
9813 arg9
= wxString_in_helper(obj8
);
9814 if (arg9
== NULL
) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9850 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9885 wxString
*arg2
= 0 ;
9886 bool temp2
= false ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9890 (char *) "self",(char *) "value", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail
;
9897 arg2
= wxString_in_helper(obj1
);
9898 if (arg2
== NULL
) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetValue((wxString
const &)*arg2
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9931 PyObject
* obj2
= 0 ;
9933 (char *) "self",(char *) "from",(char *) "to", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail
;
9940 arg2
= (long)(SWIG_As_long(obj1
));
9941 if (SWIG_arg_fail(2)) SWIG_fail
;
9944 arg3
= (long)(SWIG_As_long(obj2
));
9945 if (SWIG_arg_fail(3)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9967 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9975 (char *) "self",(char *) "lineNo", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail
;
9982 arg2
= (long)(SWIG_As_long(obj1
));
9983 if (SWIG_arg_fail(2)) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_From_int((int)(result
));
10001 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "lineNo", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10014 if (SWIG_arg_fail(1)) SWIG_fail
;
10016 arg2
= (long)(SWIG_As_long(obj1
));
10017 if (SWIG_arg_fail(2)) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10039 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_From_int((int)(result
));
10067 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10095 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10123 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10151 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10182 long *arg2
= (long *) 0 ;
10183 long *arg3
= (long *) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10194 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10197 if (SWIG_arg_fail(1)) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10207 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10209 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10216 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10248 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10278 wxString
*arg4
= 0 ;
10279 bool temp4
= false ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 PyObject
* obj2
= 0 ;
10283 PyObject
* obj3
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10290 if (SWIG_arg_fail(1)) SWIG_fail
;
10292 arg2
= (long)(SWIG_As_long(obj1
));
10293 if (SWIG_arg_fail(2)) SWIG_fail
;
10296 arg3
= (long)(SWIG_As_long(obj2
));
10297 if (SWIG_arg_fail(3)) SWIG_fail
;
10300 arg4
= wxString_in_helper(obj3
);
10301 if (arg4
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 Py_INCREF(Py_None
); resultobj
= Py_None
;
10326 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self",(char *) "from",(char *) "to", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10340 if (SWIG_arg_fail(1)) SWIG_fail
;
10342 arg2
= (long)(SWIG_As_long(obj1
));
10343 if (SWIG_arg_fail(2)) SWIG_fail
;
10346 arg3
= (long)(SWIG_As_long(obj2
));
10347 if (SWIG_arg_fail(3)) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->Remove(arg2
,arg3
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 Py_INCREF(Py_None
); resultobj
= Py_None
;
10363 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10366 wxString
*arg2
= 0 ;
10368 bool temp2
= false ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "file", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail
;
10379 arg2
= wxString_in_helper(obj1
);
10380 if (arg2
== NULL
) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10410 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10411 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10413 bool temp2
= false ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "file", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail
;
10425 arg2
= wxString_in_helper(obj1
);
10426 if (arg2
== NULL
) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10454 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10464 if (SWIG_arg_fail(1)) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->MarkDirty();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 (arg1
)->DiscardEdits();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 Py_INCREF(Py_None
); resultobj
= Py_None
;
10504 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10507 unsigned long arg2
;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self",(char *) "len", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail
;
10518 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10519 if (SWIG_arg_fail(2)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 (arg1
)->SetMaxLength(arg2
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10538 wxString
*arg2
= 0 ;
10539 bool temp2
= false ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "text", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail
;
10550 arg2
= wxString_in_helper(obj1
);
10551 if (arg2
== NULL
) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->WriteText((wxString
const &)*arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10576 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10579 wxString
*arg2
= 0 ;
10580 bool temp2
= false ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "text", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail
;
10591 arg2
= wxString_in_helper(obj1
);
10592 if (arg2
== NULL
) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 (arg1
)->AppendText((wxString
const &)*arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 Py_INCREF(Py_None
); resultobj
= Py_None
;
10617 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10620 wxKeyEvent
*arg2
= 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "event", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail
;
10632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(2)) SWIG_fail
;
10634 if (arg2
== NULL
) {
10635 SWIG_null_ref("wxKeyEvent");
10637 if (SWIG_arg_fail(2)) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10655 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10660 wxTextAttr
*arg4
= 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 PyObject
* obj2
= 0 ;
10665 PyObject
* obj3
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail
;
10674 arg2
= (long)(SWIG_As_long(obj1
));
10675 if (SWIG_arg_fail(2)) SWIG_fail
;
10678 arg3
= (long)(SWIG_As_long(obj2
));
10679 if (SWIG_arg_fail(3)) SWIG_fail
;
10682 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10683 if (SWIG_arg_fail(4)) SWIG_fail
;
10684 if (arg4
== NULL
) {
10685 SWIG_null_ref("wxTextAttr");
10687 if (SWIG_arg_fail(4)) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10705 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10709 wxTextAttr
*arg3
= 0 ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 PyObject
* obj2
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self",(char *) "position",(char *) "style", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 arg2
= (long)(SWIG_As_long(obj1
));
10723 if (SWIG_arg_fail(2)) SWIG_fail
;
10726 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10727 if (SWIG_arg_fail(3)) SWIG_fail
;
10728 if (arg3
== NULL
) {
10729 SWIG_null_ref("wxTextAttr");
10731 if (SWIG_arg_fail(3)) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10749 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10752 wxTextAttr
*arg2
= 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "style", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 if (arg2
== NULL
) {
10767 SWIG_null_ref("wxTextAttr");
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10790 wxTextAttr
*result
;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10803 result
= (wxTextAttr
*) &_result_ref
;
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10816 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "x",(char *) "y", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 arg2
= (long)(SWIG_As_long(obj1
));
10834 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 arg3
= (long)(SWIG_As_long(obj2
));
10838 if (SWIG_arg_fail(3)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_From_long((long)(result
));
10856 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10860 long *arg3
= (long *) 0 ;
10861 long *arg4
= (long *) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "pos", NULL
10872 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10873 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail
;
10878 arg2
= (long)(SWIG_As_long(obj1
));
10879 if (SWIG_arg_fail(2)) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10889 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10890 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10891 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10892 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10899 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self",(char *) "pos", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail
;
10913 arg2
= (long)(SWIG_As_long(obj1
));
10914 if (SWIG_arg_fail(2)) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->ShowPosition(arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10933 wxPoint
*arg2
= 0 ;
10934 long *arg3
= (long *) 0 ;
10935 long *arg4
= (long *) 0 ;
10936 wxTextCtrlHitTestResult result
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "pt", NULL
10948 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10949 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail
;
10955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= SWIG_From_int((result
));
10965 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10966 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10967 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10968 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10975 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10978 wxPoint
*arg2
= 0 ;
10979 long *arg3
= (long *) 0 ;
10980 wxTextCtrlHitTestResult result
;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "pt", NULL
10990 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail
;
10996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_From_int((result
));
11006 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11007 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11014 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11024 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11074 if (SWIG_arg_fail(1)) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11183 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11208 if (SWIG_arg_fail(1)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 Py_INCREF(Py_None
); resultobj
= Py_None
;
11223 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11251 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "pos", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail
;
11293 arg2
= (long)(SWIG_As_long(obj1
));
11294 if (SWIG_arg_fail(2)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetInsertionPoint(arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->SetInsertionPointEnd();
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_From_long((long)(result
));
11363 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_From_long((long)(result
));
11391 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "from",(char *) "to", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 arg2
= (long)(SWIG_As_long(obj1
));
11408 if (SWIG_arg_fail(2)) SWIG_fail
;
11411 arg3
= (long)(SWIG_As_long(obj2
));
11412 if (SWIG_arg_fail(3)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->SetSelection(arg2
,arg3
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->SelectAll();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "editable", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 arg2
= (bool)(SWIG_As_bool(obj1
));
11468 if (SWIG_arg_fail(2)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 (arg1
)->SetEditable(arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 Py_INCREF(Py_None
); resultobj
= Py_None
;
11484 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11487 bool arg2
= (bool) true ;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "show", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11497 if (SWIG_arg_fail(1)) SWIG_fail
;
11500 arg2
= (bool)(SWIG_As_bool(obj1
));
11501 if (SWIG_arg_fail(2)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11520 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11531 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->HideNativeCaret();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11551 wxString
*arg2
= 0 ;
11552 bool temp2
= false ;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "text", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail
;
11563 arg2
= wxString_in_helper(obj1
);
11564 if (arg2
== NULL
) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 PyObject
* obj1
= 0 ;
11597 PyObject
* obj2
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "from",(char *) "to", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11604 if (SWIG_arg_fail(1)) SWIG_fail
;
11606 arg2
= (long)(SWIG_As_long(obj1
));
11607 if (SWIG_arg_fail(2)) SWIG_fail
;
11610 arg3
= (long)(SWIG_As_long(obj2
));
11611 if (SWIG_arg_fail(3)) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11633 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11636 wxVisualAttributes result
;
11637 PyObject
* obj0
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "variant", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11645 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11646 if (SWIG_arg_fail(1)) SWIG_fail
;
11650 if (!wxPyCheckForApp()) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 wxVisualAttributes
* resultptr
;
11659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11668 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11671 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11673 return Py_BuildValue((char *)"");
11675 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11678 wxMouseEvent
*arg2
= 0 ;
11681 wxTextUrlEvent
*result
;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 PyObject
* obj3
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11692 arg1
= (int)(SWIG_As_int(obj0
));
11693 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(2)) SWIG_fail
;
11698 if (arg2
== NULL
) {
11699 SWIG_null_ref("wxMouseEvent");
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 arg3
= (long)(SWIG_As_long(obj2
));
11705 if (SWIG_arg_fail(3)) SWIG_fail
;
11708 arg4
= (long)(SWIG_As_long(obj3
));
11709 if (SWIG_arg_fail(4)) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11725 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11728 wxMouseEvent
*result
;
11729 PyObject
* obj0
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11741 result
= (wxMouseEvent
*) &_result_ref
;
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11754 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_From_long((long)(result
));
11782 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_From_long((long)(result
));
11810 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11815 return Py_BuildValue((char *)"");
11817 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11818 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11823 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11828 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11830 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11837 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxWindow
*arg1
= (wxWindow
*) 0 ;
11840 int arg2
= (int) -1 ;
11841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11845 long arg5
= (long) wxSB_HORIZONTAL
;
11846 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11847 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11848 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11850 wxScrollBar
*result
;
11853 bool temp7
= false ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 PyObject
* obj2
= 0 ;
11857 PyObject
* obj3
= 0 ;
11858 PyObject
* obj4
= 0 ;
11859 PyObject
* obj5
= 0 ;
11860 PyObject
* obj6
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11867 if (SWIG_arg_fail(1)) SWIG_fail
;
11870 arg2
= (int)(SWIG_As_int(obj1
));
11871 if (SWIG_arg_fail(2)) SWIG_fail
;
11877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11883 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11888 arg5
= (long)(SWIG_As_long(obj4
));
11889 if (SWIG_arg_fail(5)) SWIG_fail
;
11894 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11895 if (SWIG_arg_fail(6)) SWIG_fail
;
11896 if (arg6
== NULL
) {
11897 SWIG_null_ref("wxValidator");
11899 if (SWIG_arg_fail(6)) SWIG_fail
;
11904 arg7
= wxString_in_helper(obj6
);
11905 if (arg7
== NULL
) SWIG_fail
;
11910 if (!wxPyCheckForApp()) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11932 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxScrollBar
*result
;
11935 char *kwnames
[] = {
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11941 if (!wxPyCheckForApp()) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxScrollBar
*)new wxScrollBar();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11955 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11958 wxWindow
*arg2
= (wxWindow
*) 0 ;
11959 int arg3
= (int) -1 ;
11960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11964 long arg6
= (long) wxSB_HORIZONTAL
;
11965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11967 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11972 bool temp8
= false ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 PyObject
* obj3
= 0 ;
11977 PyObject
* obj4
= 0 ;
11978 PyObject
* obj5
= 0 ;
11979 PyObject
* obj6
= 0 ;
11980 PyObject
* obj7
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11987 if (SWIG_arg_fail(1)) SWIG_fail
;
11988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11989 if (SWIG_arg_fail(2)) SWIG_fail
;
11992 arg3
= (int)(SWIG_As_int(obj2
));
11993 if (SWIG_arg_fail(3)) SWIG_fail
;
11999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12010 arg6
= (long)(SWIG_As_long(obj5
));
12011 if (SWIG_arg_fail(6)) SWIG_fail
;
12016 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12017 if (SWIG_arg_fail(7)) SWIG_fail
;
12018 if (arg7
== NULL
) {
12019 SWIG_null_ref("wxValidator");
12021 if (SWIG_arg_fail(7)) SWIG_fail
;
12026 arg8
= wxString_in_helper(obj7
);
12027 if (arg8
== NULL
) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12055 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_From_int((int)(result
));
12083 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12094 if (SWIG_arg_fail(1)) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_From_int((int)(result
));
12111 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_From_int((int)(result
));
12139 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12150 if (SWIG_arg_fail(1)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_From_int((int)(result
));
12167 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12178 if (SWIG_arg_fail(1)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "viewStart", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail
;
12209 arg2
= (int)(SWIG_As_int(obj1
));
12210 if (SWIG_arg_fail(2)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 (arg1
)->SetThumbPosition(arg2
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12233 bool arg6
= (bool) true ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 PyObject
* obj3
= 0 ;
12238 PyObject
* obj4
= 0 ;
12239 PyObject
* obj5
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail
;
12248 arg2
= (int)(SWIG_As_int(obj1
));
12249 if (SWIG_arg_fail(2)) SWIG_fail
;
12252 arg3
= (int)(SWIG_As_int(obj2
));
12253 if (SWIG_arg_fail(3)) SWIG_fail
;
12256 arg4
= (int)(SWIG_As_int(obj3
));
12257 if (SWIG_arg_fail(4)) SWIG_fail
;
12260 arg5
= (int)(SWIG_As_int(obj4
));
12261 if (SWIG_arg_fail(5)) SWIG_fail
;
12265 arg6
= (bool)(SWIG_As_bool(obj5
));
12266 if (SWIG_arg_fail(6)) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 Py_INCREF(Py_None
); resultobj
= Py_None
;
12283 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12286 wxVisualAttributes result
;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "variant", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12295 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12296 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 if (!wxPyCheckForApp()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 wxVisualAttributes
* resultptr
;
12309 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12318 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12321 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12323 return Py_BuildValue((char *)"");
12325 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12326 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12331 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12336 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12338 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12345 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12346 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12351 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12356 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12358 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12365 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxWindow
*arg1
= (wxWindow
*) 0 ;
12368 int arg2
= (int) -1 ;
12369 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12370 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12373 long arg5
= (long) wxSP_HORIZONTAL
;
12374 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12375 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12376 wxSpinButton
*result
;
12379 bool temp6
= false ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 PyObject
* obj3
= 0 ;
12384 PyObject
* obj4
= 0 ;
12385 PyObject
* obj5
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 arg2
= (int)(SWIG_As_int(obj1
));
12396 if (SWIG_arg_fail(2)) SWIG_fail
;
12402 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12408 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12413 arg5
= (long)(SWIG_As_long(obj4
));
12414 if (SWIG_arg_fail(5)) SWIG_fail
;
12419 arg6
= wxString_in_helper(obj5
);
12420 if (arg6
== NULL
) SWIG_fail
;
12425 if (!wxPyCheckForApp()) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12447 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxSpinButton
*result
;
12450 char *kwnames
[] = {
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12456 if (!wxPyCheckForApp()) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (wxSpinButton
*)new wxSpinButton();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12470 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12473 wxWindow
*arg2
= (wxWindow
*) 0 ;
12474 int arg3
= (int) -1 ;
12475 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12476 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12477 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12478 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12479 long arg6
= (long) wxSP_HORIZONTAL
;
12480 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12481 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12485 bool temp7
= false ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 PyObject
* obj3
= 0 ;
12490 PyObject
* obj4
= 0 ;
12491 PyObject
* obj5
= 0 ;
12492 PyObject
* obj6
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12501 if (SWIG_arg_fail(2)) SWIG_fail
;
12504 arg3
= (int)(SWIG_As_int(obj2
));
12505 if (SWIG_arg_fail(3)) SWIG_fail
;
12511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12522 arg6
= (long)(SWIG_As_long(obj5
));
12523 if (SWIG_arg_fail(6)) SWIG_fail
;
12528 arg7
= wxString_in_helper(obj6
);
12529 if (arg7
== NULL
) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12557 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12568 if (SWIG_arg_fail(1)) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_From_int((int)(result
));
12585 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_From_int((int)(result
));
12613 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_From_int((int)(result
));
12641 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "val", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 arg2
= (int)(SWIG_As_int(obj1
));
12656 if (SWIG_arg_fail(2)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->SetValue(arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "minVal", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail
;
12686 arg2
= (int)(SWIG_As_int(obj1
));
12687 if (SWIG_arg_fail(2)) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 (arg1
)->SetMin(arg2
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 Py_INCREF(Py_None
); resultobj
= Py_None
;
12703 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "maxVal", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12715 if (SWIG_arg_fail(1)) SWIG_fail
;
12717 arg2
= (int)(SWIG_As_int(obj1
));
12718 if (SWIG_arg_fail(2)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetMax(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 PyObject
* obj1
= 0 ;
12741 PyObject
* obj2
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail
;
12750 arg2
= (int)(SWIG_As_int(obj1
));
12751 if (SWIG_arg_fail(2)) SWIG_fail
;
12754 arg3
= (int)(SWIG_As_int(obj2
));
12755 if (SWIG_arg_fail(3)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->SetRange(arg2
,arg3
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12799 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12802 wxVisualAttributes result
;
12803 PyObject
* obj0
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "variant", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12811 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12812 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 if (!wxPyCheckForApp()) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 wxVisualAttributes
* resultptr
;
12825 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12834 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12837 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12839 return Py_BuildValue((char *)"");
12841 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxWindow
*arg1
= (wxWindow
*) 0 ;
12844 int arg2
= (int) -1 ;
12845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12851 long arg6
= (long) wxSP_ARROW_KEYS
;
12852 int arg7
= (int) 0 ;
12853 int arg8
= (int) 100 ;
12854 int arg9
= (int) 0 ;
12855 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12856 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12857 wxSpinCtrl
*result
;
12858 bool temp3
= false ;
12861 bool temp10
= false ;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 PyObject
* obj3
= 0 ;
12866 PyObject
* obj4
= 0 ;
12867 PyObject
* obj5
= 0 ;
12868 PyObject
* obj6
= 0 ;
12869 PyObject
* obj7
= 0 ;
12870 PyObject
* obj8
= 0 ;
12871 PyObject
* obj9
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12878 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 arg2
= (int)(SWIG_As_int(obj1
));
12882 if (SWIG_arg_fail(2)) SWIG_fail
;
12887 arg3
= wxString_in_helper(obj2
);
12888 if (arg3
== NULL
) SWIG_fail
;
12895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12906 arg6
= (long)(SWIG_As_long(obj5
));
12907 if (SWIG_arg_fail(6)) SWIG_fail
;
12912 arg7
= (int)(SWIG_As_int(obj6
));
12913 if (SWIG_arg_fail(7)) SWIG_fail
;
12918 arg8
= (int)(SWIG_As_int(obj7
));
12919 if (SWIG_arg_fail(8)) SWIG_fail
;
12924 arg9
= (int)(SWIG_As_int(obj8
));
12925 if (SWIG_arg_fail(9)) SWIG_fail
;
12930 arg10
= wxString_in_helper(obj9
);
12931 if (arg10
== NULL
) SWIG_fail
;
12936 if (!wxPyCheckForApp()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12966 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxSpinCtrl
*result
;
12969 char *kwnames
[] = {
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12975 if (!wxPyCheckForApp()) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12989 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12992 wxWindow
*arg2
= (wxWindow
*) 0 ;
12993 int arg3
= (int) -1 ;
12994 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12995 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13000 long arg7
= (long) wxSP_ARROW_KEYS
;
13001 int arg8
= (int) 0 ;
13002 int arg9
= (int) 100 ;
13003 int arg10
= (int) 0 ;
13004 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13005 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13007 bool temp4
= false ;
13010 bool temp11
= false ;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 PyObject
* obj2
= 0 ;
13014 PyObject
* obj3
= 0 ;
13015 PyObject
* obj4
= 0 ;
13016 PyObject
* obj5
= 0 ;
13017 PyObject
* obj6
= 0 ;
13018 PyObject
* obj7
= 0 ;
13019 PyObject
* obj8
= 0 ;
13020 PyObject
* obj9
= 0 ;
13021 PyObject
* obj10
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13030 if (SWIG_arg_fail(2)) SWIG_fail
;
13033 arg3
= (int)(SWIG_As_int(obj2
));
13034 if (SWIG_arg_fail(3)) SWIG_fail
;
13039 arg4
= wxString_in_helper(obj3
);
13040 if (arg4
== NULL
) SWIG_fail
;
13047 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13053 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13058 arg7
= (long)(SWIG_As_long(obj6
));
13059 if (SWIG_arg_fail(7)) SWIG_fail
;
13064 arg8
= (int)(SWIG_As_int(obj7
));
13065 if (SWIG_arg_fail(8)) SWIG_fail
;
13070 arg9
= (int)(SWIG_As_int(obj8
));
13071 if (SWIG_arg_fail(9)) SWIG_fail
;
13076 arg10
= (int)(SWIG_As_int(obj9
));
13077 if (SWIG_arg_fail(10)) SWIG_fail
;
13082 arg11
= wxString_in_helper(obj10
);
13083 if (arg11
== NULL
) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13119 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_From_int((int)(result
));
13147 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "value", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail
;
13161 arg2
= (int)(SWIG_As_int(obj1
));
13162 if (SWIG_arg_fail(2)) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetValue(arg2
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 bool temp2
= false ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "text", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13191 if (SWIG_arg_fail(1)) SWIG_fail
;
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->SetValue((wxString
const &)*arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 PyObject
* obj2
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13235 arg2
= (int)(SWIG_As_int(obj1
));
13236 if (SWIG_arg_fail(2)) SWIG_fail
;
13239 arg3
= (int)(SWIG_As_int(obj2
));
13240 if (SWIG_arg_fail(3)) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetRange(arg2
,arg3
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13267 if (SWIG_arg_fail(1)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_From_int((int)(result
));
13284 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_From_int((int)(result
));
13312 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "from",(char *) "to", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13328 arg2
= (long)(SWIG_As_long(obj1
));
13329 if (SWIG_arg_fail(2)) SWIG_fail
;
13332 arg3
= (long)(SWIG_As_long(obj2
));
13333 if (SWIG_arg_fail(3)) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetSelection(arg2
,arg3
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13352 wxVisualAttributes result
;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "variant", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13361 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13362 if (SWIG_arg_fail(1)) SWIG_fail
;
13366 if (!wxPyCheckForApp()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 wxVisualAttributes
* resultptr
;
13375 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13384 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13387 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13389 return Py_BuildValue((char *)"");
13391 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13394 int arg2
= (int) 0 ;
13395 wxSpinEvent
*result
;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "commandType",(char *) "winid", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13406 if (SWIG_arg_fail(1)) SWIG_fail
;
13411 arg2
= (int)(SWIG_As_int(obj1
));
13412 if (SWIG_arg_fail(2)) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13429 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13440 if (SWIG_arg_fail(1)) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_From_int((int)(result
));
13457 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "pos", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13469 if (SWIG_arg_fail(1)) SWIG_fail
;
13471 arg2
= (int)(SWIG_As_int(obj1
));
13472 if (SWIG_arg_fail(2)) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 (arg1
)->SetPosition(arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 Py_INCREF(Py_None
); resultobj
= Py_None
;
13488 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13491 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13493 return Py_BuildValue((char *)"");
13495 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13496 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13501 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13506 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13508 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13515 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13516 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13521 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13526 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13528 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13535 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxWindow
*arg1
= (wxWindow
*) 0 ;
13538 int arg2
= (int) -1 ;
13539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13545 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13546 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13547 int arg7
= (int) 0 ;
13548 long arg8
= (long) wxRA_HORIZONTAL
;
13549 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13550 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13551 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13552 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13553 wxRadioBox
*result
;
13554 bool temp3
= false ;
13557 bool temp6
= false ;
13558 bool temp10
= false ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 PyObject
* obj2
= 0 ;
13562 PyObject
* obj3
= 0 ;
13563 PyObject
* obj4
= 0 ;
13564 PyObject
* obj5
= 0 ;
13565 PyObject
* obj6
= 0 ;
13566 PyObject
* obj7
= 0 ;
13567 PyObject
* obj8
= 0 ;
13568 PyObject
* obj9
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13575 if (SWIG_arg_fail(1)) SWIG_fail
;
13578 arg2
= (int)(SWIG_As_int(obj1
));
13579 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 arg3
= wxString_in_helper(obj2
);
13585 if (arg3
== NULL
) SWIG_fail
;
13592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13603 if (! PySequence_Check(obj5
)) {
13604 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13607 arg6
= new wxArrayString
;
13609 int i
, len
=PySequence_Length(obj5
);
13610 for (i
=0; i
<len
; i
++) {
13611 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13612 wxString
* s
= wxString_in_helper(item
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13622 arg7
= (int)(SWIG_As_int(obj6
));
13623 if (SWIG_arg_fail(7)) SWIG_fail
;
13628 arg8
= (long)(SWIG_As_long(obj7
));
13629 if (SWIG_arg_fail(8)) SWIG_fail
;
13634 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13635 if (SWIG_arg_fail(9)) SWIG_fail
;
13636 if (arg9
== NULL
) {
13637 SWIG_null_ref("wxValidator");
13639 if (SWIG_arg_fail(9)) SWIG_fail
;
13644 arg10
= wxString_in_helper(obj9
);
13645 if (arg10
== NULL
) SWIG_fail
;
13650 if (!wxPyCheckForApp()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 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
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13663 if (temp6
) delete arg6
;
13676 if (temp6
) delete arg6
;
13686 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxRadioBox
*result
;
13689 char *kwnames
[] = {
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13695 if (!wxPyCheckForApp()) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (wxRadioBox
*)new wxRadioBox();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13709 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13712 wxWindow
*arg2
= (wxWindow
*) 0 ;
13713 int arg3
= (int) -1 ;
13714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13720 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13721 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13722 int arg8
= (int) 0 ;
13723 long arg9
= (long) wxRA_HORIZONTAL
;
13724 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13725 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13726 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13727 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13729 bool temp4
= false ;
13732 bool temp7
= false ;
13733 bool temp11
= false ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 PyObject
* obj2
= 0 ;
13737 PyObject
* obj3
= 0 ;
13738 PyObject
* obj4
= 0 ;
13739 PyObject
* obj5
= 0 ;
13740 PyObject
* obj6
= 0 ;
13741 PyObject
* obj7
= 0 ;
13742 PyObject
* obj8
= 0 ;
13743 PyObject
* obj9
= 0 ;
13744 PyObject
* obj10
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13751 if (SWIG_arg_fail(1)) SWIG_fail
;
13752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13753 if (SWIG_arg_fail(2)) SWIG_fail
;
13756 arg3
= (int)(SWIG_As_int(obj2
));
13757 if (SWIG_arg_fail(3)) SWIG_fail
;
13762 arg4
= wxString_in_helper(obj3
);
13763 if (arg4
== NULL
) SWIG_fail
;
13770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13776 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13781 if (! PySequence_Check(obj6
)) {
13782 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13785 arg7
= new wxArrayString
;
13787 int i
, len
=PySequence_Length(obj6
);
13788 for (i
=0; i
<len
; i
++) {
13789 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13790 wxString
* s
= wxString_in_helper(item
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13800 arg8
= (int)(SWIG_As_int(obj7
));
13801 if (SWIG_arg_fail(8)) SWIG_fail
;
13806 arg9
= (long)(SWIG_As_long(obj8
));
13807 if (SWIG_arg_fail(9)) SWIG_fail
;
13812 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13813 if (SWIG_arg_fail(10)) SWIG_fail
;
13814 if (arg10
== NULL
) {
13815 SWIG_null_ref("wxValidator");
13817 if (SWIG_arg_fail(10)) SWIG_fail
;
13822 arg11
= wxString_in_helper(obj10
);
13823 if (arg11
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 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
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13842 if (temp7
) delete arg7
;
13855 if (temp7
) delete arg7
;
13865 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self",(char *) "n", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13877 if (SWIG_arg_fail(1)) SWIG_fail
;
13879 arg2
= (int)(SWIG_As_int(obj1
));
13880 if (SWIG_arg_fail(2)) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->SetSelection(arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_From_int((int)(result
));
13924 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13956 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13959 wxString
*arg2
= 0 ;
13961 bool temp2
= false ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "s", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 arg2
= wxString_in_helper(obj1
);
13973 if (arg2
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14011 if (SWIG_arg_fail(1)) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_From_int((int)(result
));
14028 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14031 wxString
*arg2
= 0 ;
14033 bool temp2
= false ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self",(char *) "s", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail
;
14044 arg2
= wxString_in_helper(obj1
);
14045 if (arg2
== NULL
) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_int((int)(result
));
14072 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "n", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail
;
14087 arg2
= (int)(SWIG_As_int(obj1
));
14088 if (SWIG_arg_fail(2)) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14110 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14114 wxString
*arg3
= 0 ;
14115 bool temp3
= false ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self",(char *) "n",(char *) "label", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14125 if (SWIG_arg_fail(1)) SWIG_fail
;
14127 arg2
= (int)(SWIG_As_int(obj1
));
14128 if (SWIG_arg_fail(2)) SWIG_fail
;
14131 arg3
= wxString_in_helper(obj2
);
14132 if (arg3
== NULL
) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14157 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14161 bool arg3
= (bool) true ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 PyObject
* obj2
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self",(char *) "n",(char *) "enable", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14173 arg2
= (int)(SWIG_As_int(obj1
));
14174 if (SWIG_arg_fail(2)) SWIG_fail
;
14178 arg3
= (bool)(SWIG_As_bool(obj2
));
14179 if (SWIG_arg_fail(3)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->Enable(arg2
,arg3
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14196 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14200 bool arg3
= (bool) true ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "n",(char *) "show", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail
;
14212 arg2
= (int)(SWIG_As_int(obj1
));
14213 if (SWIG_arg_fail(2)) SWIG_fail
;
14217 arg3
= (bool)(SWIG_As_bool(obj2
));
14218 if (SWIG_arg_fail(3)) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 (arg1
)->Show(arg2
,arg3
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_int((int)(result
));
14263 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14274 if (SWIG_arg_fail(1)) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_From_int((int)(result
));
14291 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 PyObject
* obj2
= 0 ;
14301 PyObject
* obj3
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail
;
14310 arg2
= (int)(SWIG_As_int(obj1
));
14311 if (SWIG_arg_fail(2)) SWIG_fail
;
14314 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14315 if (SWIG_arg_fail(3)) SWIG_fail
;
14318 arg4
= (long)(SWIG_As_long(obj3
));
14319 if (SWIG_arg_fail(4)) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int((int)(result
));
14337 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14340 wxVisualAttributes result
;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "variant", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14349 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14350 if (SWIG_arg_fail(1)) SWIG_fail
;
14354 if (!wxPyCheckForApp()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14362 wxVisualAttributes
* resultptr
;
14363 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14372 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxWindow
*arg1
= (wxWindow
*) 0 ;
14382 int arg2
= (int) -1 ;
14383 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14389 long arg6
= (long) 0 ;
14390 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14391 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14392 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14393 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14394 wxRadioButton
*result
;
14395 bool temp3
= false ;
14398 bool temp8
= false ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 PyObject
* obj2
= 0 ;
14402 PyObject
* obj3
= 0 ;
14403 PyObject
* obj4
= 0 ;
14404 PyObject
* obj5
= 0 ;
14405 PyObject
* obj6
= 0 ;
14406 PyObject
* obj7
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail
;
14416 arg2
= (int)(SWIG_As_int(obj1
));
14417 if (SWIG_arg_fail(2)) SWIG_fail
;
14422 arg3
= wxString_in_helper(obj2
);
14423 if (arg3
== NULL
) SWIG_fail
;
14430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14441 arg6
= (long)(SWIG_As_long(obj5
));
14442 if (SWIG_arg_fail(6)) SWIG_fail
;
14447 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(7)) SWIG_fail
;
14449 if (arg7
== NULL
) {
14450 SWIG_null_ref("wxValidator");
14452 if (SWIG_arg_fail(7)) SWIG_fail
;
14457 arg8
= wxString_in_helper(obj7
);
14458 if (arg8
== NULL
) SWIG_fail
;
14463 if (!wxPyCheckForApp()) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14493 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxRadioButton
*result
;
14496 char *kwnames
[] = {
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14502 if (!wxPyCheckForApp()) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (wxRadioButton
*)new wxRadioButton();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14516 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14519 wxWindow
*arg2
= (wxWindow
*) 0 ;
14520 int arg3
= (int) -1 ;
14521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14527 long arg7
= (long) 0 ;
14528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14530 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14533 bool temp4
= false ;
14536 bool temp9
= false ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 PyObject
* obj4
= 0 ;
14542 PyObject
* obj5
= 0 ;
14543 PyObject
* obj6
= 0 ;
14544 PyObject
* obj7
= 0 ;
14545 PyObject
* obj8
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14552 if (SWIG_arg_fail(1)) SWIG_fail
;
14553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14554 if (SWIG_arg_fail(2)) SWIG_fail
;
14557 arg3
= (int)(SWIG_As_int(obj2
));
14558 if (SWIG_arg_fail(3)) SWIG_fail
;
14563 arg4
= wxString_in_helper(obj3
);
14564 if (arg4
== NULL
) SWIG_fail
;
14571 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14577 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14582 arg7
= (long)(SWIG_As_long(obj6
));
14583 if (SWIG_arg_fail(7)) SWIG_fail
;
14588 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(8)) SWIG_fail
;
14590 if (arg8
== NULL
) {
14591 SWIG_null_ref("wxValidator");
14593 if (SWIG_arg_fail(8)) SWIG_fail
;
14598 arg9
= wxString_in_helper(obj8
);
14599 if (arg9
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14646 if (SWIG_arg_fail(1)) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)(arg1
)->GetValue();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14663 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "value", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14677 arg2
= (bool)(SWIG_As_bool(obj1
));
14678 if (SWIG_arg_fail(2)) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 (arg1
)->SetValue(arg2
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 Py_INCREF(Py_None
); resultobj
= Py_None
;
14694 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14697 wxVisualAttributes result
;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "variant", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14706 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14707 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 if (!wxPyCheckForApp()) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 wxVisualAttributes
* resultptr
;
14720 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14729 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14734 return Py_BuildValue((char *)"");
14736 static int _wrap_SliderNameStr_set(PyObject
*) {
14737 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14742 static PyObject
*_wrap_SliderNameStr_get(void) {
14747 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14749 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14756 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxWindow
*arg1
= (wxWindow
*) 0 ;
14759 int arg2
= (int) -1 ;
14760 int arg3
= (int) 0 ;
14761 int arg4
= (int) 0 ;
14762 int arg5
= (int) 100 ;
14763 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14764 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14765 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14766 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14767 long arg8
= (long) wxSL_HORIZONTAL
;
14768 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14769 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14770 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14771 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14775 bool temp10
= false ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 PyObject
* obj2
= 0 ;
14779 PyObject
* obj3
= 0 ;
14780 PyObject
* obj4
= 0 ;
14781 PyObject
* obj5
= 0 ;
14782 PyObject
* obj6
= 0 ;
14783 PyObject
* obj7
= 0 ;
14784 PyObject
* obj8
= 0 ;
14785 PyObject
* obj9
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail
;
14795 arg2
= (int)(SWIG_As_int(obj1
));
14796 if (SWIG_arg_fail(2)) SWIG_fail
;
14801 arg3
= (int)(SWIG_As_int(obj2
));
14802 if (SWIG_arg_fail(3)) SWIG_fail
;
14807 arg4
= (int)(SWIG_As_int(obj3
));
14808 if (SWIG_arg_fail(4)) SWIG_fail
;
14813 arg5
= (int)(SWIG_As_int(obj4
));
14814 if (SWIG_arg_fail(5)) SWIG_fail
;
14820 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14826 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14831 arg8
= (long)(SWIG_As_long(obj7
));
14832 if (SWIG_arg_fail(8)) SWIG_fail
;
14837 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14838 if (SWIG_arg_fail(9)) SWIG_fail
;
14839 if (arg9
== NULL
) {
14840 SWIG_null_ref("wxValidator");
14842 if (SWIG_arg_fail(9)) SWIG_fail
;
14847 arg10
= wxString_in_helper(obj9
);
14848 if (arg10
== NULL
) SWIG_fail
;
14853 if (!wxPyCheckForApp()) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14875 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14878 char *kwnames
[] = {
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14884 if (!wxPyCheckForApp()) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxSlider
*)new wxSlider();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14898 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxSlider
*arg1
= (wxSlider
*) 0 ;
14901 wxWindow
*arg2
= (wxWindow
*) 0 ;
14902 int arg3
= (int) -1 ;
14903 int arg4
= (int) 0 ;
14904 int arg5
= (int) 0 ;
14905 int arg6
= (int) 100 ;
14906 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14907 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14908 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14909 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14910 long arg9
= (long) wxSL_HORIZONTAL
;
14911 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14912 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14913 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14914 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14918 bool temp11
= false ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 PyObject
* obj2
= 0 ;
14922 PyObject
* obj3
= 0 ;
14923 PyObject
* obj4
= 0 ;
14924 PyObject
* obj5
= 0 ;
14925 PyObject
* obj6
= 0 ;
14926 PyObject
* obj7
= 0 ;
14927 PyObject
* obj8
= 0 ;
14928 PyObject
* obj9
= 0 ;
14929 PyObject
* obj10
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self",(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 *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14938 if (SWIG_arg_fail(2)) SWIG_fail
;
14941 arg3
= (int)(SWIG_As_int(obj2
));
14942 if (SWIG_arg_fail(3)) SWIG_fail
;
14947 arg4
= (int)(SWIG_As_int(obj3
));
14948 if (SWIG_arg_fail(4)) SWIG_fail
;
14953 arg5
= (int)(SWIG_As_int(obj4
));
14954 if (SWIG_arg_fail(5)) SWIG_fail
;
14959 arg6
= (int)(SWIG_As_int(obj5
));
14960 if (SWIG_arg_fail(6)) SWIG_fail
;
14966 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14972 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14977 arg9
= (long)(SWIG_As_long(obj8
));
14978 if (SWIG_arg_fail(9)) SWIG_fail
;
14983 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14984 if (SWIG_arg_fail(10)) SWIG_fail
;
14985 if (arg10
== NULL
) {
14986 SWIG_null_ref("wxValidator");
14988 if (SWIG_arg_fail(10)) SWIG_fail
;
14993 arg11
= wxString_in_helper(obj10
);
14994 if (arg11
== NULL
) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxSlider
*arg1
= (wxSlider
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15033 if (SWIG_arg_fail(1)) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_From_int((int)(result
));
15050 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxSlider
*arg1
= (wxSlider
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self",(char *) "value", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail
;
15064 arg2
= (int)(SWIG_As_int(obj1
));
15065 if (SWIG_arg_fail(2)) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 (arg1
)->SetValue(arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 Py_INCREF(Py_None
); resultobj
= Py_None
;
15081 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxSlider
*arg1
= (wxSlider
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 PyObject
* obj2
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 arg2
= (int)(SWIG_As_int(obj1
));
15098 if (SWIG_arg_fail(2)) SWIG_fail
;
15101 arg3
= (int)(SWIG_As_int(obj2
));
15102 if (SWIG_arg_fail(3)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetRange(arg2
,arg3
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxSlider
*arg1
= (wxSlider
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_int((int)(result
));
15146 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxSlider
*arg1
= (wxSlider
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_From_int((int)(result
));
15174 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxSlider
*arg1
= (wxSlider
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "minValue", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 arg2
= (int)(SWIG_As_int(obj1
));
15189 if (SWIG_arg_fail(2)) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 (arg1
)->SetMin(arg2
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 Py_INCREF(Py_None
); resultobj
= Py_None
;
15205 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxSlider
*arg1
= (wxSlider
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self",(char *) "maxValue", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 arg2
= (int)(SWIG_As_int(obj1
));
15220 if (SWIG_arg_fail(2)) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 (arg1
)->SetMax(arg2
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 Py_INCREF(Py_None
); resultobj
= Py_None
;
15236 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxSlider
*arg1
= (wxSlider
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "lineSize", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15250 arg2
= (int)(SWIG_As_int(obj1
));
15251 if (SWIG_arg_fail(2)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 (arg1
)->SetLineSize(arg2
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15267 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxSlider
*arg1
= (wxSlider
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self",(char *) "pageSize", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15279 if (SWIG_arg_fail(1)) SWIG_fail
;
15281 arg2
= (int)(SWIG_As_int(obj1
));
15282 if (SWIG_arg_fail(2)) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 (arg1
)->SetPageSize(arg2
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 Py_INCREF(Py_None
); resultobj
= Py_None
;
15298 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxSlider
*arg1
= (wxSlider
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_From_int((int)(result
));
15326 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxSlider
*arg1
= (wxSlider
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15337 if (SWIG_arg_fail(1)) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_From_int((int)(result
));
15354 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxSlider
*arg1
= (wxSlider
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "lenPixels", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail
;
15368 arg2
= (int)(SWIG_As_int(obj1
));
15369 if (SWIG_arg_fail(2)) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->SetThumbLength(arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxSlider
*arg1
= (wxSlider
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_From_int((int)(result
));
15413 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxSlider
*arg1
= (wxSlider
*) 0 ;
15417 int arg3
= (int) 1 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 PyObject
* obj2
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "n",(char *) "pos", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 arg2
= (int)(SWIG_As_int(obj1
));
15430 if (SWIG_arg_fail(2)) SWIG_fail
;
15434 arg3
= (int)(SWIG_As_int(obj2
));
15435 if (SWIG_arg_fail(3)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SetTickFreq(arg2
,arg3
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxSlider
*arg1
= (wxSlider
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_From_int((int)(result
));
15480 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxSlider
*arg1
= (wxSlider
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15490 if (SWIG_arg_fail(1)) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->ClearTicks();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 Py_INCREF(Py_None
); resultobj
= Py_None
;
15505 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxSlider
*arg1
= (wxSlider
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "self",(char *) "tickPos", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15517 if (SWIG_arg_fail(1)) SWIG_fail
;
15519 arg2
= (int)(SWIG_As_int(obj1
));
15520 if (SWIG_arg_fail(2)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetTick(arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxSlider
*arg1
= (wxSlider
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->ClearSel();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 Py_INCREF(Py_None
); resultobj
= Py_None
;
15561 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxSlider
*arg1
= (wxSlider
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_From_int((int)(result
));
15589 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxSlider
*arg1
= (wxSlider
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15600 if (SWIG_arg_fail(1)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_From_int((int)(result
));
15617 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15619 wxSlider
*arg1
= (wxSlider
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 PyObject
* obj2
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self",(char *) "min",(char *) "max", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail
;
15633 arg2
= (int)(SWIG_As_int(obj1
));
15634 if (SWIG_arg_fail(2)) SWIG_fail
;
15637 arg3
= (int)(SWIG_As_int(obj2
));
15638 if (SWIG_arg_fail(3)) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 (arg1
)->SetSelection(arg2
,arg3
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 Py_INCREF(Py_None
); resultobj
= Py_None
;
15654 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15657 wxVisualAttributes result
;
15658 PyObject
* obj0
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "variant", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15666 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15667 if (SWIG_arg_fail(1)) SWIG_fail
;
15671 if (!wxPyCheckForApp()) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 wxVisualAttributes
* resultptr
;
15680 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15689 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15692 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15694 return Py_BuildValue((char *)"");
15696 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15697 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15702 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15707 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15709 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15716 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxWindow
*arg1
= (wxWindow
*) 0 ;
15719 int arg2
= (int) -1 ;
15720 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15721 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15726 long arg6
= (long) 0 ;
15727 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15728 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15729 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15730 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15731 wxToggleButton
*result
;
15732 bool temp3
= false ;
15735 bool temp8
= false ;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 PyObject
* obj2
= 0 ;
15739 PyObject
* obj3
= 0 ;
15740 PyObject
* obj4
= 0 ;
15741 PyObject
* obj5
= 0 ;
15742 PyObject
* obj6
= 0 ;
15743 PyObject
* obj7
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail
;
15753 arg2
= (int)(SWIG_As_int(obj1
));
15754 if (SWIG_arg_fail(2)) SWIG_fail
;
15759 arg3
= wxString_in_helper(obj2
);
15760 if (arg3
== NULL
) SWIG_fail
;
15767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15778 arg6
= (long)(SWIG_As_long(obj5
));
15779 if (SWIG_arg_fail(6)) SWIG_fail
;
15784 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(7)) SWIG_fail
;
15786 if (arg7
== NULL
) {
15787 SWIG_null_ref("wxValidator");
15789 if (SWIG_arg_fail(7)) SWIG_fail
;
15794 arg8
= wxString_in_helper(obj7
);
15795 if (arg8
== NULL
) SWIG_fail
;
15800 if (!wxPyCheckForApp()) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15830 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxToggleButton
*result
;
15833 char *kwnames
[] = {
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15839 if (!wxPyCheckForApp()) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (wxToggleButton
*)new wxToggleButton();
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15853 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15856 wxWindow
*arg2
= (wxWindow
*) 0 ;
15857 int arg3
= (int) -1 ;
15858 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15859 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15864 long arg7
= (long) 0 ;
15865 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15866 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15867 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15868 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15870 bool temp4
= false ;
15873 bool temp9
= false ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 PyObject
* obj2
= 0 ;
15877 PyObject
* obj3
= 0 ;
15878 PyObject
* obj4
= 0 ;
15879 PyObject
* obj5
= 0 ;
15880 PyObject
* obj6
= 0 ;
15881 PyObject
* obj7
= 0 ;
15882 PyObject
* obj8
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15891 if (SWIG_arg_fail(2)) SWIG_fail
;
15894 arg3
= (int)(SWIG_As_int(obj2
));
15895 if (SWIG_arg_fail(3)) SWIG_fail
;
15900 arg4
= wxString_in_helper(obj3
);
15901 if (arg4
== NULL
) SWIG_fail
;
15908 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15914 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15919 arg7
= (long)(SWIG_As_long(obj6
));
15920 if (SWIG_arg_fail(7)) SWIG_fail
;
15925 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15926 if (SWIG_arg_fail(8)) SWIG_fail
;
15927 if (arg8
== NULL
) {
15928 SWIG_null_ref("wxValidator");
15930 if (SWIG_arg_fail(8)) SWIG_fail
;
15935 arg9
= wxString_in_helper(obj8
);
15936 if (arg9
== NULL
) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15972 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "value", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15984 if (SWIG_arg_fail(1)) SWIG_fail
;
15986 arg2
= (bool)(SWIG_As_bool(obj1
));
15987 if (SWIG_arg_fail(2)) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 (arg1
)->SetValue(arg2
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16031 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16034 wxString
*arg2
= 0 ;
16035 bool temp2
= false ;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "label", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 arg2
= wxString_in_helper(obj1
);
16047 if (arg2
== NULL
) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 (arg1
)->SetLabel((wxString
const &)*arg2
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16075 wxVisualAttributes result
;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "variant", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16084 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16085 if (SWIG_arg_fail(1)) SWIG_fail
;
16089 if (!wxPyCheckForApp()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 wxVisualAttributes
* resultptr
;
16098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16107 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16110 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16112 return Py_BuildValue((char *)"");
16114 static int _wrap_NotebookNameStr_set(PyObject
*) {
16115 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16120 static PyObject
*_wrap_NotebookNameStr_get(void) {
16125 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16127 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16134 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16162 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self",(char *) "n", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16175 if (SWIG_arg_fail(1)) SWIG_fail
;
16177 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16178 if (SWIG_arg_fail(2)) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= wxPyMake_wxObject(result
, 0);
16196 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= wxPyMake_wxObject(result
, 0);
16224 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16235 if (SWIG_arg_fail(1)) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= SWIG_From_int((int)(result
));
16252 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16256 wxString
*arg3
= 0 ;
16258 bool temp3
= false ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 PyObject
* obj2
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "n",(char *) "strText", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16271 if (SWIG_arg_fail(2)) SWIG_fail
;
16274 arg3
= wxString_in_helper(obj2
);
16275 if (arg3
== NULL
) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "n", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16318 if (SWIG_arg_fail(2)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16340 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16343 wxImageList
*arg2
= (wxImageList
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "imageList", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16354 if (SWIG_arg_fail(2)) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 (arg1
)->SetImageList(arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 wxImageList
*arg2
= (wxImageList
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 PyObject
* obj1
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self",(char *) "imageList", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16383 if (SWIG_arg_fail(2)) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 (arg1
)->AssignImageList(arg2
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 Py_INCREF(Py_None
); resultobj
= Py_None
;
16398 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16401 wxImageList
*result
;
16402 PyObject
* obj0
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16409 if (SWIG_arg_fail(1)) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= wxPyMake_wxObject(result
, 0);
16426 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self",(char *) "n", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail
;
16441 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16442 if (SWIG_arg_fail(2)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_From_int((int)(result
));
16460 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 PyObject
* obj2
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "n",(char *) "imageId", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail
;
16477 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16478 if (SWIG_arg_fail(2)) SWIG_fail
;
16481 arg3
= (int)(SWIG_As_int(obj2
));
16482 if (SWIG_arg_fail(3)) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "size", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail
;
16516 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16532 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "sizePage", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 wxSize
* resultptr
;
16560 resultptr
= new wxSize((wxSize
&)(result
));
16561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16569 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "n", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16585 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)(arg1
)->DeletePage(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "n", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16619 if (SWIG_arg_fail(2)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)(arg1
)->RemovePage(arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16637 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (bool)(arg1
)->DeleteAllPages();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16665 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16668 wxWindow
*arg2
= (wxWindow
*) 0 ;
16669 wxString
*arg3
= 0 ;
16670 bool arg4
= (bool) false ;
16671 int arg5
= (int) -1 ;
16673 bool temp3
= false ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 PyObject
* obj2
= 0 ;
16677 PyObject
* obj3
= 0 ;
16678 PyObject
* obj4
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16685 if (SWIG_arg_fail(1)) SWIG_fail
;
16686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16687 if (SWIG_arg_fail(2)) SWIG_fail
;
16689 arg3
= wxString_in_helper(obj2
);
16690 if (arg3
== NULL
) SWIG_fail
;
16695 arg4
= (bool)(SWIG_As_bool(obj3
));
16696 if (SWIG_arg_fail(4)) SWIG_fail
;
16701 arg5
= (int)(SWIG_As_int(obj4
));
16702 if (SWIG_arg_fail(5)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16729 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16733 wxWindow
*arg3
= (wxWindow
*) 0 ;
16734 wxString
*arg4
= 0 ;
16735 bool arg5
= (bool) false ;
16736 int arg6
= (int) -1 ;
16738 bool temp4
= false ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 PyObject
* obj2
= 0 ;
16742 PyObject
* obj3
= 0 ;
16743 PyObject
* obj4
= 0 ;
16744 PyObject
* obj5
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail
;
16753 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16754 if (SWIG_arg_fail(2)) SWIG_fail
;
16756 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16757 if (SWIG_arg_fail(3)) SWIG_fail
;
16759 arg4
= wxString_in_helper(obj3
);
16760 if (arg4
== NULL
) SWIG_fail
;
16765 arg5
= (bool)(SWIG_As_bool(obj4
));
16766 if (SWIG_arg_fail(5)) SWIG_fail
;
16771 arg6
= (int)(SWIG_As_int(obj5
));
16772 if (SWIG_arg_fail(6)) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self",(char *) "n", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16815 if (SWIG_arg_fail(2)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (int)(arg1
)->SetSelection(arg2
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_From_int((int)(result
));
16833 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16836 bool arg2
= (bool) true ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "forward", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16845 if (SWIG_arg_fail(1)) SWIG_fail
;
16848 arg2
= (bool)(SWIG_As_bool(obj1
));
16849 if (SWIG_arg_fail(2)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->AdvanceSelection(arg2
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 Py_INCREF(Py_None
); resultobj
= Py_None
;
16866 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16869 wxVisualAttributes result
;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "variant", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16878 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16883 if (!wxPyCheckForApp()) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 wxVisualAttributes
* resultptr
;
16892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16901 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16904 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16906 return Py_BuildValue((char *)"");
16908 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16911 int arg2
= (int) 0 ;
16912 int arg3
= (int) -1 ;
16913 int arg4
= (int) -1 ;
16914 wxBookCtrlBaseEvent
*result
;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 PyObject
* obj3
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16926 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16932 arg2
= (int)(SWIG_As_int(obj1
));
16933 if (SWIG_arg_fail(2)) SWIG_fail
;
16938 arg3
= (int)(SWIG_As_int(obj2
));
16939 if (SWIG_arg_fail(3)) SWIG_fail
;
16944 arg4
= (int)(SWIG_As_int(obj3
));
16945 if (SWIG_arg_fail(4)) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16962 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_From_int((int)(result
));
16990 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self",(char *) "nSel", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17002 if (SWIG_arg_fail(1)) SWIG_fail
;
17004 arg2
= (int)(SWIG_As_int(obj1
));
17005 if (SWIG_arg_fail(2)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 (arg1
)->SetSelection(arg2
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 Py_INCREF(Py_None
); resultobj
= Py_None
;
17021 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17032 if (SWIG_arg_fail(1)) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_From_int((int)(result
));
17049 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "nOldSel", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 arg2
= (int)(SWIG_As_int(obj1
));
17064 if (SWIG_arg_fail(2)) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 (arg1
)->SetOldSelection(arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 Py_INCREF(Py_None
); resultobj
= Py_None
;
17080 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17083 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17085 return Py_BuildValue((char *)"");
17087 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxWindow
*arg1
= (wxWindow
*) 0 ;
17090 int arg2
= (int) -1 ;
17091 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17092 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17093 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17094 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17095 long arg5
= (long) 0 ;
17096 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17097 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17098 wxNotebook
*result
;
17101 bool temp6
= false ;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 PyObject
* obj2
= 0 ;
17105 PyObject
* obj3
= 0 ;
17106 PyObject
* obj4
= 0 ;
17107 PyObject
* obj5
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 arg2
= (int)(SWIG_As_int(obj1
));
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17130 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17135 arg5
= (long)(SWIG_As_long(obj4
));
17136 if (SWIG_arg_fail(5)) SWIG_fail
;
17141 arg6
= wxString_in_helper(obj5
);
17142 if (arg6
== NULL
) SWIG_fail
;
17147 if (!wxPyCheckForApp()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17169 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxNotebook
*result
;
17172 char *kwnames
[] = {
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17178 if (!wxPyCheckForApp()) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (wxNotebook
*)new wxNotebook();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17192 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17195 wxWindow
*arg2
= (wxWindow
*) 0 ;
17196 int arg3
= (int) -1 ;
17197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17201 long arg6
= (long) 0 ;
17202 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17207 bool temp7
= false ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 PyObject
* obj2
= 0 ;
17211 PyObject
* obj3
= 0 ;
17212 PyObject
* obj4
= 0 ;
17213 PyObject
* obj5
= 0 ;
17214 PyObject
* obj6
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(2)) SWIG_fail
;
17226 arg3
= (int)(SWIG_As_int(obj2
));
17227 if (SWIG_arg_fail(3)) SWIG_fail
;
17233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17244 arg6
= (long)(SWIG_As_long(obj5
));
17245 if (SWIG_arg_fail(6)) SWIG_fail
;
17250 arg7
= wxString_in_helper(obj6
);
17251 if (arg7
== NULL
) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= SWIG_From_int((int)(result
));
17307 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self",(char *) "padding", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail
;
17323 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self",(char *) "sz", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17352 if (SWIG_arg_fail(1)) SWIG_fail
;
17355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 Py_INCREF(Py_None
); resultobj
= Py_None
;
17371 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17374 wxPoint
*arg2
= 0 ;
17375 long *arg3
= (long *) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "pt", NULL
17386 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_From_int((int)(result
));
17404 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17405 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17412 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "sizePage", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17426 if (SWIG_arg_fail(1)) SWIG_fail
;
17429 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 wxSize
* resultptr
;
17440 resultptr
= new wxSize((wxSize
&)(result
));
17441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17449 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 wxColour
* resultptr
;
17470 resultptr
= new wxColour((wxColour
&)(result
));
17471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17479 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17482 wxVisualAttributes result
;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "variant", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17491 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17492 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 if (!wxPyCheckForApp()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 wxVisualAttributes
* resultptr
;
17505 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17514 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17519 return Py_BuildValue((char *)"");
17521 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17524 int arg2
= (int) 0 ;
17525 int arg3
= (int) -1 ;
17526 int arg4
= (int) -1 ;
17527 wxNotebookEvent
*result
;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 PyObject
* obj2
= 0 ;
17531 PyObject
* obj3
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17539 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 arg2
= (int)(SWIG_As_int(obj1
));
17546 if (SWIG_arg_fail(2)) SWIG_fail
;
17551 arg3
= (int)(SWIG_As_int(obj2
));
17552 if (SWIG_arg_fail(3)) SWIG_fail
;
17557 arg4
= (int)(SWIG_As_int(obj3
));
17558 if (SWIG_arg_fail(4)) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17575 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17578 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17580 return Py_BuildValue((char *)"");
17582 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxWindow
*arg1
= (wxWindow
*) 0 ;
17585 int arg2
= (int) -1 ;
17586 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17587 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17588 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17589 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17590 long arg5
= (long) 0 ;
17591 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17592 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17593 wxListbook
*result
;
17596 bool temp6
= false ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 PyObject
* obj2
= 0 ;
17600 PyObject
* obj3
= 0 ;
17601 PyObject
* obj4
= 0 ;
17602 PyObject
* obj5
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17609 if (SWIG_arg_fail(1)) SWIG_fail
;
17612 arg2
= (int)(SWIG_As_int(obj1
));
17613 if (SWIG_arg_fail(2)) SWIG_fail
;
17619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17625 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17630 arg5
= (long)(SWIG_As_long(obj4
));
17631 if (SWIG_arg_fail(5)) SWIG_fail
;
17636 arg6
= wxString_in_helper(obj5
);
17637 if (arg6
== NULL
) SWIG_fail
;
17642 if (!wxPyCheckForApp()) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17664 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxListbook
*result
;
17667 char *kwnames
[] = {
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17673 if (!wxPyCheckForApp()) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (wxListbook
*)new wxListbook();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17687 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxListbook
*arg1
= (wxListbook
*) 0 ;
17690 wxWindow
*arg2
= (wxWindow
*) 0 ;
17691 int arg3
= (int) -1 ;
17692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17696 long arg6
= (long) 0 ;
17697 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17702 bool temp7
= false ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 PyObject
* obj2
= 0 ;
17706 PyObject
* obj3
= 0 ;
17707 PyObject
* obj4
= 0 ;
17708 PyObject
* obj5
= 0 ;
17709 PyObject
* obj6
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17718 if (SWIG_arg_fail(2)) SWIG_fail
;
17721 arg3
= (int)(SWIG_As_int(obj2
));
17722 if (SWIG_arg_fail(3)) SWIG_fail
;
17728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17739 arg6
= (long)(SWIG_As_long(obj5
));
17740 if (SWIG_arg_fail(6)) SWIG_fail
;
17745 arg7
= wxString_in_helper(obj6
);
17746 if (arg7
== NULL
) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxListbook
*arg1
= (wxListbook
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17802 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxListbook
*arg1
= (wxListbook
*) 0 ;
17805 wxListView
*result
;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (wxListView
*)(arg1
)->GetListView();
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17828 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17831 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17833 return Py_BuildValue((char *)"");
17835 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17838 int arg2
= (int) 0 ;
17839 int arg3
= (int) -1 ;
17840 int arg4
= (int) -1 ;
17841 wxListbookEvent
*result
;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 PyObject
* obj3
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17853 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17854 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 arg2
= (int)(SWIG_As_int(obj1
));
17860 if (SWIG_arg_fail(2)) SWIG_fail
;
17865 arg3
= (int)(SWIG_As_int(obj2
));
17866 if (SWIG_arg_fail(3)) SWIG_fail
;
17871 arg4
= (int)(SWIG_As_int(obj3
));
17872 if (SWIG_arg_fail(4)) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17889 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17892 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17894 return Py_BuildValue((char *)"");
17896 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxWindow
*arg1
= (wxWindow
*) 0 ;
17900 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17901 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17902 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17903 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17904 long arg5
= (long) 0 ;
17905 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17906 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17907 wxChoicebook
*result
;
17910 bool temp6
= false ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 PyObject
* obj2
= 0 ;
17914 PyObject
* obj3
= 0 ;
17915 PyObject
* obj4
= 0 ;
17916 PyObject
* obj5
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 arg2
= (int)(SWIG_As_int(obj1
));
17926 if (SWIG_arg_fail(2)) SWIG_fail
;
17931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17942 arg5
= (long)(SWIG_As_long(obj4
));
17943 if (SWIG_arg_fail(5)) SWIG_fail
;
17948 arg6
= wxString_in_helper(obj5
);
17949 if (arg6
== NULL
) SWIG_fail
;
17954 if (!wxPyCheckForApp()) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17976 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxChoicebook
*result
;
17979 char *kwnames
[] = {
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17985 if (!wxPyCheckForApp()) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (wxChoicebook
*)new wxChoicebook();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17999 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18002 wxWindow
*arg2
= (wxWindow
*) 0 ;
18004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18008 long arg6
= (long) 0 ;
18009 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18014 bool temp7
= false ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 PyObject
* obj2
= 0 ;
18018 PyObject
* obj3
= 0 ;
18019 PyObject
* obj4
= 0 ;
18020 PyObject
* obj5
= 0 ;
18021 PyObject
* obj6
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(2)) SWIG_fail
;
18032 arg3
= (int)(SWIG_As_int(obj2
));
18033 if (SWIG_arg_fail(3)) SWIG_fail
;
18038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18049 arg6
= (long)(SWIG_As_long(obj5
));
18050 if (SWIG_arg_fail(6)) SWIG_fail
;
18055 arg7
= wxString_in_helper(obj6
);
18056 if (arg7
== NULL
) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18084 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18138 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (bool)(arg1
)->DeleteAllPages();
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18166 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18169 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18171 return Py_BuildValue((char *)"");
18173 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18176 int arg2
= (int) 0 ;
18177 int arg3
= (int) -1 ;
18178 int arg4
= (int) -1 ;
18179 wxChoicebookEvent
*result
;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 PyObject
* obj3
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18191 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18192 if (SWIG_arg_fail(1)) SWIG_fail
;
18197 arg2
= (int)(SWIG_As_int(obj1
));
18198 if (SWIG_arg_fail(2)) SWIG_fail
;
18203 arg3
= (int)(SWIG_As_int(obj2
));
18204 if (SWIG_arg_fail(3)) SWIG_fail
;
18209 arg4
= (int)(SWIG_As_int(obj3
));
18210 if (SWIG_arg_fail(4)) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18227 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18230 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18232 return Py_BuildValue((char *)"");
18234 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18237 wxBookCtrlSizer
*result
;
18238 PyObject
* obj0
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "nb", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18245 if (SWIG_arg_fail(1)) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18260 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 (arg1
)->RecalcSizes();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (arg1
)->CalcMin();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 wxSize
* resultptr
;
18306 resultptr
= new wxSize((wxSize
&)(result
));
18307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18315 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18318 wxBookCtrlBase
*result
;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18341 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18344 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18346 return Py_BuildValue((char *)"");
18348 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18351 wxNotebookSizer
*result
;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "nb", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18374 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->RecalcSizes();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 Py_INCREF(Py_None
); resultobj
= Py_None
;
18399 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (arg1
)->CalcMin();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 wxSize
* resultptr
;
18420 resultptr
= new wxSize((wxSize
&)(result
));
18421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18429 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18432 wxNotebook
*result
;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= wxPyMake_wxObject(result
, 0);
18457 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18460 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18462 return Py_BuildValue((char *)"");
18464 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)(arg1
)->GetId();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_From_int((int)(result
));
18492 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (wxControl
*)(arg1
)->GetControl();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= wxPyMake_wxObject(result
, 0);
18520 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18523 wxToolBarBase
*result
;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= wxPyMake_wxObject(result
, 0);
18548 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (int)(arg1
)->IsButton();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_int((int)(result
));
18576 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (int)(arg1
)->IsControl();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_From_int((int)(result
));
18604 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18615 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)(arg1
)->IsSeparator();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_From_int((int)(result
));
18632 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (int)(arg1
)->GetStyle();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_From_int((int)(result
));
18660 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (wxItemKind
)(arg1
)->GetKind();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_From_int((result
));
18686 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)(arg1
)->IsEnabled();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18714 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (bool)(arg1
)->IsToggled();
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18742 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18753 if (SWIG_arg_fail(1)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (bool)(arg1
)->CanBeToggled();
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18770 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18786 result
= (wxBitmap
*) &_result_ref
;
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 wxBitmap
* resultptr
= new wxBitmap(*result
);
18794 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18802 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18818 result
= (wxBitmap
*) &_result_ref
;
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 wxBitmap
* resultptr
= new wxBitmap(*result
);
18826 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18834 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18845 if (SWIG_arg_fail(1)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (arg1
)->GetBitmap();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18854 wxBitmap
* resultptr
;
18855 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18864 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (arg1
)->GetLabel();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18896 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (arg1
)->GetShortHelp();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18928 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (arg1
)->GetLongHelp();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18960 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "enable", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 arg2
= (bool)(SWIG_As_bool(obj1
));
18976 if (SWIG_arg_fail(2)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= (bool)(arg1
)->Enable(arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self",(char *) "toggle", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19032 if (SWIG_arg_fail(1)) SWIG_fail
;
19034 arg2
= (bool)(SWIG_As_bool(obj1
));
19035 if (SWIG_arg_fail(2)) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (bool)(arg1
)->SetToggle(arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19053 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19056 wxString
*arg2
= 0 ;
19058 bool temp2
= false ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self",(char *) "help", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail
;
19069 arg2
= wxString_in_helper(obj1
);
19070 if (arg2
== NULL
) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19097 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19100 wxString
*arg2
= 0 ;
19102 bool temp2
= false ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "help", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19113 arg2
= wxString_in_helper(obj1
);
19114 if (arg2
== NULL
) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19141 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19144 wxBitmap
*arg2
= 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "bmp", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19153 if (SWIG_arg_fail(1)) SWIG_fail
;
19155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19156 if (SWIG_arg_fail(2)) SWIG_fail
;
19157 if (arg2
== NULL
) {
19158 SWIG_null_ref("wxBitmap");
19160 if (SWIG_arg_fail(2)) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 Py_INCREF(Py_None
); resultobj
= Py_None
;
19176 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19179 wxBitmap
*arg2
= 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "bmp", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19188 if (SWIG_arg_fail(1)) SWIG_fail
;
19190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19191 if (SWIG_arg_fail(2)) SWIG_fail
;
19192 if (arg2
== NULL
) {
19193 SWIG_null_ref("wxBitmap");
19195 if (SWIG_arg_fail(2)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19214 wxString
*arg2
= 0 ;
19215 bool temp2
= false ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self",(char *) "label", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 arg2
= wxString_in_helper(obj1
);
19227 if (arg2
== NULL
) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetLabel((wxString
const &)*arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 Py_INCREF(Py_None
); resultobj
= Py_None
;
19277 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19280 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "tbar", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19289 if (SWIG_arg_fail(1)) SWIG_fail
;
19290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19291 if (SWIG_arg_fail(2)) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->Attach(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19317 if (SWIG_arg_fail(1)) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= result
;
19332 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19335 PyObject
*arg2
= (PyObject
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "clientData", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19344 if (SWIG_arg_fail(1)) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19363 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19365 return Py_BuildValue((char *)"");
19367 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19369 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19371 wxString
*arg3
= 0 ;
19372 wxBitmap
*arg4
= 0 ;
19373 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19374 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19375 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19376 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19378 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19380 PyObject
*arg9
= (PyObject
*) NULL
;
19381 wxToolBarToolBase
*result
;
19382 bool temp3
= false ;
19383 bool temp7
= false ;
19384 bool temp8
= false ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 PyObject
* obj2
= 0 ;
19388 PyObject
* obj3
= 0 ;
19389 PyObject
* obj4
= 0 ;
19390 PyObject
* obj5
= 0 ;
19391 PyObject
* obj6
= 0 ;
19392 PyObject
* obj7
= 0 ;
19393 PyObject
* obj8
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19400 if (SWIG_arg_fail(1)) SWIG_fail
;
19402 arg2
= (int)(SWIG_As_int(obj1
));
19403 if (SWIG_arg_fail(2)) SWIG_fail
;
19406 arg3
= wxString_in_helper(obj2
);
19407 if (arg3
== NULL
) SWIG_fail
;
19411 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19412 if (SWIG_arg_fail(4)) SWIG_fail
;
19413 if (arg4
== NULL
) {
19414 SWIG_null_ref("wxBitmap");
19416 if (SWIG_arg_fail(4)) SWIG_fail
;
19420 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19421 if (SWIG_arg_fail(5)) SWIG_fail
;
19422 if (arg5
== NULL
) {
19423 SWIG_null_ref("wxBitmap");
19425 if (SWIG_arg_fail(5)) SWIG_fail
;
19430 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19431 if (SWIG_arg_fail(6)) SWIG_fail
;
19436 arg7
= wxString_in_helper(obj6
);
19437 if (arg7
== NULL
) SWIG_fail
;
19443 arg8
= wxString_in_helper(obj7
);
19444 if (arg8
== NULL
) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= wxPyMake_wxObject(result
, 0);
19491 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19496 wxString
*arg4
= 0 ;
19497 wxBitmap
*arg5
= 0 ;
19498 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19499 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19500 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19501 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19503 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19505 PyObject
*arg10
= (PyObject
*) NULL
;
19506 wxToolBarToolBase
*result
;
19507 bool temp4
= false ;
19508 bool temp8
= false ;
19509 bool temp9
= false ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 PyObject
* obj4
= 0 ;
19515 PyObject
* obj5
= 0 ;
19516 PyObject
* obj6
= 0 ;
19517 PyObject
* obj7
= 0 ;
19518 PyObject
* obj8
= 0 ;
19519 PyObject
* obj9
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19526 if (SWIG_arg_fail(1)) SWIG_fail
;
19528 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19529 if (SWIG_arg_fail(2)) SWIG_fail
;
19532 arg3
= (int)(SWIG_As_int(obj2
));
19533 if (SWIG_arg_fail(3)) SWIG_fail
;
19536 arg4
= wxString_in_helper(obj3
);
19537 if (arg4
== NULL
) SWIG_fail
;
19541 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(5)) SWIG_fail
;
19543 if (arg5
== NULL
) {
19544 SWIG_null_ref("wxBitmap");
19546 if (SWIG_arg_fail(5)) SWIG_fail
;
19550 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(6)) SWIG_fail
;
19552 if (arg6
== NULL
) {
19553 SWIG_null_ref("wxBitmap");
19555 if (SWIG_arg_fail(6)) SWIG_fail
;
19560 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19561 if (SWIG_arg_fail(7)) SWIG_fail
;
19566 arg8
= wxString_in_helper(obj7
);
19567 if (arg8
== NULL
) SWIG_fail
;
19573 arg9
= wxString_in_helper(obj8
);
19574 if (arg9
== NULL
) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 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
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= wxPyMake_wxObject(result
, 0);
19621 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
;
19623 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19624 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19625 wxToolBarToolBase
*result
;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "tool", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(2)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= wxPyMake_wxObject(result
, 0);
19653 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19657 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19658 wxToolBarToolBase
*result
;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 PyObject
* obj2
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "pos",(char *) "tool", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail
;
19670 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19671 if (SWIG_arg_fail(2)) SWIG_fail
;
19673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19674 if (SWIG_arg_fail(3)) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= wxPyMake_wxObject(result
, 0);
19691 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19694 wxControl
*arg2
= (wxControl
*) 0 ;
19695 wxToolBarToolBase
*result
;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "control", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19704 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19706 if (SWIG_arg_fail(2)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= wxPyMake_wxObject(result
, 0);
19723 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19727 wxControl
*arg3
= (wxControl
*) 0 ;
19728 wxToolBarToolBase
*result
;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 PyObject
* obj2
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "pos",(char *) "control", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail
;
19740 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19741 if (SWIG_arg_fail(2)) SWIG_fail
;
19743 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19744 if (SWIG_arg_fail(3)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= wxPyMake_wxObject(result
, 0);
19761 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self",(char *) "id", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19774 if (SWIG_arg_fail(1)) SWIG_fail
;
19776 arg2
= (int)(SWIG_As_int(obj1
));
19777 if (SWIG_arg_fail(2)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= wxPyMake_wxObject(result
, 0);
19795 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19798 wxToolBarToolBase
*result
;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= wxPyMake_wxObject(result
, 0);
19823 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19827 wxToolBarToolBase
*result
;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "pos", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19836 if (SWIG_arg_fail(1)) SWIG_fail
;
19838 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19839 if (SWIG_arg_fail(2)) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= wxPyMake_wxObject(result
, 0);
19857 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19861 wxToolBarToolBase
*result
;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self",(char *) "id", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 arg2
= (int)(SWIG_As_int(obj1
));
19873 if (SWIG_arg_fail(2)) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= wxPyMake_wxObject(result
, 0);
19891 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "pos", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19907 if (SWIG_arg_fail(2)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19925 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "id", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail
;
19940 arg2
= (int)(SWIG_As_int(obj1
));
19941 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->DeleteTool(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19969 if (SWIG_arg_fail(1)) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->ClearTools();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 Py_INCREF(Py_None
); resultobj
= Py_None
;
19984 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (bool)(arg1
)->Realize();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20012 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 PyObject
* obj2
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self",(char *) "id",(char *) "enable", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20026 if (SWIG_arg_fail(1)) SWIG_fail
;
20028 arg2
= (int)(SWIG_As_int(obj1
));
20029 if (SWIG_arg_fail(2)) SWIG_fail
;
20032 arg3
= (bool)(SWIG_As_bool(obj2
));
20033 if (SWIG_arg_fail(3)) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 (arg1
)->EnableTool(arg2
,arg3
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 Py_INCREF(Py_None
); resultobj
= Py_None
;
20049 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 PyObject
* obj2
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "id",(char *) "toggle", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail
;
20065 arg2
= (int)(SWIG_As_int(obj1
));
20066 if (SWIG_arg_fail(2)) SWIG_fail
;
20069 arg3
= (bool)(SWIG_As_bool(obj2
));
20070 if (SWIG_arg_fail(3)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->ToggleTool(arg2
,arg3
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 PyObject
* obj2
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self",(char *) "id",(char *) "toggle", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20100 if (SWIG_arg_fail(1)) SWIG_fail
;
20102 arg2
= (int)(SWIG_As_int(obj1
));
20103 if (SWIG_arg_fail(2)) SWIG_fail
;
20106 arg3
= (bool)(SWIG_As_bool(obj2
));
20107 if (SWIG_arg_fail(3)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetToggle(arg2
,arg3
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20123 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "id", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20138 arg2
= (int)(SWIG_As_int(obj1
));
20139 if (SWIG_arg_fail(2)) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
;
20155 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20159 PyObject
*arg3
= (PyObject
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 PyObject
* obj2
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "id",(char *) "clientData", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 arg2
= (int)(SWIG_As_int(obj1
));
20172 if (SWIG_arg_fail(2)) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 Py_INCREF(Py_None
); resultobj
= Py_None
;
20189 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 PyObject
* obj1
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self",(char *) "id", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20202 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 arg2
= (int)(SWIG_As_int(obj1
));
20205 if (SWIG_arg_fail(2)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= SWIG_From_int((int)(result
));
20223 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "id", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 arg2
= (int)(SWIG_As_int(obj1
));
20239 if (SWIG_arg_fail(2)) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (bool)(arg1
)->GetToolState(arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20257 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "id", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20272 arg2
= (int)(SWIG_As_int(obj1
));
20273 if (SWIG_arg_fail(2)) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20295 wxString
*arg3
= 0 ;
20296 bool temp3
= false ;
20297 PyObject
* obj0
= 0 ;
20298 PyObject
* obj1
= 0 ;
20299 PyObject
* obj2
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "id",(char *) "helpString", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail
;
20308 arg2
= (int)(SWIG_As_int(obj1
));
20309 if (SWIG_arg_fail(2)) SWIG_fail
;
20312 arg3
= wxString_in_helper(obj2
);
20313 if (arg3
== NULL
) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self",(char *) "id", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20351 if (SWIG_arg_fail(1)) SWIG_fail
;
20353 arg2
= (int)(SWIG_As_int(obj1
));
20354 if (SWIG_arg_fail(2)) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (arg1
)->GetToolShortHelp(arg2
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20376 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20380 wxString
*arg3
= 0 ;
20381 bool temp3
= false ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 PyObject
* obj2
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "id",(char *) "helpString", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 arg2
= (int)(SWIG_As_int(obj1
));
20394 if (SWIG_arg_fail(2)) SWIG_fail
;
20397 arg3
= wxString_in_helper(obj2
);
20398 if (arg3
== NULL
) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "id", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20438 arg2
= (int)(SWIG_As_int(obj1
));
20439 if (SWIG_arg_fail(2)) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (arg1
)->GetToolLongHelp(arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20461 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 PyObject
* obj2
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "x",(char *) "y", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 arg2
= (int)(SWIG_As_int(obj1
));
20478 if (SWIG_arg_fail(2)) SWIG_fail
;
20481 arg3
= (int)(SWIG_As_int(obj2
));
20482 if (SWIG_arg_fail(3)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 (arg1
)->SetMargins(arg2
,arg3
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self",(char *) "size", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 Py_INCREF(Py_None
); resultobj
= Py_None
;
20530 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "packing", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20542 if (SWIG_arg_fail(1)) SWIG_fail
;
20544 arg2
= (int)(SWIG_As_int(obj1
));
20545 if (SWIG_arg_fail(2)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetToolPacking(arg2
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 Py_INCREF(Py_None
); resultobj
= Py_None
;
20561 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "separation", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20573 if (SWIG_arg_fail(1)) SWIG_fail
;
20575 arg2
= (int)(SWIG_As_int(obj1
));
20576 if (SWIG_arg_fail(2)) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 (arg1
)->SetToolSeparation(arg2
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (arg1
)->GetToolMargins();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 wxSize
* resultptr
;
20613 resultptr
= new wxSize((wxSize
&)(result
));
20614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20622 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= (arg1
)->GetMargins();
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20642 wxSize
* resultptr
;
20643 resultptr
= new wxSize((wxSize
&)(result
));
20644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20652 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (int)(arg1
)->GetToolPacking();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= SWIG_From_int((int)(result
));
20680 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (int)(arg1
)->GetToolSeparation();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_From_int((int)(result
));
20708 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self",(char *) "nRows", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20720 if (SWIG_arg_fail(1)) SWIG_fail
;
20722 arg2
= (int)(SWIG_As_int(obj1
));
20723 if (SWIG_arg_fail(2)) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->SetRows(arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 Py_INCREF(Py_None
); resultobj
= Py_None
;
20739 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 PyObject
* obj2
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self",(char *) "rows",(char *) "cols", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20753 if (SWIG_arg_fail(1)) SWIG_fail
;
20755 arg2
= (int)(SWIG_As_int(obj1
));
20756 if (SWIG_arg_fail(2)) SWIG_fail
;
20759 arg3
= (int)(SWIG_As_int(obj2
));
20760 if (SWIG_arg_fail(3)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 Py_INCREF(Py_None
); resultobj
= Py_None
;
20776 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (int)(arg1
)->GetMaxRows();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_From_int((int)(result
));
20804 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20815 if (SWIG_arg_fail(1)) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (int)(arg1
)->GetMaxCols();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_From_int((int)(result
));
20832 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "size", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 Py_INCREF(Py_None
); resultobj
= Py_None
;
20864 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (arg1
)->GetToolBitmapSize();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 wxSize
* resultptr
;
20885 resultptr
= new wxSize((wxSize
&)(result
));
20886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20894 static PyObject
*_wrap_ToolBarBase_GetToolSize(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_GetToolSize",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
= (arg1
)->GetToolSize();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 wxSize
* resultptr
;
20915 resultptr
= new wxSize((wxSize
&)(result
));
20916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20924 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20929 wxToolBarToolBase
*result
;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 PyObject
* obj2
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self",(char *) "x",(char *) "y", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20939 if (SWIG_arg_fail(1)) SWIG_fail
;
20941 arg2
= (int)(SWIG_As_int(obj1
));
20942 if (SWIG_arg_fail(2)) SWIG_fail
;
20945 arg3
= (int)(SWIG_As_int(obj2
));
20946 if (SWIG_arg_fail(3)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= wxPyMake_wxObject(result
, 0);
20964 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20968 wxToolBarToolBase
*result
;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "toolid", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20979 arg2
= (int)(SWIG_As_int(obj1
));
20980 if (SWIG_arg_fail(2)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= wxPyMake_wxObject(result
, 0);
20998 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21009 if (SWIG_arg_fail(1)) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (bool)(arg1
)->IsVertical();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21026 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21029 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21031 return Py_BuildValue((char *)"");
21033 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxWindow
*arg1
= (wxWindow
*) 0 ;
21036 int arg2
= (int) -1 ;
21037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21041 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21042 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21047 bool temp6
= false ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 PyObject
* obj2
= 0 ;
21051 PyObject
* obj3
= 0 ;
21052 PyObject
* obj4
= 0 ;
21053 PyObject
* obj5
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail
;
21063 arg2
= (int)(SWIG_As_int(obj1
));
21064 if (SWIG_arg_fail(2)) SWIG_fail
;
21070 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21076 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21081 arg5
= (long)(SWIG_As_long(obj4
));
21082 if (SWIG_arg_fail(5)) SWIG_fail
;
21087 arg6
= wxString_in_helper(obj5
);
21088 if (arg6
== NULL
) SWIG_fail
;
21093 if (!wxPyCheckForApp()) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21115 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21118 char *kwnames
[] = {
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21124 if (!wxPyCheckForApp()) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (wxToolBar
*)new wxToolBar();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21138 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21141 wxWindow
*arg2
= (wxWindow
*) 0 ;
21142 int arg3
= (int) -1 ;
21143 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21144 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21145 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21146 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21147 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21148 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21149 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21153 bool temp7
= false ;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 PyObject
* obj2
= 0 ;
21157 PyObject
* obj3
= 0 ;
21158 PyObject
* obj4
= 0 ;
21159 PyObject
* obj5
= 0 ;
21160 PyObject
* obj6
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21167 if (SWIG_arg_fail(1)) SWIG_fail
;
21168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21169 if (SWIG_arg_fail(2)) SWIG_fail
;
21172 arg3
= (int)(SWIG_As_int(obj2
));
21173 if (SWIG_arg_fail(3)) SWIG_fail
;
21179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21190 arg6
= (long)(SWIG_As_long(obj5
));
21191 if (SWIG_arg_fail(6)) SWIG_fail
;
21196 arg7
= wxString_in_helper(obj6
);
21197 if (arg7
== NULL
) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21225 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21230 wxToolBarToolBase
*result
;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 PyObject
* obj2
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self",(char *) "x",(char *) "y", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail
;
21242 arg2
= (int)(SWIG_As_int(obj1
));
21243 if (SWIG_arg_fail(2)) SWIG_fail
;
21246 arg3
= (int)(SWIG_As_int(obj2
));
21247 if (SWIG_arg_fail(3)) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= wxPyMake_wxObject(result
, 0);
21265 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21268 wxVisualAttributes result
;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "variant", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21277 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21278 if (SWIG_arg_fail(1)) SWIG_fail
;
21282 if (!wxPyCheckForApp()) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 wxVisualAttributes
* resultptr
;
21291 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21300 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21303 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21305 return Py_BuildValue((char *)"");
21307 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21308 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21313 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21318 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21320 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21327 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxColour
const &arg1_defvalue
= wxNullColour
;
21330 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21331 wxColour
const &arg2_defvalue
= wxNullColour
;
21332 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21333 wxFont
const &arg3_defvalue
= wxNullFont
;
21334 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21335 wxListItemAttr
*result
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21349 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21360 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21361 if (SWIG_arg_fail(3)) SWIG_fail
;
21362 if (arg3
== NULL
) {
21363 SWIG_null_ref("wxFont");
21365 if (SWIG_arg_fail(3)) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21382 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21385 wxColour
*arg2
= 0 ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self",(char *) "colText", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 Py_INCREF(Py_None
); resultobj
= Py_None
;
21414 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21417 wxColour
*arg2
= 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "colBack", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 Py_INCREF(Py_None
); resultobj
= Py_None
;
21446 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "font", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21461 if (SWIG_arg_fail(2)) SWIG_fail
;
21462 if (arg2
== NULL
) {
21463 SWIG_null_ref("wxFont");
21465 if (SWIG_arg_fail(2)) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->SetFont((wxFont
const &)*arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 Py_INCREF(Py_None
); resultobj
= Py_None
;
21481 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (bool)(arg1
)->HasTextColour();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21520 if (SWIG_arg_fail(1)) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (bool)(arg1
)->HasBackgroundColour();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)(arg1
)->HasFont();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21565 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (arg1
)->GetTextColour();
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 wxColour
* resultptr
;
21586 resultptr
= new wxColour((wxColour
&)(result
));
21587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21595 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21606 if (SWIG_arg_fail(1)) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (arg1
)->GetBackgroundColour();
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 wxColour
* resultptr
;
21616 resultptr
= new wxColour((wxColour
&)(result
));
21617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21625 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (arg1
)->GetFont();
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 wxFont
* resultptr
;
21646 resultptr
= new wxFont((wxFont
&)(result
));
21647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21655 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 wxListItemAttr_Destroy(arg1
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21683 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21685 return Py_BuildValue((char *)"");
21687 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxListItem
*result
;
21690 char *kwnames
[] = {
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (wxListItem
*)new wxListItem();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= wxPyMake_wxObject(result
, 1);
21711 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxListItem
*arg1
= (wxListItem
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 Py_INCREF(Py_None
); resultobj
= Py_None
;
21736 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxListItem
*arg1
= (wxListItem
*) 0 ;
21739 PyObject
* obj0
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 Py_INCREF(Py_None
); resultobj
= Py_None
;
21761 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxListItem
*arg1
= (wxListItem
*) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 (arg1
)->ClearAttributes();
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 Py_INCREF(Py_None
); resultobj
= Py_None
;
21786 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxListItem
*arg1
= (wxListItem
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "mask", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21798 if (SWIG_arg_fail(1)) SWIG_fail
;
21800 arg2
= (long)(SWIG_As_long(obj1
));
21801 if (SWIG_arg_fail(2)) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 (arg1
)->SetMask(arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 Py_INCREF(Py_None
); resultobj
= Py_None
;
21817 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxListItem
*arg1
= (wxListItem
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "id", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail
;
21831 arg2
= (long)(SWIG_As_long(obj1
));
21832 if (SWIG_arg_fail(2)) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 (arg1
)->SetId(arg2
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 Py_INCREF(Py_None
); resultobj
= Py_None
;
21848 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxListItem
*arg1
= (wxListItem
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "col", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail
;
21862 arg2
= (int)(SWIG_As_int(obj1
));
21863 if (SWIG_arg_fail(2)) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->SetColumn(arg2
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 Py_INCREF(Py_None
); resultobj
= Py_None
;
21879 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxListItem
*arg1
= (wxListItem
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "state", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21891 if (SWIG_arg_fail(1)) SWIG_fail
;
21893 arg2
= (long)(SWIG_As_long(obj1
));
21894 if (SWIG_arg_fail(2)) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->SetState(arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxListItem
*arg1
= (wxListItem
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "stateMask", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail
;
21924 arg2
= (long)(SWIG_As_long(obj1
));
21925 if (SWIG_arg_fail(2)) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->SetStateMask(arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxListItem
*arg1
= (wxListItem
*) 0 ;
21944 wxString
*arg2
= 0 ;
21945 bool temp2
= false ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "text", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= wxString_in_helper(obj1
);
21957 if (arg2
== NULL
) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->SetText((wxString
const &)*arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxListItem
*arg1
= (wxListItem
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "image", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail
;
21996 arg2
= (int)(SWIG_As_int(obj1
));
21997 if (SWIG_arg_fail(2)) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 (arg1
)->SetImage(arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 Py_INCREF(Py_None
); resultobj
= Py_None
;
22013 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxListItem
*arg1
= (wxListItem
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "data", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 arg2
= (long)(SWIG_As_long(obj1
));
22028 if (SWIG_arg_fail(2)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->SetData(arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxListItem
*arg1
= (wxListItem
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "width", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail
;
22058 arg2
= (int)(SWIG_As_int(obj1
));
22059 if (SWIG_arg_fail(2)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->SetWidth(arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxListItem
*arg1
= (wxListItem
*) 0 ;
22078 wxListColumnFormat arg2
;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "align", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22090 if (SWIG_arg_fail(2)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 Py_INCREF(Py_None
); resultobj
= Py_None
;
22106 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxListItem
*arg1
= (wxListItem
*) 0 ;
22109 wxColour
*arg2
= 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "colText", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail
;
22122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxListItem
*arg1
= (wxListItem
*) 0 ;
22141 wxColour
*arg2
= 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "colBack", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22151 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxListItem
*arg1
= (wxListItem
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "font", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail
;
22184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(2)) SWIG_fail
;
22186 if (arg2
== NULL
) {
22187 SWIG_null_ref("wxFont");
22189 if (SWIG_arg_fail(2)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 (arg1
)->SetFont((wxFont
const &)*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxListItem
*arg1
= (wxListItem
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (long)(arg1
)->GetMask();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_long((long)(result
));
22233 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxListItem
*arg1
= (wxListItem
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22244 if (SWIG_arg_fail(1)) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (long)(arg1
)->GetId();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= SWIG_From_long((long)(result
));
22261 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxListItem
*arg1
= (wxListItem
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (int)(arg1
)->GetColumn();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_From_int((int)(result
));
22289 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxListItem
*arg1
= (wxListItem
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (long)(arg1
)->GetState();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_From_long((long)(result
));
22317 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxListItem
*arg1
= (wxListItem
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22328 if (SWIG_arg_fail(1)) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 wxString
const &_result_ref
= (arg1
)->GetText();
22333 result
= (wxString
*) &_result_ref
;
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22343 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22352 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxListItem
*arg1
= (wxListItem
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (int)(arg1
)->GetImage();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_From_int((int)(result
));
22380 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxListItem
*arg1
= (wxListItem
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (long)(arg1
)->GetData();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_From_long((long)(result
));
22408 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxListItem
*arg1
= (wxListItem
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (int)(arg1
)->GetWidth();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_From_int((int)(result
));
22436 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxListItem
*arg1
= (wxListItem
*) 0 ;
22439 wxListColumnFormat result
;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_From_int((result
));
22462 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxListItem
*arg1
= (wxListItem
*) 0 ;
22465 wxListItemAttr
*result
;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22488 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxListItem
*arg1
= (wxListItem
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22499 if (SWIG_arg_fail(1)) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)(arg1
)->HasAttributes();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22516 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxListItem
*arg1
= (wxListItem
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 wxColour
* resultptr
;
22537 resultptr
= new wxColour((wxColour
&)(result
));
22538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22546 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListItem
*arg1
= (wxListItem
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 wxColour
* resultptr
;
22567 resultptr
= new wxColour((wxColour
&)(result
));
22568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22576 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxListItem
*arg1
= (wxListItem
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= ((wxListItem
const *)arg1
)->GetFont();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 wxFont
* resultptr
;
22597 resultptr
= new wxFont((wxFont
&)(result
));
22598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22606 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxListItem
*arg1
= (wxListItem
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self",(char *) "m_mask", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail
;
22620 arg2
= (long)(SWIG_As_long(obj1
));
22621 if (SWIG_arg_fail(2)) SWIG_fail
;
22623 if (arg1
) (arg1
)->m_mask
= arg2
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxListItem
*arg1
= (wxListItem
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail
;
22644 result
= (long) ((arg1
)->m_mask
);
22647 resultobj
= SWIG_From_long((long)(result
));
22655 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxListItem
*arg1
= (wxListItem
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "m_itemId", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail
;
22669 arg2
= (long)(SWIG_As_long(obj1
));
22670 if (SWIG_arg_fail(2)) SWIG_fail
;
22672 if (arg1
) (arg1
)->m_itemId
= arg2
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxListItem
*arg1
= (wxListItem
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 result
= (long) ((arg1
)->m_itemId
);
22696 resultobj
= SWIG_From_long((long)(result
));
22704 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxListItem
*arg1
= (wxListItem
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "m_col", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 arg2
= (int)(SWIG_As_int(obj1
));
22719 if (SWIG_arg_fail(2)) SWIG_fail
;
22721 if (arg1
) (arg1
)->m_col
= arg2
;
22723 Py_INCREF(Py_None
); resultobj
= Py_None
;
22730 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
;
22732 wxListItem
*arg1
= (wxListItem
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22741 if (SWIG_arg_fail(1)) SWIG_fail
;
22742 result
= (int) ((arg1
)->m_col
);
22745 resultobj
= SWIG_From_int((int)(result
));
22753 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxListItem
*arg1
= (wxListItem
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "m_state", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail
;
22767 arg2
= (long)(SWIG_As_long(obj1
));
22768 if (SWIG_arg_fail(2)) SWIG_fail
;
22770 if (arg1
) (arg1
)->m_state
= arg2
;
22772 Py_INCREF(Py_None
); resultobj
= Py_None
;
22779 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxListItem
*arg1
= (wxListItem
*) 0 ;
22783 PyObject
* obj0
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22790 if (SWIG_arg_fail(1)) SWIG_fail
;
22791 result
= (long) ((arg1
)->m_state
);
22794 resultobj
= SWIG_From_long((long)(result
));
22802 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22804 wxListItem
*arg1
= (wxListItem
*) 0 ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "m_stateMask", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22814 if (SWIG_arg_fail(1)) SWIG_fail
;
22816 arg2
= (long)(SWIG_As_long(obj1
));
22817 if (SWIG_arg_fail(2)) SWIG_fail
;
22819 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22821 Py_INCREF(Py_None
); resultobj
= Py_None
;
22828 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxListItem
*arg1
= (wxListItem
*) 0 ;
22832 PyObject
* obj0
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22840 result
= (long) ((arg1
)->m_stateMask
);
22843 resultobj
= SWIG_From_long((long)(result
));
22851 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxListItem
*arg1
= (wxListItem
*) 0 ;
22854 wxString
*arg2
= (wxString
*) 0 ;
22855 bool temp2
= false ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "m_text", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 arg2
= wxString_in_helper(obj1
);
22867 if (arg2
== NULL
) SWIG_fail
;
22870 if (arg1
) (arg1
)->m_text
= *arg2
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxListItem
*arg1
= (wxListItem
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22899 result
= (wxString
*)& ((arg1
)->m_text
);
22903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22914 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxListItem
*arg1
= (wxListItem
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "m_image", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 arg2
= (int)(SWIG_As_int(obj1
));
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22931 if (arg1
) (arg1
)->m_image
= arg2
;
22933 Py_INCREF(Py_None
); resultobj
= Py_None
;
22940 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxListItem
*arg1
= (wxListItem
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22951 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 result
= (int) ((arg1
)->m_image
);
22955 resultobj
= SWIG_From_int((int)(result
));
22963 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxListItem
*arg1
= (wxListItem
*) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "m_data", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22975 if (SWIG_arg_fail(1)) SWIG_fail
;
22977 arg2
= (long)(SWIG_As_long(obj1
));
22978 if (SWIG_arg_fail(2)) SWIG_fail
;
22980 if (arg1
) (arg1
)->m_data
= arg2
;
22982 Py_INCREF(Py_None
); resultobj
= Py_None
;
22989 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxListItem
*arg1
= (wxListItem
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23000 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 result
= (long) ((arg1
)->m_data
);
23004 resultobj
= SWIG_From_long((long)(result
));
23012 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxListItem
*arg1
= (wxListItem
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "m_format", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(1)) SWIG_fail
;
23026 arg2
= (int)(SWIG_As_int(obj1
));
23027 if (SWIG_arg_fail(2)) SWIG_fail
;
23029 if (arg1
) (arg1
)->m_format
= arg2
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxListItem
*arg1
= (wxListItem
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail
;
23050 result
= (int) ((arg1
)->m_format
);
23053 resultobj
= SWIG_From_int((int)(result
));
23061 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxListItem
*arg1
= (wxListItem
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "m_width", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 arg2
= (int)(SWIG_As_int(obj1
));
23076 if (SWIG_arg_fail(2)) SWIG_fail
;
23078 if (arg1
) (arg1
)->m_width
= arg2
;
23080 Py_INCREF(Py_None
); resultobj
= Py_None
;
23087 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxListItem
*arg1
= (wxListItem
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail
;
23099 result
= (int) ((arg1
)->m_width
);
23102 resultobj
= SWIG_From_int((int)(result
));
23110 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23113 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23115 return Py_BuildValue((char *)"");
23117 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23120 int arg2
= (int) 0 ;
23121 wxListEvent
*result
;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "commandType",(char *) "id", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23131 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23137 arg2
= (int)(SWIG_As_int(obj1
));
23138 if (SWIG_arg_fail(2)) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23155 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "m_code", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail
;
23169 arg2
= (int)(SWIG_As_int(obj1
));
23170 if (SWIG_arg_fail(2)) SWIG_fail
;
23172 if (arg1
) (arg1
)->m_code
= arg2
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23192 if (SWIG_arg_fail(1)) SWIG_fail
;
23193 result
= (int) ((arg1
)->m_code
);
23196 resultobj
= SWIG_From_int((int)(result
));
23204 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self",(char *) "m_oldItemIndex", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23216 if (SWIG_arg_fail(1)) SWIG_fail
;
23218 arg2
= (long)(SWIG_As_long(obj1
));
23219 if (SWIG_arg_fail(2)) SWIG_fail
;
23221 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23223 Py_INCREF(Py_None
); resultobj
= Py_None
;
23230 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23241 if (SWIG_arg_fail(1)) SWIG_fail
;
23242 result
= (long) ((arg1
)->m_oldItemIndex
);
23245 resultobj
= SWIG_From_long((long)(result
));
23253 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self",(char *) "m_itemIndex", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 arg2
= (long)(SWIG_As_long(obj1
));
23268 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail
;
23291 result
= (long) ((arg1
)->m_itemIndex
);
23294 resultobj
= SWIG_From_long((long)(result
));
23302 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "m_col", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23314 if (SWIG_arg_fail(1)) SWIG_fail
;
23316 arg2
= (int)(SWIG_As_int(obj1
));
23317 if (SWIG_arg_fail(2)) SWIG_fail
;
23319 if (arg1
) (arg1
)->m_col
= arg2
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23340 result
= (int) ((arg1
)->m_col
);
23343 resultobj
= SWIG_From_int((int)(result
));
23351 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23354 wxPoint
*arg2
= (wxPoint
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "m_pointDrag", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail
;
23364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23365 if (SWIG_arg_fail(2)) SWIG_fail
;
23366 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23368 Py_INCREF(Py_None
); resultobj
= Py_None
;
23375 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23396 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23399 wxListItem
*result
;
23400 PyObject
* obj0
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23407 if (SWIG_arg_fail(1)) SWIG_fail
;
23408 result
= (wxListItem
*)& ((arg1
)->m_item
);
23411 resultobj
= wxPyMake_wxObject(result
, 0);
23419 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (int)(arg1
)->GetKeyCode();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_From_int((int)(result
));
23447 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (long)(arg1
)->GetIndex();
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_From_long((long)(result
));
23475 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (int)(arg1
)->GetColumn();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_From_int((int)(result
));
23503 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (arg1
)->GetPoint();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxPoint
* resultptr
;
23524 resultptr
= new wxPoint((wxPoint
&)(result
));
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23533 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23544 if (SWIG_arg_fail(1)) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 wxString
const &_result_ref
= (arg1
)->GetLabel();
23549 result
= (wxString
*) &_result_ref
;
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23568 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23579 if (SWIG_arg_fail(1)) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 wxString
const &_result_ref
= (arg1
)->GetText();
23584 result
= (wxString
*) &_result_ref
;
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23603 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (int)(arg1
)->GetImage();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_int((int)(result
));
23631 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (long)(arg1
)->GetData();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_From_long((long)(result
));
23659 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (long)(arg1
)->GetMask();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_From_long((long)(result
));
23687 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23690 wxListItem
*result
;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23703 result
= (wxListItem
*) &_result_ref
;
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23716 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (long)(arg1
)->GetCacheFrom();
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_From_long((long)(result
));
23744 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (long)(arg1
)->GetCacheTo();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= SWIG_From_long((long)(result
));
23772 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23783 if (SWIG_arg_fail(1)) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23800 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 PyObject
* obj1
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self",(char *) "editCancelled", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23812 if (SWIG_arg_fail(1)) SWIG_fail
;
23814 arg2
= (bool)(SWIG_As_bool(obj1
));
23815 if (SWIG_arg_fail(2)) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 (arg1
)->SetEditCanceled(arg2
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 Py_INCREF(Py_None
); resultobj
= Py_None
;
23831 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23834 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23836 return Py_BuildValue((char *)"");
23838 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 int arg2
= (int) -1 ;
23842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23846 long arg5
= (long) wxLC_ICON
;
23847 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23848 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23849 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23851 wxPyListCtrl
*result
;
23854 bool temp7
= false ;
23855 PyObject
* obj0
= 0 ;
23856 PyObject
* obj1
= 0 ;
23857 PyObject
* obj2
= 0 ;
23858 PyObject
* obj3
= 0 ;
23859 PyObject
* obj4
= 0 ;
23860 PyObject
* obj5
= 0 ;
23861 PyObject
* obj6
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail
;
23871 arg2
= (int)(SWIG_As_int(obj1
));
23872 if (SWIG_arg_fail(2)) SWIG_fail
;
23878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23889 arg5
= (long)(SWIG_As_long(obj4
));
23890 if (SWIG_arg_fail(5)) SWIG_fail
;
23895 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23896 if (SWIG_arg_fail(6)) SWIG_fail
;
23897 if (arg6
== NULL
) {
23898 SWIG_null_ref("wxValidator");
23900 if (SWIG_arg_fail(6)) SWIG_fail
;
23905 arg7
= wxString_in_helper(obj6
);
23906 if (arg7
== NULL
) SWIG_fail
;
23911 if (!wxPyCheckForApp()) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23933 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxPyListCtrl
*result
;
23936 char *kwnames
[] = {
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23942 if (!wxPyCheckForApp()) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23956 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23959 wxWindow
*arg2
= (wxWindow
*) 0 ;
23960 int arg3
= (int) -1 ;
23961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23965 long arg6
= (long) wxLC_ICON
;
23966 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23967 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23968 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23973 bool temp8
= false ;
23974 PyObject
* obj0
= 0 ;
23975 PyObject
* obj1
= 0 ;
23976 PyObject
* obj2
= 0 ;
23977 PyObject
* obj3
= 0 ;
23978 PyObject
* obj4
= 0 ;
23979 PyObject
* obj5
= 0 ;
23980 PyObject
* obj6
= 0 ;
23981 PyObject
* obj7
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23988 if (SWIG_arg_fail(1)) SWIG_fail
;
23989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23990 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 arg3
= (int)(SWIG_As_int(obj2
));
23994 if (SWIG_arg_fail(3)) SWIG_fail
;
24000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24011 arg6
= (long)(SWIG_As_long(obj5
));
24012 if (SWIG_arg_fail(6)) SWIG_fail
;
24017 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24018 if (SWIG_arg_fail(7)) SWIG_fail
;
24019 if (arg7
== NULL
) {
24020 SWIG_null_ref("wxValidator");
24022 if (SWIG_arg_fail(7)) SWIG_fail
;
24027 arg8
= wxString_in_helper(obj7
);
24028 if (arg8
== NULL
) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24056 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24059 PyObject
*arg2
= (PyObject
*) 0 ;
24060 PyObject
*arg3
= (PyObject
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "self",(char *) "_class", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24090 wxColour
*arg2
= 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "col", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24101 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24122 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24125 wxColour
*arg2
= 0 ;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "col", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24157 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24161 wxListItem
*result
;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "col", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 arg2
= (int)(SWIG_As_int(obj1
));
24173 if (SWIG_arg_fail(2)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= wxPyMake_wxObject(result
, 0);
24191 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24195 wxListItem
*arg3
= 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 PyObject
* obj2
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "col",(char *) "item", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail
;
24208 arg2
= (int)(SWIG_As_int(obj1
));
24209 if (SWIG_arg_fail(2)) SWIG_fail
;
24212 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24213 if (SWIG_arg_fail(3)) SWIG_fail
;
24214 if (arg3
== NULL
) {
24215 SWIG_null_ref("wxListItem");
24217 if (SWIG_arg_fail(3)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24235 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self",(char *) "col", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail
;
24250 arg2
= (int)(SWIG_As_int(obj1
));
24251 if (SWIG_arg_fail(2)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_From_int((int)(result
));
24269 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 PyObject
* obj2
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "col",(char *) "width", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail
;
24286 arg2
= (int)(SWIG_As_int(obj1
));
24287 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 arg3
= (int)(SWIG_As_int(obj2
));
24291 if (SWIG_arg_fail(3)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24309 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_From_int((int)(result
));
24337 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24348 if (SWIG_arg_fail(1)) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 wxRect
* resultptr
;
24358 resultptr
= new wxRect((wxRect
&)(result
));
24359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24367 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24370 wxTextCtrl
*result
;
24371 PyObject
* obj0
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= wxPyMake_wxObject(result
, 0);
24395 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24399 int arg3
= (int) 0 ;
24400 wxListItem
*result
;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 PyObject
* obj2
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "itemId",(char *) "col", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail
;
24412 arg2
= (long)(SWIG_As_long(obj1
));
24413 if (SWIG_arg_fail(2)) SWIG_fail
;
24417 arg3
= (int)(SWIG_As_int(obj2
));
24418 if (SWIG_arg_fail(3)) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= wxPyMake_wxObject(result
, 0);
24437 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24440 wxListItem
*arg2
= 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self",(char *) "info", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24454 if (arg2
== NULL
) {
24455 SWIG_null_ref("wxListItem");
24457 if (SWIG_arg_fail(2)) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (bool)(arg1
)->SetItem(*arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24475 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24480 wxString
*arg4
= 0 ;
24481 int arg5
= (int) -1 ;
24483 bool temp4
= false ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 PyObject
* obj2
= 0 ;
24487 PyObject
* obj3
= 0 ;
24488 PyObject
* obj4
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24495 if (SWIG_arg_fail(1)) SWIG_fail
;
24497 arg2
= (long)(SWIG_As_long(obj1
));
24498 if (SWIG_arg_fail(2)) SWIG_fail
;
24501 arg3
= (int)(SWIG_As_int(obj2
));
24502 if (SWIG_arg_fail(3)) SWIG_fail
;
24505 arg4
= wxString_in_helper(obj3
);
24506 if (arg4
== NULL
) SWIG_fail
;
24511 arg5
= (int)(SWIG_As_int(obj4
));
24512 if (SWIG_arg_fail(5)) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_From_long((long)(result
));
24539 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 PyObject
* obj2
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 arg2
= (long)(SWIG_As_long(obj1
));
24557 if (SWIG_arg_fail(2)) SWIG_fail
;
24560 arg3
= (long)(SWIG_As_long(obj2
));
24561 if (SWIG_arg_fail(3)) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_From_int((int)(result
));
24579 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 PyObject
* obj2
= 0 ;
24589 PyObject
* obj3
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24598 arg2
= (long)(SWIG_As_long(obj1
));
24599 if (SWIG_arg_fail(2)) SWIG_fail
;
24602 arg3
= (long)(SWIG_As_long(obj2
));
24603 if (SWIG_arg_fail(3)) SWIG_fail
;
24606 arg4
= (long)(SWIG_As_long(obj3
));
24607 if (SWIG_arg_fail(4)) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24625 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24630 int arg4
= (int) -1 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 PyObject
* obj2
= 0 ;
24635 PyObject
* obj3
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail
;
24644 arg2
= (long)(SWIG_As_long(obj1
));
24645 if (SWIG_arg_fail(2)) SWIG_fail
;
24648 arg3
= (int)(SWIG_As_int(obj2
));
24649 if (SWIG_arg_fail(3)) SWIG_fail
;
24653 arg4
= (int)(SWIG_As_int(obj3
));
24654 if (SWIG_arg_fail(4)) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24673 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "item", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail
;
24688 arg2
= (long)(SWIG_As_long(obj1
));
24689 if (SWIG_arg_fail(2)) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24711 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24715 wxString
*arg3
= 0 ;
24716 bool temp3
= false ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "item",(char *) "str", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 arg2
= (long)(SWIG_As_long(obj1
));
24729 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 arg3
= wxString_in_helper(obj2
);
24733 if (arg3
== NULL
) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "item", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail
;
24773 arg2
= (long)(SWIG_As_long(obj1
));
24774 if (SWIG_arg_fail(2)) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_From_long((long)(result
));
24792 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 PyObject
* obj2
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "item",(char *) "data", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 arg2
= (long)(SWIG_As_long(obj1
));
24810 if (SWIG_arg_fail(2)) SWIG_fail
;
24813 arg3
= (long)(SWIG_As_long(obj2
));
24814 if (SWIG_arg_fail(3)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "item", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 arg2
= (long)(SWIG_As_long(obj1
));
24848 if (SWIG_arg_fail(2)) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 wxPoint
* resultptr
;
24859 resultptr
= new wxPoint((wxPoint
&)(result
));
24860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24868 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24872 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 PyObject
* obj2
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "item",(char *) "code", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 arg2
= (long)(SWIG_As_long(obj1
));
24886 if (SWIG_arg_fail(2)) SWIG_fail
;
24890 arg3
= (int)(SWIG_As_int(obj2
));
24891 if (SWIG_arg_fail(3)) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24902 wxRect
* resultptr
;
24903 resultptr
= new wxRect((wxRect
&)(result
));
24904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24912 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24916 wxPoint
*arg3
= 0 ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 PyObject
* obj2
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self",(char *) "item",(char *) "pos", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail
;
24930 arg2
= (long)(SWIG_As_long(obj1
));
24931 if (SWIG_arg_fail(2)) SWIG_fail
;
24935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24953 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_From_int((int)(result
));
24981 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_From_int((int)(result
));
25009 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 wxSize
* resultptr
;
25030 resultptr
= new wxSize((wxSize
&)(result
));
25031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25039 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_From_int((int)(result
));
25067 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "self", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25087 wxColour
* resultptr
;
25088 resultptr
= new wxColour((wxColour
&)(result
));
25089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25097 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25100 wxColour
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "col", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail
;
25113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25129 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25133 PyObject
* obj0
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25140 if (SWIG_arg_fail(1)) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_From_long((long)(result
));
25157 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25161 bool arg3
= (bool) true ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 PyObject
* obj2
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "style",(char *) "add", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25171 if (SWIG_arg_fail(1)) SWIG_fail
;
25173 arg2
= (long)(SWIG_As_long(obj1
));
25174 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 arg3
= (bool)(SWIG_As_bool(obj2
));
25179 if (SWIG_arg_fail(3)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->SetSingleStyle(arg2
,arg3
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25196 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "style", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25208 if (SWIG_arg_fail(1)) SWIG_fail
;
25210 arg2
= (long)(SWIG_As_long(obj1
));
25211 if (SWIG_arg_fail(2)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->SetWindowStyleFlag(arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25231 int arg3
= (int) wxLIST_NEXT_ALL
;
25232 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 PyObject
* obj3
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25244 if (SWIG_arg_fail(1)) SWIG_fail
;
25246 arg2
= (long)(SWIG_As_long(obj1
));
25247 if (SWIG_arg_fail(2)) SWIG_fail
;
25251 arg3
= (int)(SWIG_As_int(obj2
));
25252 if (SWIG_arg_fail(3)) SWIG_fail
;
25257 arg4
= (int)(SWIG_As_int(obj3
));
25258 if (SWIG_arg_fail(4)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_From_long((long)(result
));
25277 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25281 wxImageList
*result
;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "which", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25290 if (SWIG_arg_fail(1)) SWIG_fail
;
25292 arg2
= (int)(SWIG_As_int(obj1
));
25293 if (SWIG_arg_fail(2)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= wxPyMake_wxObject(result
, 0);
25311 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25314 wxImageList
*arg2
= (wxImageList
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 PyObject
* obj2
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "imageList",(char *) "which", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25325 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25327 if (SWIG_arg_fail(2)) SWIG_fail
;
25329 arg3
= (int)(SWIG_As_int(obj2
));
25330 if (SWIG_arg_fail(3)) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->SetImageList(arg2
,arg3
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25349 wxImageList
*arg2
= (wxImageList
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 PyObject
* obj2
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "imageList",(char *) "which", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25362 if (SWIG_arg_fail(2)) SWIG_fail
;
25364 arg3
= (int)(SWIG_As_int(obj2
));
25365 if (SWIG_arg_fail(3)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->AssignImageList(arg2
,arg3
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 Py_INCREF(Py_None
); resultobj
= Py_None
;
25381 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25409 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25437 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "item", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail
;
25451 arg2
= (long)(SWIG_As_long(obj1
));
25452 if (SWIG_arg_fail(2)) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->RefreshItem(arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 PyObject
* obj2
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail
;
25484 arg2
= (long)(SWIG_As_long(obj1
));
25485 if (SWIG_arg_fail(2)) SWIG_fail
;
25488 arg3
= (long)(SWIG_As_long(obj2
));
25489 if (SWIG_arg_fail(3)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->RefreshItems(arg2
,arg3
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25508 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "flag", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25521 arg2
= (int)(SWIG_As_int(obj1
));
25522 if (SWIG_arg_fail(2)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (bool)(arg1
)->Arrange(arg2
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25541 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "item", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail
;
25556 arg2
= (long)(SWIG_As_long(obj1
));
25557 if (SWIG_arg_fail(2)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (bool)(arg1
)->DeleteItem(arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (bool)(arg1
)->DeleteAllItems();
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25603 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "col", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (int)(SWIG_As_int(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25637 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25648 if (SWIG_arg_fail(1)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (bool)(arg1
)->DeleteAllColumns();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25665 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 (arg1
)->ClearAll();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25694 wxTextCtrl
*result
;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self",(char *) "item", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail
;
25705 arg2
= (long)(SWIG_As_long(obj1
));
25706 if (SWIG_arg_fail(2)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= wxPyMake_wxObject(result
, 0);
25724 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self",(char *) "cancel", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail
;
25739 arg2
= (bool)(SWIG_As_bool(obj1
));
25740 if (SWIG_arg_fail(2)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25758 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "item", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25773 arg2
= (long)(SWIG_As_long(obj1
));
25774 if (SWIG_arg_fail(2)) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25792 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25796 wxString
*arg3
= 0 ;
25797 bool arg4
= (bool) false ;
25799 bool temp3
= false ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 PyObject
* obj2
= 0 ;
25803 PyObject
* obj3
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25810 if (SWIG_arg_fail(1)) SWIG_fail
;
25812 arg2
= (long)(SWIG_As_long(obj1
));
25813 if (SWIG_arg_fail(2)) SWIG_fail
;
25816 arg3
= wxString_in_helper(obj2
);
25817 if (arg3
== NULL
) SWIG_fail
;
25822 arg4
= (bool)(SWIG_As_bool(obj3
));
25823 if (SWIG_arg_fail(4)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_From_long((long)(result
));
25850 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 PyObject
* obj2
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "start",(char *) "data", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail
;
25867 arg2
= (long)(SWIG_As_long(obj1
));
25868 if (SWIG_arg_fail(2)) SWIG_fail
;
25871 arg3
= (long)(SWIG_As_long(obj2
));
25872 if (SWIG_arg_fail(3)) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_From_long((long)(result
));
25890 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25894 wxPoint
*arg3
= 0 ;
25898 PyObject
* obj0
= 0 ;
25899 PyObject
* obj1
= 0 ;
25900 PyObject
* obj2
= 0 ;
25901 PyObject
* obj3
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25910 arg2
= (long)(SWIG_As_long(obj1
));
25911 if (SWIG_arg_fail(2)) SWIG_fail
;
25915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25918 arg4
= (int)(SWIG_As_int(obj3
));
25919 if (SWIG_arg_fail(4)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_From_long((long)(result
));
25937 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25940 wxPoint
*arg2
= 0 ;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "point", NULL
25952 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail
;
25958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_From_long((long)(result
));
25970 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25971 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25978 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25981 wxListItem
*arg2
= 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 char *kwnames
[] = {
25986 (char *) "self",(char *) "info", NULL
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25991 if (SWIG_arg_fail(1)) SWIG_fail
;
25993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25994 if (SWIG_arg_fail(2)) SWIG_fail
;
25995 if (arg2
== NULL
) {
25996 SWIG_null_ref("wxListItem");
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (long)(arg1
)->InsertItem(*arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_From_long((long)(result
));
26016 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26020 wxString
*arg3
= 0 ;
26022 bool temp3
= false ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 PyObject
* obj2
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "index",(char *) "label", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26032 if (SWIG_arg_fail(1)) SWIG_fail
;
26034 arg2
= (long)(SWIG_As_long(obj1
));
26035 if (SWIG_arg_fail(2)) SWIG_fail
;
26038 arg3
= wxString_in_helper(obj2
);
26039 if (arg3
== NULL
) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_From_long((long)(result
));
26066 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 PyObject
* obj2
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26083 arg2
= (long)(SWIG_As_long(obj1
));
26084 if (SWIG_arg_fail(2)) SWIG_fail
;
26087 arg3
= (int)(SWIG_As_int(obj2
));
26088 if (SWIG_arg_fail(3)) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_From_long((long)(result
));
26106 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26110 wxString
*arg3
= 0 ;
26113 bool temp3
= false ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 PyObject
* obj2
= 0 ;
26117 PyObject
* obj3
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26124 if (SWIG_arg_fail(1)) SWIG_fail
;
26126 arg2
= (long)(SWIG_As_long(obj1
));
26127 if (SWIG_arg_fail(2)) SWIG_fail
;
26130 arg3
= wxString_in_helper(obj2
);
26131 if (arg3
== NULL
) SWIG_fail
;
26135 arg4
= (int)(SWIG_As_int(obj3
));
26136 if (SWIG_arg_fail(4)) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 resultobj
= SWIG_From_long((long)(result
));
26162 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26166 wxListItem
*arg3
= 0 ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 PyObject
* obj2
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self",(char *) "col",(char *) "info", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail
;
26179 arg2
= (long)(SWIG_As_long(obj1
));
26180 if (SWIG_arg_fail(2)) SWIG_fail
;
26183 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26184 if (SWIG_arg_fail(3)) SWIG_fail
;
26185 if (arg3
== NULL
) {
26186 SWIG_null_ref("wxListItem");
26188 if (SWIG_arg_fail(3)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_From_long((long)(result
));
26206 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26210 wxString
*arg3
= 0 ;
26211 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26212 int arg5
= (int) -1 ;
26214 bool temp3
= false ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 PyObject
* obj3
= 0 ;
26219 PyObject
* obj4
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail
;
26228 arg2
= (long)(SWIG_As_long(obj1
));
26229 if (SWIG_arg_fail(2)) SWIG_fail
;
26232 arg3
= wxString_in_helper(obj2
);
26233 if (arg3
== NULL
) SWIG_fail
;
26238 arg4
= (int)(SWIG_As_int(obj3
));
26239 if (SWIG_arg_fail(4)) SWIG_fail
;
26244 arg5
= (int)(SWIG_As_int(obj4
));
26245 if (SWIG_arg_fail(5)) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_From_long((long)(result
));
26272 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "count", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 arg2
= (long)(SWIG_As_long(obj1
));
26287 if (SWIG_arg_fail(2)) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->SetItemCount(arg2
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 Py_INCREF(Py_None
); resultobj
= Py_None
;
26303 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 PyObject
* obj2
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "dx",(char *) "dy", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 arg2
= (int)(SWIG_As_int(obj1
));
26321 if (SWIG_arg_fail(2)) SWIG_fail
;
26324 arg3
= (int)(SWIG_As_int(obj2
));
26325 if (SWIG_arg_fail(3)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26343 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26347 wxColour
*arg3
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item",(char *) "col", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail
;
26360 arg2
= (long)(SWIG_As_long(obj1
));
26361 if (SWIG_arg_fail(2)) SWIG_fail
;
26365 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 Py_INCREF(Py_None
); resultobj
= Py_None
;
26381 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "item", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26396 arg2
= (long)(SWIG_As_long(obj1
));
26397 if (SWIG_arg_fail(2)) SWIG_fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 wxColour
* resultptr
;
26408 resultptr
= new wxColour((wxColour
&)(result
));
26409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26417 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26421 wxColour
*arg3
= 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 PyObject
* obj2
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "item",(char *) "col", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 arg2
= (long)(SWIG_As_long(obj1
));
26435 if (SWIG_arg_fail(2)) SWIG_fail
;
26439 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "item", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 arg2
= (long)(SWIG_As_long(obj1
));
26471 if (SWIG_arg_fail(2)) SWIG_fail
;
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 wxColour
* resultptr
;
26482 resultptr
= new wxColour((wxColour
&)(result
));
26483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26491 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26494 PyObject
*arg2
= (PyObject
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "func", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26504 if (SWIG_arg_fail(1)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26522 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26533 if (SWIG_arg_fail(1)) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= wxPyMake_wxObject(result
, 0);
26550 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26553 wxVisualAttributes result
;
26554 PyObject
* obj0
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "variant", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26562 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26563 if (SWIG_arg_fail(1)) SWIG_fail
;
26567 if (!wxPyCheckForApp()) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 wxVisualAttributes
* resultptr
;
26576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26585 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26588 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26590 return Py_BuildValue((char *)"");
26592 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxWindow
*arg1
= (wxWindow
*) 0 ;
26595 int arg2
= (int) -1 ;
26596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26600 long arg5
= (long) wxLC_REPORT
;
26601 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26602 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26603 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26605 wxListView
*result
;
26608 bool temp7
= false ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 PyObject
* obj2
= 0 ;
26612 PyObject
* obj3
= 0 ;
26613 PyObject
* obj4
= 0 ;
26614 PyObject
* obj5
= 0 ;
26615 PyObject
* obj6
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(1)) SWIG_fail
;
26625 arg2
= (int)(SWIG_As_int(obj1
));
26626 if (SWIG_arg_fail(2)) SWIG_fail
;
26632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26643 arg5
= (long)(SWIG_As_long(obj4
));
26644 if (SWIG_arg_fail(5)) SWIG_fail
;
26649 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26650 if (SWIG_arg_fail(6)) SWIG_fail
;
26651 if (arg6
== NULL
) {
26652 SWIG_null_ref("wxValidator");
26654 if (SWIG_arg_fail(6)) SWIG_fail
;
26659 arg7
= wxString_in_helper(obj6
);
26660 if (arg7
== NULL
) SWIG_fail
;
26665 if (!wxPyCheckForApp()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26687 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxListView
*result
;
26690 char *kwnames
[] = {
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26696 if (!wxPyCheckForApp()) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (wxListView
*)new wxListView();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26710 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxListView
*arg1
= (wxListView
*) 0 ;
26713 wxWindow
*arg2
= (wxWindow
*) 0 ;
26714 int arg3
= (int) -1 ;
26715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26719 long arg6
= (long) wxLC_REPORT
;
26720 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26721 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26722 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26723 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26727 bool temp8
= false ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 PyObject
* obj2
= 0 ;
26731 PyObject
* obj3
= 0 ;
26732 PyObject
* obj4
= 0 ;
26733 PyObject
* obj5
= 0 ;
26734 PyObject
* obj6
= 0 ;
26735 PyObject
* obj7
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26742 if (SWIG_arg_fail(1)) SWIG_fail
;
26743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26744 if (SWIG_arg_fail(2)) SWIG_fail
;
26747 arg3
= (int)(SWIG_As_int(obj2
));
26748 if (SWIG_arg_fail(3)) SWIG_fail
;
26754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26765 arg6
= (long)(SWIG_As_long(obj5
));
26766 if (SWIG_arg_fail(6)) SWIG_fail
;
26771 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26772 if (SWIG_arg_fail(7)) SWIG_fail
;
26773 if (arg7
== NULL
) {
26774 SWIG_null_ref("wxValidator");
26776 if (SWIG_arg_fail(7)) SWIG_fail
;
26781 arg8
= wxString_in_helper(obj7
);
26782 if (arg8
== NULL
) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26810 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxListView
*arg1
= (wxListView
*) 0 ;
26814 bool arg3
= (bool) true ;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 PyObject
* obj2
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "n",(char *) "on", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail
;
26826 arg2
= (long)(SWIG_As_long(obj1
));
26827 if (SWIG_arg_fail(2)) SWIG_fail
;
26831 arg3
= (bool)(SWIG_As_bool(obj2
));
26832 if (SWIG_arg_fail(3)) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 (arg1
)->Select(arg2
,arg3
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 Py_INCREF(Py_None
); resultobj
= Py_None
;
26849 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxListView
*arg1
= (wxListView
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "index", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26861 if (SWIG_arg_fail(1)) SWIG_fail
;
26863 arg2
= (long)(SWIG_As_long(obj1
));
26864 if (SWIG_arg_fail(2)) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->Focus(arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 Py_INCREF(Py_None
); resultobj
= Py_None
;
26880 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxListView
*arg1
= (wxListView
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_From_long((long)(result
));
26908 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxListView
*arg1
= (wxListView
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "item", NULL
26919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26921 if (SWIG_arg_fail(1)) SWIG_fail
;
26923 arg2
= (long)(SWIG_As_long(obj1
));
26924 if (SWIG_arg_fail(2)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_From_long((long)(result
));
26942 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxListView
*arg1
= (wxListView
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26953 if (SWIG_arg_fail(1)) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_From_long((long)(result
));
26970 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxListView
*arg1
= (wxListView
*) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "index", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail
;
26985 arg2
= (long)(SWIG_As_long(obj1
));
26986 if (SWIG_arg_fail(2)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (bool)(arg1
)->IsSelected(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27004 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxListView
*arg1
= (wxListView
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 PyObject
* obj2
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "col",(char *) "image", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail
;
27020 arg2
= (int)(SWIG_As_int(obj1
));
27021 if (SWIG_arg_fail(2)) SWIG_fail
;
27024 arg3
= (int)(SWIG_As_int(obj2
));
27025 if (SWIG_arg_fail(3)) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 (arg1
)->SetColumnImage(arg2
,arg3
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 Py_INCREF(Py_None
); resultobj
= Py_None
;
27041 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxListView
*arg1
= (wxListView
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "col", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27055 arg2
= (int)(SWIG_As_int(obj1
));
27056 if (SWIG_arg_fail(2)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->ClearColumnImage(arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27075 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27077 return Py_BuildValue((char *)"");
27079 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27080 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27085 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27090 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27092 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27099 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxTreeItemId
*result
;
27102 char *kwnames
[] = {
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (wxTreeItemId
*)new wxTreeItemId();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27121 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27131 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 Py_INCREF(Py_None
); resultobj
= Py_None
;
27146 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27174 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27177 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self",(char *) "other", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(2)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27209 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "other", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27238 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27241 void *arg2
= (void *) 0 ;
27242 PyObject
* obj0
= 0 ;
27243 PyObject
* obj1
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "m_pItem", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(1)) SWIG_fail
;
27252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27253 SWIG_arg_fail(2);SWIG_fail
;
27256 if (arg1
) (arg1
)->m_pItem
= arg2
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 result
= (void *) ((arg1
)->m_pItem
);
27279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27286 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27289 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27291 return Py_BuildValue((char *)"");
27293 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 PyObject
*arg1
= (PyObject
*) NULL
;
27296 wxPyTreeItemData
*result
;
27297 PyObject
* obj0
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "obj", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27320 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= (PyObject
*)(arg1
)->GetData();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= result
;
27346 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27349 PyObject
*arg2
= (PyObject
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "obj", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27358 if (SWIG_arg_fail(1)) SWIG_fail
;
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 (arg1
)->SetData(arg2
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 Py_INCREF(Py_None
); resultobj
= Py_None
;
27374 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27377 wxTreeItemId
*result
;
27378 PyObject
* obj0
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "self", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27385 if (SWIG_arg_fail(1)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27390 result
= (wxTreeItemId
*) &_result_ref
;
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27403 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27406 wxTreeItemId
*arg2
= 0 ;
27407 PyObject
* obj0
= 0 ;
27408 PyObject
* obj1
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "id", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27415 if (SWIG_arg_fail(1)) SWIG_fail
;
27417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27418 if (SWIG_arg_fail(2)) SWIG_fail
;
27419 if (arg2
== NULL
) {
27420 SWIG_null_ref("wxTreeItemId");
27422 if (SWIG_arg_fail(2)) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 wxPyTreeItemData_Destroy(arg1
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 Py_INCREF(Py_None
); resultobj
= Py_None
;
27463 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27466 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27468 return Py_BuildValue((char *)"");
27470 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27473 int arg2
= (int) 0 ;
27474 wxTreeEvent
*result
;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "commandType",(char *) "id", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27485 if (SWIG_arg_fail(1)) SWIG_fail
;
27490 arg2
= (int)(SWIG_As_int(obj1
));
27491 if (SWIG_arg_fail(2)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27508 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27511 wxTreeItemId result
;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27519 if (SWIG_arg_fail(1)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 wxTreeItemId
* resultptr
;
27529 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27538 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27541 wxTreeItemId
*arg2
= 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "item", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail
;
27552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27554 if (arg2
== NULL
) {
27555 SWIG_null_ref("wxTreeItemId");
27557 if (SWIG_arg_fail(2)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27576 wxTreeItemId result
;
27577 PyObject
* obj0
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 wxTreeItemId
* resultptr
;
27594 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27603 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
;
27605 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27606 wxTreeItemId
*arg2
= 0 ;
27607 PyObject
* obj0
= 0 ;
27608 PyObject
* obj1
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "item", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27615 if (SWIG_arg_fail(1)) SWIG_fail
;
27617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27618 if (SWIG_arg_fail(2)) SWIG_fail
;
27619 if (arg2
== NULL
) {
27620 SWIG_null_ref("wxTreeItemId");
27622 if (SWIG_arg_fail(2)) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 Py_INCREF(Py_None
); resultobj
= Py_None
;
27638 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 wxPoint
* resultptr
;
27659 resultptr
= new wxPoint((wxPoint
&)(result
));
27660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27668 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27671 wxPoint
*arg2
= 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "pt", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 Py_INCREF(Py_None
); resultobj
= Py_None
;
27700 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27703 wxKeyEvent
*result
;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27711 if (SWIG_arg_fail(1)) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27716 result
= (wxKeyEvent
*) &_result_ref
;
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27729 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27740 if (SWIG_arg_fail(1)) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_From_int((int)(result
));
27757 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27760 wxKeyEvent
*arg2
= 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self",(char *) "evt", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail
;
27771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27772 if (SWIG_arg_fail(2)) SWIG_fail
;
27773 if (arg2
== NULL
) {
27774 SWIG_null_ref("wxKeyEvent");
27776 if (SWIG_arg_fail(2)) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 Py_INCREF(Py_None
); resultobj
= Py_None
;
27792 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27808 result
= (wxString
*) &_result_ref
;
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27827 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27830 wxString
*arg2
= 0 ;
27831 bool temp2
= false ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self",(char *) "label", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27840 if (SWIG_arg_fail(1)) SWIG_fail
;
27842 arg2
= wxString_in_helper(obj1
);
27843 if (arg2
== NULL
) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 (arg1
)->SetLabel((wxString
const &)*arg2
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27872 PyObject
* obj0
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail
;
27881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27882 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27896 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
;
27898 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self",(char *) "editCancelled", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27908 if (SWIG_arg_fail(1)) SWIG_fail
;
27910 arg2
= (bool)(SWIG_As_bool(obj1
));
27911 if (SWIG_arg_fail(2)) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 (arg1
)->SetEditCanceled(arg2
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 Py_INCREF(Py_None
); resultobj
= Py_None
;
27927 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27930 wxString
*arg2
= 0 ;
27931 bool temp2
= false ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self",(char *) "toolTip", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 arg2
= wxString_in_helper(obj1
);
27943 if (arg2
== NULL
) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 Py_INCREF(Py_None
); resultobj
= Py_None
;
27968 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27972 PyObject
* obj0
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (arg1
)->GetToolTip();
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28000 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28003 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28005 return Py_BuildValue((char *)"");
28007 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxWindow
*arg1
= (wxWindow
*) 0 ;
28010 int arg2
= (int) -1 ;
28011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28015 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28016 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28017 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28018 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28020 wxPyTreeCtrl
*result
;
28023 bool temp7
= false ;
28024 PyObject
* obj0
= 0 ;
28025 PyObject
* obj1
= 0 ;
28026 PyObject
* obj2
= 0 ;
28027 PyObject
* obj3
= 0 ;
28028 PyObject
* obj4
= 0 ;
28029 PyObject
* obj5
= 0 ;
28030 PyObject
* obj6
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28037 if (SWIG_arg_fail(1)) SWIG_fail
;
28040 arg2
= (int)(SWIG_As_int(obj1
));
28041 if (SWIG_arg_fail(2)) SWIG_fail
;
28047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28058 arg5
= (long)(SWIG_As_long(obj4
));
28059 if (SWIG_arg_fail(5)) SWIG_fail
;
28064 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28065 if (SWIG_arg_fail(6)) SWIG_fail
;
28066 if (arg6
== NULL
) {
28067 SWIG_null_ref("wxValidator");
28069 if (SWIG_arg_fail(6)) SWIG_fail
;
28074 arg7
= wxString_in_helper(obj6
);
28075 if (arg7
== NULL
) SWIG_fail
;
28080 if (!wxPyCheckForApp()) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28102 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxPyTreeCtrl
*result
;
28105 char *kwnames
[] = {
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28111 if (!wxPyCheckForApp()) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28125 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28128 wxWindow
*arg2
= (wxWindow
*) 0 ;
28129 int arg3
= (int) -1 ;
28130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28134 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28135 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28136 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28137 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28142 bool temp8
= false ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 PyObject
* obj2
= 0 ;
28146 PyObject
* obj3
= 0 ;
28147 PyObject
* obj4
= 0 ;
28148 PyObject
* obj5
= 0 ;
28149 PyObject
* obj6
= 0 ;
28150 PyObject
* obj7
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail
;
28158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28159 if (SWIG_arg_fail(2)) SWIG_fail
;
28162 arg3
= (int)(SWIG_As_int(obj2
));
28163 if (SWIG_arg_fail(3)) SWIG_fail
;
28169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28180 arg6
= (long)(SWIG_As_long(obj5
));
28181 if (SWIG_arg_fail(6)) SWIG_fail
;
28186 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28187 if (SWIG_arg_fail(7)) SWIG_fail
;
28188 if (arg7
== NULL
) {
28189 SWIG_null_ref("wxValidator");
28191 if (SWIG_arg_fail(7)) SWIG_fail
;
28196 arg8
= wxString_in_helper(obj7
);
28197 if (arg8
== NULL
) SWIG_fail
;
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28225 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28228 PyObject
*arg2
= (PyObject
*) 0 ;
28229 PyObject
*arg3
= (PyObject
*) 0 ;
28230 PyObject
* obj0
= 0 ;
28231 PyObject
* obj1
= 0 ;
28232 PyObject
* obj2
= 0 ;
28233 char *kwnames
[] = {
28234 (char *) "self",(char *) "self",(char *) "_class", NULL
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28239 if (SWIG_arg_fail(1)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28284 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28287 unsigned int result
;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28312 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28315 unsigned int arg2
;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "indent", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail
;
28326 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28327 if (SWIG_arg_fail(2)) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->SetIndent(arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28346 unsigned int result
;
28347 PyObject
* obj0
= 0 ;
28348 char *kwnames
[] = {
28349 (char *) "self", NULL
28352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28354 if (SWIG_arg_fail(1)) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28371 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28374 unsigned int arg2
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "spacing", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail
;
28385 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28386 if (SWIG_arg_fail(2)) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 (arg1
)->SetSpacing(arg2
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 Py_INCREF(Py_None
); resultobj
= Py_None
;
28402 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28405 wxImageList
*result
;
28406 PyObject
* obj0
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= wxPyMake_wxObject(result
, 0);
28430 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28433 wxImageList
*result
;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= wxPyMake_wxObject(result
, 0);
28458 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28461 wxImageList
*arg2
= (wxImageList
*) 0 ;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self",(char *) "imageList", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28470 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28472 if (SWIG_arg_fail(2)) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 (arg1
)->SetImageList(arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 Py_INCREF(Py_None
); resultobj
= Py_None
;
28487 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28490 wxImageList
*arg2
= (wxImageList
*) 0 ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self",(char *) "imageList", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28499 if (SWIG_arg_fail(1)) SWIG_fail
;
28500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28501 if (SWIG_arg_fail(2)) SWIG_fail
;
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 (arg1
)->SetStateImageList(arg2
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 Py_INCREF(Py_None
); resultobj
= Py_None
;
28516 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28519 wxImageList
*arg2
= (wxImageList
*) 0 ;
28520 PyObject
* obj0
= 0 ;
28521 PyObject
* obj1
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self",(char *) "imageList", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28530 if (SWIG_arg_fail(2)) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 (arg1
)->AssignImageList(arg2
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 Py_INCREF(Py_None
); resultobj
= Py_None
;
28545 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28548 wxImageList
*arg2
= (wxImageList
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "imageList", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 (arg1
)->AssignStateImageList(arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 Py_INCREF(Py_None
); resultobj
= Py_None
;
28574 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28577 wxTreeItemId
*arg2
= 0 ;
28579 PyObject
* obj0
= 0 ;
28580 PyObject
* obj1
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self",(char *) "item", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(1)) SWIG_fail
;
28589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28590 if (SWIG_arg_fail(2)) SWIG_fail
;
28591 if (arg2
== NULL
) {
28592 SWIG_null_ref("wxTreeItemId");
28594 if (SWIG_arg_fail(2)) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28616 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28619 wxTreeItemId
*arg2
= 0 ;
28620 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28622 PyObject
* obj0
= 0 ;
28623 PyObject
* obj1
= 0 ;
28624 PyObject
* obj2
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "item",(char *) "which", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail
;
28633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28634 if (SWIG_arg_fail(2)) SWIG_fail
;
28635 if (arg2
== NULL
) {
28636 SWIG_null_ref("wxTreeItemId");
28638 if (SWIG_arg_fail(2)) SWIG_fail
;
28642 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28643 if (SWIG_arg_fail(3)) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= SWIG_From_int((int)(result
));
28662 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28665 wxTreeItemId
*arg2
= 0 ;
28666 wxPyTreeItemData
*result
;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "item", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail
;
28677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28679 if (arg2
== NULL
) {
28680 SWIG_null_ref("wxTreeItemId");
28682 if (SWIG_arg_fail(2)) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28698 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28701 wxTreeItemId
*arg2
= 0 ;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self",(char *) "item", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28711 if (SWIG_arg_fail(1)) SWIG_fail
;
28713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28714 if (SWIG_arg_fail(2)) SWIG_fail
;
28715 if (arg2
== NULL
) {
28716 SWIG_null_ref("wxTreeItemId");
28718 if (SWIG_arg_fail(2)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= result
;
28734 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28737 wxTreeItemId
*arg2
= 0 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "item", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28747 if (SWIG_arg_fail(1)) SWIG_fail
;
28749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28751 if (arg2
== NULL
) {
28752 SWIG_null_ref("wxTreeItemId");
28754 if (SWIG_arg_fail(2)) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 wxColour
* resultptr
;
28765 resultptr
= new wxColour((wxColour
&)(result
));
28766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28774 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28777 wxTreeItemId
*arg2
= 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self",(char *) "item", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28787 if (SWIG_arg_fail(1)) SWIG_fail
;
28789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(2)) SWIG_fail
;
28791 if (arg2
== NULL
) {
28792 SWIG_null_ref("wxTreeItemId");
28794 if (SWIG_arg_fail(2)) SWIG_fail
;
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28804 wxColour
* resultptr
;
28805 resultptr
= new wxColour((wxColour
&)(result
));
28806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28814 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28815 PyObject
*resultobj
;
28816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28817 wxTreeItemId
*arg2
= 0 ;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self",(char *) "item", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28827 if (SWIG_arg_fail(1)) SWIG_fail
;
28829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28830 if (SWIG_arg_fail(2)) SWIG_fail
;
28831 if (arg2
== NULL
) {
28832 SWIG_null_ref("wxTreeItemId");
28834 if (SWIG_arg_fail(2)) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28844 wxFont
* resultptr
;
28845 resultptr
= new wxFont((wxFont
&)(result
));
28846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28854 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28857 wxTreeItemId
*arg2
= 0 ;
28858 wxString
*arg3
= 0 ;
28859 bool temp3
= false ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 PyObject
* obj2
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self",(char *) "item",(char *) "text", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28869 if (SWIG_arg_fail(1)) SWIG_fail
;
28871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28873 if (arg2
== NULL
) {
28874 SWIG_null_ref("wxTreeItemId");
28876 if (SWIG_arg_fail(2)) SWIG_fail
;
28879 arg3
= wxString_in_helper(obj2
);
28880 if (arg3
== NULL
) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28890 Py_INCREF(Py_None
); resultobj
= Py_None
;
28905 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
;
28907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28908 wxTreeItemId
*arg2
= 0 ;
28910 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 PyObject
* obj2
= 0 ;
28914 PyObject
* obj3
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail
;
28923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28924 if (SWIG_arg_fail(2)) SWIG_fail
;
28925 if (arg2
== NULL
) {
28926 SWIG_null_ref("wxTreeItemId");
28928 if (SWIG_arg_fail(2)) SWIG_fail
;
28931 arg3
= (int)(SWIG_As_int(obj2
));
28932 if (SWIG_arg_fail(3)) SWIG_fail
;
28936 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28937 if (SWIG_arg_fail(4)) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 Py_INCREF(Py_None
); resultobj
= Py_None
;
28954 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
;
28956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28957 wxTreeItemId
*arg2
= 0 ;
28958 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28959 PyObject
* obj0
= 0 ;
28960 PyObject
* obj1
= 0 ;
28961 PyObject
* obj2
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "self",(char *) "item",(char *) "data", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28968 if (SWIG_arg_fail(1)) SWIG_fail
;
28970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28971 if (SWIG_arg_fail(2)) SWIG_fail
;
28972 if (arg2
== NULL
) {
28973 SWIG_null_ref("wxTreeItemId");
28975 if (SWIG_arg_fail(2)) SWIG_fail
;
28977 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28978 if (SWIG_arg_fail(3)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 Py_INCREF(Py_None
); resultobj
= Py_None
;
28993 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28996 wxTreeItemId
*arg2
= 0 ;
28997 PyObject
*arg3
= (PyObject
*) 0 ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "item",(char *) "obj", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 Py_INCREF(Py_None
); resultobj
= Py_None
;
29031 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29034 wxTreeItemId
*arg2
= 0 ;
29035 bool arg3
= (bool) true ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self",(char *) "item",(char *) "has", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29045 if (SWIG_arg_fail(1)) SWIG_fail
;
29047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(2)) SWIG_fail
;
29049 if (arg2
== NULL
) {
29050 SWIG_null_ref("wxTreeItemId");
29052 if (SWIG_arg_fail(2)) SWIG_fail
;
29056 arg3
= (bool)(SWIG_As_bool(obj2
));
29057 if (SWIG_arg_fail(3)) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 Py_INCREF(Py_None
); resultobj
= Py_None
;
29074 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
;
29076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29077 wxTreeItemId
*arg2
= 0 ;
29078 bool arg3
= (bool) true ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self",(char *) "item",(char *) "bold", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail
;
29090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29091 if (SWIG_arg_fail(2)) SWIG_fail
;
29092 if (arg2
== NULL
) {
29093 SWIG_null_ref("wxTreeItemId");
29095 if (SWIG_arg_fail(2)) SWIG_fail
;
29099 arg3
= (bool)(SWIG_As_bool(obj2
));
29100 if (SWIG_arg_fail(3)) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->SetItemBold((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_SetItemDropHighlight(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 *) "highlight", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",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
)->SetItemDropHighlight((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_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29163 wxTreeItemId
*arg2
= 0 ;
29164 wxColour
*arg3
= 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 PyObject
* obj2
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self",(char *) "item",(char *) "col", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29175 if (SWIG_arg_fail(1)) SWIG_fail
;
29177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29178 if (SWIG_arg_fail(2)) SWIG_fail
;
29179 if (arg2
== NULL
) {
29180 SWIG_null_ref("wxTreeItemId");
29182 if (SWIG_arg_fail(2)) SWIG_fail
;
29186 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 Py_INCREF(Py_None
); resultobj
= Py_None
;
29202 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29205 wxTreeItemId
*arg2
= 0 ;
29206 wxColour
*arg3
= 0 ;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self",(char *) "item",(char *) "col", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",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 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29247 wxTreeItemId
*arg2
= 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 PyObject
* obj2
= 0 ;
29252 char *kwnames
[] = {
29253 (char *) "self",(char *) "item",(char *) "font", NULL
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29258 if (SWIG_arg_fail(1)) SWIG_fail
;
29260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(2)) SWIG_fail
;
29262 if (arg2
== NULL
) {
29263 SWIG_null_ref("wxTreeItemId");
29265 if (SWIG_arg_fail(2)) SWIG_fail
;
29268 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29269 if (SWIG_arg_fail(3)) SWIG_fail
;
29270 if (arg3
== NULL
) {
29271 SWIG_null_ref("wxFont");
29273 if (SWIG_arg_fail(3)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 Py_INCREF(Py_None
); resultobj
= Py_None
;
29289 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29292 wxTreeItemId
*arg2
= 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 char *kwnames
[] = {
29297 (char *) "self",(char *) "item", NULL
29300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29302 if (SWIG_arg_fail(1)) SWIG_fail
;
29304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(2)) SWIG_fail
;
29306 if (arg2
== NULL
) {
29307 SWIG_null_ref("wxTreeItemId");
29309 if (SWIG_arg_fail(2)) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29327 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29330 wxTreeItemId
*arg2
= 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 char *kwnames
[] = {
29335 (char *) "self",(char *) "item", NULL
29338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29340 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29343 if (SWIG_arg_fail(2)) SWIG_fail
;
29344 if (arg2
== NULL
) {
29345 SWIG_null_ref("wxTreeItemId");
29347 if (SWIG_arg_fail(2)) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29365 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29368 wxTreeItemId
*arg2
= 0 ;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self",(char *) "item", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29378 if (SWIG_arg_fail(1)) SWIG_fail
;
29380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29381 if (SWIG_arg_fail(2)) SWIG_fail
;
29382 if (arg2
== NULL
) {
29383 SWIG_null_ref("wxTreeItemId");
29385 if (SWIG_arg_fail(2)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29403 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29406 wxTreeItemId
*arg2
= 0 ;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "self",(char *) "item", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29420 if (arg2
== NULL
) {
29421 SWIG_null_ref("wxTreeItemId");
29423 if (SWIG_arg_fail(2)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29441 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29444 wxTreeItemId
*arg2
= 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "self",(char *) "item", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail
;
29456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29457 if (SWIG_arg_fail(2)) SWIG_fail
;
29458 if (arg2
== NULL
) {
29459 SWIG_null_ref("wxTreeItemId");
29461 if (SWIG_arg_fail(2)) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29479 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29482 wxTreeItemId
*arg2
= 0 ;
29483 bool arg3
= (bool) true ;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 PyObject
* obj2
= 0 ;
29488 char *kwnames
[] = {
29489 (char *) "self",(char *) "item",(char *) "recursively", NULL
29492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29494 if (SWIG_arg_fail(1)) SWIG_fail
;
29496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29497 if (SWIG_arg_fail(2)) SWIG_fail
;
29498 if (arg2
== NULL
) {
29499 SWIG_null_ref("wxTreeItemId");
29501 if (SWIG_arg_fail(2)) SWIG_fail
;
29505 arg3
= (bool)(SWIG_As_bool(obj2
));
29506 if (SWIG_arg_fail(3)) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29525 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
;
29527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29528 wxTreeItemId result
;
29529 PyObject
* obj0
= 0 ;
29530 char *kwnames
[] = {
29531 (char *) "self", NULL
29534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29536 if (SWIG_arg_fail(1)) SWIG_fail
;
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29545 wxTreeItemId
* resultptr
;
29546 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29555 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29558 wxTreeItemId result
;
29559 PyObject
* obj0
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 wxTreeItemId
* resultptr
;
29576 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29585 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
;
29587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= result
;
29611 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29614 wxTreeItemId
*arg2
= 0 ;
29615 wxTreeItemId result
;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "item", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail
;
29626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail
;
29628 if (arg2
== NULL
) {
29629 SWIG_null_ref("wxTreeItemId");
29631 if (SWIG_arg_fail(2)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 wxTreeItemId
* resultptr
;
29642 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29651 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29654 wxTreeItemId
*arg2
= 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "item", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail
;
29666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 if (arg2
== NULL
) {
29669 SWIG_null_ref("wxTreeItemId");
29671 if (SWIG_arg_fail(2)) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= result
;
29687 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29690 wxTreeItemId
*arg2
= 0 ;
29691 void *arg3
= (void *) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 PyObject
* obj2
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "item",(char *) "cookie", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail
;
29704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29706 if (arg2
== NULL
) {
29707 SWIG_null_ref("wxTreeItemId");
29709 if (SWIG_arg_fail(2)) SWIG_fail
;
29712 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29713 SWIG_arg_fail(3);SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
;
29730 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29733 wxTreeItemId
*arg2
= 0 ;
29734 wxTreeItemId result
;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self",(char *) "item", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail
;
29745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(2)) SWIG_fail
;
29747 if (arg2
== NULL
) {
29748 SWIG_null_ref("wxTreeItemId");
29750 if (SWIG_arg_fail(2)) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 wxTreeItemId
* resultptr
;
29761 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29770 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
;
29772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29773 wxTreeItemId
*arg2
= 0 ;
29774 wxTreeItemId result
;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self",(char *) "item", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail
;
29785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29786 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 if (arg2
== NULL
) {
29788 SWIG_null_ref("wxTreeItemId");
29790 if (SWIG_arg_fail(2)) SWIG_fail
;
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29796 wxPyEndAllowThreads(__tstate
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29800 wxTreeItemId
* resultptr
;
29801 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29810 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29813 wxTreeItemId
*arg2
= 0 ;
29814 wxTreeItemId result
;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self",(char *) "item", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail
;
29825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29826 if (SWIG_arg_fail(2)) SWIG_fail
;
29827 if (arg2
== NULL
) {
29828 SWIG_null_ref("wxTreeItemId");
29830 if (SWIG_arg_fail(2)) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29840 wxTreeItemId
* resultptr
;
29841 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29850 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29853 wxTreeItemId result
;
29854 PyObject
* obj0
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "self", NULL
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29861 if (SWIG_arg_fail(1)) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 wxTreeItemId
* resultptr
;
29871 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29880 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29883 wxTreeItemId
*arg2
= 0 ;
29884 wxTreeItemId result
;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "item", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail
;
29895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29896 if (SWIG_arg_fail(2)) SWIG_fail
;
29897 if (arg2
== NULL
) {
29898 SWIG_null_ref("wxTreeItemId");
29900 if (SWIG_arg_fail(2)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 wxTreeItemId
* resultptr
;
29911 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29920 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29923 wxTreeItemId
*arg2
= 0 ;
29924 wxTreeItemId result
;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self",(char *) "item", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29933 if (SWIG_arg_fail(1)) SWIG_fail
;
29935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29936 if (SWIG_arg_fail(2)) SWIG_fail
;
29937 if (arg2
== NULL
) {
29938 SWIG_null_ref("wxTreeItemId");
29940 if (SWIG_arg_fail(2)) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29950 wxTreeItemId
* resultptr
;
29951 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29960 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
;
29962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29963 wxString
*arg2
= 0 ;
29964 int arg3
= (int) -1 ;
29965 int arg4
= (int) -1 ;
29966 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29967 wxTreeItemId result
;
29968 bool temp2
= false ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 PyObject
* obj2
= 0 ;
29972 PyObject
* obj3
= 0 ;
29973 PyObject
* obj4
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29980 if (SWIG_arg_fail(1)) SWIG_fail
;
29982 arg2
= wxString_in_helper(obj1
);
29983 if (arg2
== NULL
) SWIG_fail
;
29988 arg3
= (int)(SWIG_As_int(obj2
));
29989 if (SWIG_arg_fail(3)) SWIG_fail
;
29994 arg4
= (int)(SWIG_As_int(obj3
));
29995 if (SWIG_arg_fail(4)) SWIG_fail
;
29999 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(5)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 wxTreeItemId
* resultptr
;
30011 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30028 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30031 wxTreeItemId
*arg2
= 0 ;
30032 wxString
*arg3
= 0 ;
30033 int arg4
= (int) -1 ;
30034 int arg5
= (int) -1 ;
30035 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30036 wxTreeItemId result
;
30037 bool temp3
= false ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 PyObject
* obj3
= 0 ;
30042 PyObject
* obj4
= 0 ;
30043 PyObject
* obj5
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30050 if (SWIG_arg_fail(1)) SWIG_fail
;
30052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(2)) SWIG_fail
;
30054 if (arg2
== NULL
) {
30055 SWIG_null_ref("wxTreeItemId");
30057 if (SWIG_arg_fail(2)) SWIG_fail
;
30060 arg3
= wxString_in_helper(obj2
);
30061 if (arg3
== NULL
) SWIG_fail
;
30066 arg4
= (int)(SWIG_As_int(obj3
));
30067 if (SWIG_arg_fail(4)) SWIG_fail
;
30072 arg5
= (int)(SWIG_As_int(obj4
));
30073 if (SWIG_arg_fail(5)) SWIG_fail
;
30077 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30078 if (SWIG_arg_fail(6)) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30088 wxTreeItemId
* resultptr
;
30089 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30106 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30109 wxTreeItemId
*arg2
= 0 ;
30110 wxTreeItemId
*arg3
= 0 ;
30111 wxString
*arg4
= 0 ;
30112 int arg5
= (int) -1 ;
30113 int arg6
= (int) -1 ;
30114 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30115 wxTreeItemId result
;
30116 bool temp4
= false ;
30117 PyObject
* obj0
= 0 ;
30118 PyObject
* obj1
= 0 ;
30119 PyObject
* obj2
= 0 ;
30120 PyObject
* obj3
= 0 ;
30121 PyObject
* obj4
= 0 ;
30122 PyObject
* obj5
= 0 ;
30123 PyObject
* obj6
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(2)) SWIG_fail
;
30134 if (arg2
== NULL
) {
30135 SWIG_null_ref("wxTreeItemId");
30137 if (SWIG_arg_fail(2)) SWIG_fail
;
30140 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30141 if (SWIG_arg_fail(3)) SWIG_fail
;
30142 if (arg3
== NULL
) {
30143 SWIG_null_ref("wxTreeItemId");
30145 if (SWIG_arg_fail(3)) SWIG_fail
;
30148 arg4
= wxString_in_helper(obj3
);
30149 if (arg4
== NULL
) SWIG_fail
;
30154 arg5
= (int)(SWIG_As_int(obj4
));
30155 if (SWIG_arg_fail(5)) SWIG_fail
;
30160 arg6
= (int)(SWIG_As_int(obj5
));
30161 if (SWIG_arg_fail(6)) SWIG_fail
;
30165 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(7)) SWIG_fail
;
30169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30176 wxTreeItemId
* resultptr
;
30177 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30194 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30197 wxTreeItemId
*arg2
= 0 ;
30199 wxString
*arg4
= 0 ;
30200 int arg5
= (int) -1 ;
30201 int arg6
= (int) -1 ;
30202 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30203 wxTreeItemId result
;
30204 bool temp4
= false ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 PyObject
* obj3
= 0 ;
30209 PyObject
* obj4
= 0 ;
30210 PyObject
* obj5
= 0 ;
30211 PyObject
* obj6
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail
;
30220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30221 if (SWIG_arg_fail(2)) SWIG_fail
;
30222 if (arg2
== NULL
) {
30223 SWIG_null_ref("wxTreeItemId");
30225 if (SWIG_arg_fail(2)) SWIG_fail
;
30228 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30229 if (SWIG_arg_fail(3)) SWIG_fail
;
30232 arg4
= wxString_in_helper(obj3
);
30233 if (arg4
== NULL
) SWIG_fail
;
30238 arg5
= (int)(SWIG_As_int(obj4
));
30239 if (SWIG_arg_fail(5)) SWIG_fail
;
30244 arg6
= (int)(SWIG_As_int(obj5
));
30245 if (SWIG_arg_fail(6)) SWIG_fail
;
30249 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(7)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30260 wxTreeItemId
* resultptr
;
30261 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30278 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30281 wxTreeItemId
*arg2
= 0 ;
30282 wxString
*arg3
= 0 ;
30283 int arg4
= (int) -1 ;
30284 int arg5
= (int) -1 ;
30285 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30286 wxTreeItemId result
;
30287 bool temp3
= false ;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 PyObject
* obj2
= 0 ;
30291 PyObject
* obj3
= 0 ;
30292 PyObject
* obj4
= 0 ;
30293 PyObject
* obj5
= 0 ;
30294 char *kwnames
[] = {
30295 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30300 if (SWIG_arg_fail(1)) SWIG_fail
;
30302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30303 if (SWIG_arg_fail(2)) SWIG_fail
;
30304 if (arg2
== NULL
) {
30305 SWIG_null_ref("wxTreeItemId");
30307 if (SWIG_arg_fail(2)) SWIG_fail
;
30310 arg3
= wxString_in_helper(obj2
);
30311 if (arg3
== NULL
) SWIG_fail
;
30316 arg4
= (int)(SWIG_As_int(obj3
));
30317 if (SWIG_arg_fail(4)) SWIG_fail
;
30322 arg5
= (int)(SWIG_As_int(obj4
));
30323 if (SWIG_arg_fail(5)) SWIG_fail
;
30327 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30328 if (SWIG_arg_fail(6)) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30338 wxTreeItemId
* resultptr
;
30339 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30356 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30359 wxTreeItemId
*arg2
= 0 ;
30360 PyObject
* obj0
= 0 ;
30361 PyObject
* obj1
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "item", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30368 if (SWIG_arg_fail(1)) SWIG_fail
;
30370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30371 if (SWIG_arg_fail(2)) SWIG_fail
;
30372 if (arg2
== NULL
) {
30373 SWIG_null_ref("wxTreeItemId");
30375 if (SWIG_arg_fail(2)) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 Py_INCREF(Py_None
); resultobj
= Py_None
;
30391 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
;
30393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30394 wxTreeItemId
*arg2
= 0 ;
30395 PyObject
* obj0
= 0 ;
30396 PyObject
* obj1
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self",(char *) "item", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30403 if (SWIG_arg_fail(1)) SWIG_fail
;
30405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30406 if (SWIG_arg_fail(2)) SWIG_fail
;
30407 if (arg2
== NULL
) {
30408 SWIG_null_ref("wxTreeItemId");
30410 if (SWIG_arg_fail(2)) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 Py_INCREF(Py_None
); resultobj
= Py_None
;
30426 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
;
30428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30429 PyObject
* obj0
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "self", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail
;
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 (arg1
)->DeleteAllItems();
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 Py_INCREF(Py_None
); resultobj
= Py_None
;
30451 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30454 wxTreeItemId
*arg2
= 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char *kwnames
[] = {
30458 (char *) "self",(char *) "item", NULL
30461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30463 if (SWIG_arg_fail(1)) SWIG_fail
;
30465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30466 if (SWIG_arg_fail(2)) SWIG_fail
;
30467 if (arg2
== NULL
) {
30468 SWIG_null_ref("wxTreeItemId");
30470 if (SWIG_arg_fail(2)) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 Py_INCREF(Py_None
); resultobj
= Py_None
;
30486 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30489 wxTreeItemId
*arg2
= 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "item", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail
;
30500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30501 if (SWIG_arg_fail(2)) SWIG_fail
;
30502 if (arg2
== NULL
) {
30503 SWIG_null_ref("wxTreeItemId");
30505 if (SWIG_arg_fail(2)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30524 wxTreeItemId
*arg2
= 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char *kwnames
[] = {
30528 (char *) "self",(char *) "item", NULL
30531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail
;
30535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail
;
30537 if (arg2
== NULL
) {
30538 SWIG_null_ref("wxTreeItemId");
30540 if (SWIG_arg_fail(2)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 Py_INCREF(Py_None
); resultobj
= Py_None
;
30556 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30559 wxTreeItemId
*arg2
= 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "item", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail
;
30570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail
;
30572 if (arg2
== NULL
) {
30573 SWIG_null_ref("wxTreeItemId");
30575 if (SWIG_arg_fail(2)) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 Py_INCREF(Py_None
); resultobj
= Py_None
;
30591 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
;
30593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30601 if (SWIG_arg_fail(1)) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 (arg1
)->Unselect();
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 Py_INCREF(Py_None
); resultobj
= Py_None
;
30616 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30619 wxTreeItemId
*arg2
= 0 ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 char *kwnames
[] = {
30623 (char *) "self",(char *) "item", NULL
30626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30628 if (SWIG_arg_fail(1)) SWIG_fail
;
30630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30631 if (SWIG_arg_fail(2)) SWIG_fail
;
30632 if (arg2
== NULL
) {
30633 SWIG_null_ref("wxTreeItemId");
30635 if (SWIG_arg_fail(2)) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 Py_INCREF(Py_None
); resultobj
= Py_None
;
30651 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "self", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30661 if (SWIG_arg_fail(1)) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->UnselectAll();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 Py_INCREF(Py_None
); resultobj
= Py_None
;
30676 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30679 wxTreeItemId
*arg2
= 0 ;
30680 bool arg3
= (bool) true ;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 PyObject
* obj2
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "item",(char *) "select", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail
;
30692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30693 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 if (arg2
== NULL
) {
30695 SWIG_null_ref("wxTreeItemId");
30697 if (SWIG_arg_fail(2)) SWIG_fail
;
30701 arg3
= (bool)(SWIG_As_bool(obj2
));
30702 if (SWIG_arg_fail(3)) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 Py_INCREF(Py_None
); resultobj
= Py_None
;
30719 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30722 wxTreeItemId
*arg2
= 0 ;
30723 PyObject
* obj0
= 0 ;
30724 PyObject
* obj1
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "self",(char *) "item", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30731 if (SWIG_arg_fail(1)) SWIG_fail
;
30733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30734 if (SWIG_arg_fail(2)) SWIG_fail
;
30735 if (arg2
== NULL
) {
30736 SWIG_null_ref("wxTreeItemId");
30738 if (SWIG_arg_fail(2)) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 Py_INCREF(Py_None
); resultobj
= Py_None
;
30754 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
;
30756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30757 wxTreeItemId
*arg2
= 0 ;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "self",(char *) "item", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30766 if (SWIG_arg_fail(1)) SWIG_fail
;
30768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(2)) SWIG_fail
;
30770 if (arg2
== NULL
) {
30771 SWIG_null_ref("wxTreeItemId");
30773 if (SWIG_arg_fail(2)) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 Py_INCREF(Py_None
); resultobj
= Py_None
;
30789 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30792 wxTreeItemId
*arg2
= 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "item", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail
;
30803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30804 if (SWIG_arg_fail(2)) SWIG_fail
;
30805 if (arg2
== NULL
) {
30806 SWIG_null_ref("wxTreeItemId");
30808 if (SWIG_arg_fail(2)) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 Py_INCREF(Py_None
); resultobj
= Py_None
;
30824 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30827 wxTreeItemId
*arg2
= 0 ;
30828 PyObject
* obj0
= 0 ;
30829 PyObject
* obj1
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "item", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30836 if (SWIG_arg_fail(1)) SWIG_fail
;
30838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30839 if (SWIG_arg_fail(2)) SWIG_fail
;
30840 if (arg2
== NULL
) {
30841 SWIG_null_ref("wxTreeItemId");
30843 if (SWIG_arg_fail(2)) SWIG_fail
;
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 Py_INCREF(Py_None
); resultobj
= Py_None
;
30859 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
;
30861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30862 wxTextCtrl
*result
;
30863 PyObject
* obj0
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= wxPyMake_wxObject(result
, 0);
30887 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30890 wxTreeItemId
*arg2
= 0 ;
30891 bool arg3
= (bool) false ;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 PyObject
* obj2
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail
;
30903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(2)) SWIG_fail
;
30905 if (arg2
== NULL
) {
30906 SWIG_null_ref("wxTreeItemId");
30908 if (SWIG_arg_fail(2)) SWIG_fail
;
30912 arg3
= (bool)(SWIG_As_bool(obj2
));
30913 if (SWIG_arg_fail(3)) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30933 wxTreeItemId
*arg2
= 0 ;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "item", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(2)) SWIG_fail
;
30946 if (arg2
== NULL
) {
30947 SWIG_null_ref("wxTreeItemId");
30949 if (SWIG_arg_fail(2)) SWIG_fail
;
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 Py_INCREF(Py_None
); resultobj
= Py_None
;
30965 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30968 wxPoint
*arg2
= 0 ;
30970 wxTreeItemId result
;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self",(char *) "point", NULL
30980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail
;
30986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30996 wxTreeItemId
* resultptr
;
30997 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31000 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31001 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31008 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
;
31010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31011 wxTreeItemId
*arg2
= 0 ;
31012 bool arg3
= (bool) false ;
31014 PyObject
* obj0
= 0 ;
31015 PyObject
* obj1
= 0 ;
31016 PyObject
* obj2
= 0 ;
31017 char *kwnames
[] = {
31018 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31023 if (SWIG_arg_fail(1)) SWIG_fail
;
31025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31026 if (SWIG_arg_fail(2)) SWIG_fail
;
31027 if (arg2
== NULL
) {
31028 SWIG_null_ref("wxTreeItemId");
31030 if (SWIG_arg_fail(2)) SWIG_fail
;
31034 arg3
= (bool)(SWIG_As_bool(obj2
));
31035 if (SWIG_arg_fail(3)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= result
;
31052 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31055 wxTreeItemId
*arg2
= 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 PyObject
* obj2
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "node",(char *) "state", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 if (arg2
== NULL
) {
31071 SWIG_null_ref("wxTreeItemId");
31073 if (SWIG_arg_fail(2)) SWIG_fail
;
31076 arg3
= (int)(SWIG_As_int(obj2
));
31077 if (SWIG_arg_fail(3)) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 Py_INCREF(Py_None
); resultobj
= Py_None
;
31093 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31096 wxTreeItemId
*arg2
= 0 ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 char *kwnames
[] = {
31101 (char *) "self",(char *) "node", NULL
31104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail
;
31108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31109 if (SWIG_arg_fail(2)) SWIG_fail
;
31110 if (arg2
== NULL
) {
31111 SWIG_null_ref("wxTreeItemId");
31113 if (SWIG_arg_fail(2)) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31123 resultobj
= SWIG_From_int((int)(result
));
31131 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31134 wxVisualAttributes result
;
31135 PyObject
* obj0
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "variant", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31143 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31144 if (SWIG_arg_fail(1)) SWIG_fail
;
31148 if (!wxPyCheckForApp()) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 wxVisualAttributes
* resultptr
;
31157 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31166 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31169 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31171 return Py_BuildValue((char *)"");
31173 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31174 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31179 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31184 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31186 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31193 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
;
31195 wxWindow
*arg1
= (wxWindow
*) 0 ;
31196 int arg2
= (int) (int)-1 ;
31197 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31203 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31204 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31206 int arg8
= (int) 0 ;
31207 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31208 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31209 wxGenericDirCtrl
*result
;
31210 bool temp3
= false ;
31213 bool temp7
= false ;
31214 bool temp9
= false ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 PyObject
* obj2
= 0 ;
31218 PyObject
* obj3
= 0 ;
31219 PyObject
* obj4
= 0 ;
31220 PyObject
* obj5
= 0 ;
31221 PyObject
* obj6
= 0 ;
31222 PyObject
* obj7
= 0 ;
31223 PyObject
* obj8
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31233 arg2
= (int const)(SWIG_As_int(obj1
));
31234 if (SWIG_arg_fail(2)) SWIG_fail
;
31239 arg3
= wxString_in_helper(obj2
);
31240 if (arg3
== NULL
) SWIG_fail
;
31247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31258 arg6
= (long)(SWIG_As_long(obj5
));
31259 if (SWIG_arg_fail(6)) SWIG_fail
;
31264 arg7
= wxString_in_helper(obj6
);
31265 if (arg7
== NULL
) SWIG_fail
;
31271 arg8
= (int)(SWIG_As_int(obj7
));
31272 if (SWIG_arg_fail(8)) SWIG_fail
;
31277 arg9
= wxString_in_helper(obj8
);
31278 if (arg9
== NULL
) SWIG_fail
;
31283 if (!wxPyCheckForApp()) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31321 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
;
31323 wxGenericDirCtrl
*result
;
31324 char *kwnames
[] = {
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31330 if (!wxPyCheckForApp()) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31344 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
;
31346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31347 wxWindow
*arg2
= (wxWindow
*) 0 ;
31348 int arg3
= (int) (int)-1 ;
31349 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31350 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31351 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31352 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31353 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31354 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31355 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31356 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31358 int arg9
= (int) 0 ;
31359 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31360 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31362 bool temp4
= false ;
31365 bool temp8
= false ;
31366 bool temp10
= false ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 PyObject
* obj2
= 0 ;
31370 PyObject
* obj3
= 0 ;
31371 PyObject
* obj4
= 0 ;
31372 PyObject
* obj5
= 0 ;
31373 PyObject
* obj6
= 0 ;
31374 PyObject
* obj7
= 0 ;
31375 PyObject
* obj8
= 0 ;
31376 PyObject
* obj9
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31383 if (SWIG_arg_fail(1)) SWIG_fail
;
31384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31385 if (SWIG_arg_fail(2)) SWIG_fail
;
31388 arg3
= (int const)(SWIG_As_int(obj2
));
31389 if (SWIG_arg_fail(3)) SWIG_fail
;
31394 arg4
= wxString_in_helper(obj3
);
31395 if (arg4
== NULL
) SWIG_fail
;
31402 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31408 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31413 arg7
= (long)(SWIG_As_long(obj6
));
31414 if (SWIG_arg_fail(7)) SWIG_fail
;
31419 arg8
= wxString_in_helper(obj7
);
31420 if (arg8
== NULL
) SWIG_fail
;
31426 arg9
= (int)(SWIG_As_int(obj8
));
31427 if (SWIG_arg_fail(9)) SWIG_fail
;
31432 arg10
= wxString_in_helper(obj9
);
31433 if (arg10
== NULL
) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31477 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31480 wxString
*arg2
= 0 ;
31482 bool temp2
= false ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self",(char *) "path", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31491 if (SWIG_arg_fail(1)) SWIG_fail
;
31493 arg2
= wxString_in_helper(obj1
);
31494 if (arg2
== NULL
) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31553 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31556 wxString
*arg2
= 0 ;
31557 bool temp2
= false ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self",(char *) "path", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 arg2
= wxString_in_helper(obj1
);
31569 if (arg2
== NULL
) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 Py_INCREF(Py_None
); resultobj
= Py_None
;
31594 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
;
31596 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31598 PyObject
* obj0
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31605 if (SWIG_arg_fail(1)) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31626 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31658 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
;
31660 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31661 wxString
*arg2
= 0 ;
31662 bool temp2
= false ;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 char *kwnames
[] = {
31666 (char *) "self",(char *) "path", NULL
31669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail
;
31673 arg2
= wxString_in_helper(obj1
);
31674 if (arg2
== NULL
) SWIG_fail
;
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 (arg1
)->SetPath((wxString
const &)*arg2
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 Py_INCREF(Py_None
); resultobj
= Py_None
;
31699 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "self",(char *) "show", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31711 if (SWIG_arg_fail(1)) SWIG_fail
;
31713 arg2
= (bool)(SWIG_As_bool(obj1
));
31714 if (SWIG_arg_fail(2)) SWIG_fail
;
31717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31718 (arg1
)->ShowHidden(arg2
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 Py_INCREF(Py_None
); resultobj
= Py_None
;
31730 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31734 PyObject
* obj0
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31741 if (SWIG_arg_fail(1)) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (bool)(arg1
)->GetShowHidden();
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31758 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
;
31760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31762 PyObject
* obj0
= 0 ;
31763 char *kwnames
[] = {
31764 (char *) "self", NULL
31767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31769 if (SWIG_arg_fail(1)) SWIG_fail
;
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31790 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31793 wxString
*arg2
= 0 ;
31794 bool temp2
= false ;
31795 PyObject
* obj0
= 0 ;
31796 PyObject
* obj1
= 0 ;
31797 char *kwnames
[] = {
31798 (char *) "self",(char *) "filter", NULL
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail
;
31805 arg2
= wxString_in_helper(obj1
);
31806 if (arg2
== NULL
) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 (arg1
)->SetFilter((wxString
const &)*arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 Py_INCREF(Py_None
); resultobj
= Py_None
;
31831 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
;
31833 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31835 PyObject
* obj0
= 0 ;
31836 char *kwnames
[] = {
31837 (char *) "self", NULL
31840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31842 if (SWIG_arg_fail(1)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_From_int((int)(result
));
31859 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31863 PyObject
* obj0
= 0 ;
31864 PyObject
* obj1
= 0 ;
31865 char *kwnames
[] = {
31866 (char *) "self",(char *) "n", NULL
31869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail
;
31873 arg2
= (int)(SWIG_As_int(obj1
));
31874 if (SWIG_arg_fail(2)) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 (arg1
)->SetFilterIndex(arg2
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 Py_INCREF(Py_None
); resultobj
= Py_None
;
31890 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31893 wxTreeItemId result
;
31894 PyObject
* obj0
= 0 ;
31895 char *kwnames
[] = {
31896 (char *) "self", NULL
31899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31901 if (SWIG_arg_fail(1)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (arg1
)->GetRootId();
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31910 wxTreeItemId
* resultptr
;
31911 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31920 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31923 wxPyTreeCtrl
*result
;
31924 PyObject
* obj0
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31931 if (SWIG_arg_fail(1)) SWIG_fail
;
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= wxPyMake_wxObject(result
, 0);
31948 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31951 wxDirFilterListCtrl
*result
;
31952 PyObject
* obj0
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31959 if (SWIG_arg_fail(1)) SWIG_fail
;
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31974 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31977 wxTreeItemId arg2
;
31978 wxString
*arg3
= 0 ;
31980 wxTreeItemId result
;
31981 bool temp3
= false ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 PyObject
* obj2
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self",(char *) "parentId",(char *) "path", NULL
31991 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31994 if (SWIG_arg_fail(1)) SWIG_fail
;
31996 wxTreeItemId
* argp
;
31997 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31998 if (SWIG_arg_fail(2)) SWIG_fail
;
31999 if (argp
== NULL
) {
32000 SWIG_null_ref("wxTreeItemId");
32002 if (SWIG_arg_fail(2)) SWIG_fail
;
32006 arg3
= wxString_in_helper(obj2
);
32007 if (arg3
== NULL
) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32018 wxTreeItemId
* resultptr
;
32019 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32022 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32023 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32038 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32041 PyObject
* obj0
= 0 ;
32042 char *kwnames
[] = {
32043 (char *) "self", NULL
32046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32048 if (SWIG_arg_fail(1)) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->DoResize();
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 Py_INCREF(Py_None
); resultobj
= Py_None
;
32063 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32073 if (SWIG_arg_fail(1)) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 (arg1
)->ReCreateTree();
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 Py_INCREF(Py_None
); resultobj
= Py_None
;
32088 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32091 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32093 return Py_BuildValue((char *)"");
32095 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
;
32097 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32098 int arg2
= (int) (int)-1 ;
32099 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32100 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32101 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32102 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32103 long arg5
= (long) 0 ;
32104 wxDirFilterListCtrl
*result
;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 PyObject
* obj2
= 0 ;
32110 PyObject
* obj3
= 0 ;
32111 PyObject
* obj4
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail
;
32121 arg2
= (int const)(SWIG_As_int(obj1
));
32122 if (SWIG_arg_fail(2)) SWIG_fail
;
32128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32139 arg5
= (long)(SWIG_As_long(obj4
));
32140 if (SWIG_arg_fail(5)) SWIG_fail
;
32144 if (!wxPyCheckForApp()) SWIG_fail
;
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32158 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
;
32160 wxDirFilterListCtrl
*result
;
32161 char *kwnames
[] = {
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32167 if (!wxPyCheckForApp()) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32181 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32184 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32185 int arg3
= (int) (int)-1 ;
32186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32190 long arg6
= (long) 0 ;
32194 PyObject
* obj0
= 0 ;
32195 PyObject
* obj1
= 0 ;
32196 PyObject
* obj2
= 0 ;
32197 PyObject
* obj3
= 0 ;
32198 PyObject
* obj4
= 0 ;
32199 PyObject
* obj5
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail
;
32207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32208 if (SWIG_arg_fail(2)) SWIG_fail
;
32211 arg3
= (int const)(SWIG_As_int(obj2
));
32212 if (SWIG_arg_fail(3)) SWIG_fail
;
32218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32229 arg6
= (long)(SWIG_As_long(obj5
));
32230 if (SWIG_arg_fail(6)) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32249 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
;
32251 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32252 wxString
*arg2
= 0 ;
32254 bool temp2
= false ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 PyObject
* obj2
= 0 ;
32258 char *kwnames
[] = {
32259 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32264 if (SWIG_arg_fail(1)) SWIG_fail
;
32266 arg2
= wxString_in_helper(obj1
);
32267 if (arg2
== NULL
) SWIG_fail
;
32271 arg3
= (int)(SWIG_As_int(obj2
));
32272 if (SWIG_arg_fail(3)) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32281 Py_INCREF(Py_None
); resultobj
= Py_None
;
32296 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32299 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32301 return Py_BuildValue((char *)"");
32303 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
;
32305 wxWindow
*arg1
= (wxWindow
*) 0 ;
32306 int arg2
= (int) (int)-1 ;
32307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32311 long arg5
= (long) 0 ;
32312 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32313 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32314 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32316 wxPyControl
*result
;
32319 bool temp7
= false ;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 PyObject
* obj2
= 0 ;
32323 PyObject
* obj3
= 0 ;
32324 PyObject
* obj4
= 0 ;
32325 PyObject
* obj5
= 0 ;
32326 PyObject
* obj6
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail
;
32336 arg2
= (int const)(SWIG_As_int(obj1
));
32337 if (SWIG_arg_fail(2)) SWIG_fail
;
32343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32354 arg5
= (long)(SWIG_As_long(obj4
));
32355 if (SWIG_arg_fail(5)) SWIG_fail
;
32360 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32361 if (SWIG_arg_fail(6)) SWIG_fail
;
32362 if (arg6
== NULL
) {
32363 SWIG_null_ref("wxValidator");
32365 if (SWIG_arg_fail(6)) SWIG_fail
;
32370 arg7
= wxString_in_helper(obj6
);
32371 if (arg7
== NULL
) SWIG_fail
;
32376 if (!wxPyCheckForApp()) SWIG_fail
;
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32398 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxPyControl
*result
;
32401 char *kwnames
[] = {
32405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32407 if (!wxPyCheckForApp()) SWIG_fail
;
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 result
= (wxPyControl
*)new wxPyControl();
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32421 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32424 PyObject
*arg2
= (PyObject
*) 0 ;
32425 PyObject
*arg3
= (PyObject
*) 0 ;
32426 PyObject
* obj0
= 0 ;
32427 PyObject
* obj1
= 0 ;
32428 PyObject
* obj2
= 0 ;
32429 char *kwnames
[] = {
32430 (char *) "self",(char *) "self",(char *) "_class", NULL
32433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32435 if (SWIG_arg_fail(1)) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 Py_INCREF(Py_None
); resultobj
= Py_None
;
32452 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32457 PyObject
* obj0
= 0 ;
32458 PyObject
* obj1
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self",(char *) "size", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail
;
32468 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 Py_INCREF(Py_None
); resultobj
= Py_None
;
32484 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
;
32486 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32487 wxDC
*arg2
= (wxDC
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 PyObject
* obj1
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self",(char *) "dc", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32497 if (SWIG_arg_fail(1)) SWIG_fail
;
32498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32499 if (SWIG_arg_fail(2)) SWIG_fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32516 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32517 PyObject
*resultobj
;
32518 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 PyObject
* obj2
= 0 ;
32526 PyObject
* obj3
= 0 ;
32527 PyObject
* obj4
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32534 if (SWIG_arg_fail(1)) SWIG_fail
;
32536 arg2
= (int)(SWIG_As_int(obj1
));
32537 if (SWIG_arg_fail(2)) SWIG_fail
;
32540 arg3
= (int)(SWIG_As_int(obj2
));
32541 if (SWIG_arg_fail(3)) SWIG_fail
;
32544 arg4
= (int)(SWIG_As_int(obj3
));
32545 if (SWIG_arg_fail(4)) SWIG_fail
;
32548 arg5
= (int)(SWIG_As_int(obj4
));
32549 if (SWIG_arg_fail(5)) SWIG_fail
;
32552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32553 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32558 Py_INCREF(Py_None
); resultobj
= Py_None
;
32565 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
;
32567 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32572 int arg6
= (int) wxSIZE_AUTO
;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 PyObject
* obj2
= 0 ;
32576 PyObject
* obj3
= 0 ;
32577 PyObject
* obj4
= 0 ;
32578 PyObject
* obj5
= 0 ;
32579 char *kwnames
[] = {
32580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32585 if (SWIG_arg_fail(1)) SWIG_fail
;
32587 arg2
= (int)(SWIG_As_int(obj1
));
32588 if (SWIG_arg_fail(2)) SWIG_fail
;
32591 arg3
= (int)(SWIG_As_int(obj2
));
32592 if (SWIG_arg_fail(3)) SWIG_fail
;
32595 arg4
= (int)(SWIG_As_int(obj3
));
32596 if (SWIG_arg_fail(4)) SWIG_fail
;
32599 arg5
= (int)(SWIG_As_int(obj4
));
32600 if (SWIG_arg_fail(5)) SWIG_fail
;
32604 arg6
= (int)(SWIG_As_int(obj5
));
32605 if (SWIG_arg_fail(6)) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 Py_INCREF(Py_None
); resultobj
= Py_None
;
32622 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
;
32624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 PyObject
* obj2
= 0 ;
32630 char *kwnames
[] = {
32631 (char *) "self",(char *) "width",(char *) "height", NULL
32634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail
;
32638 arg2
= (int)(SWIG_As_int(obj1
));
32639 if (SWIG_arg_fail(2)) SWIG_fail
;
32642 arg3
= (int)(SWIG_As_int(obj2
));
32643 if (SWIG_arg_fail(3)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32652 Py_INCREF(Py_None
); resultobj
= Py_None
;
32659 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32660 PyObject
*resultobj
;
32661 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 PyObject
* obj1
= 0 ;
32666 PyObject
* obj2
= 0 ;
32667 char *kwnames
[] = {
32668 (char *) "self",(char *) "x",(char *) "y", NULL
32671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32673 if (SWIG_arg_fail(1)) SWIG_fail
;
32675 arg2
= (int)(SWIG_As_int(obj1
));
32676 if (SWIG_arg_fail(2)) SWIG_fail
;
32679 arg3
= (int)(SWIG_As_int(obj2
));
32680 if (SWIG_arg_fail(3)) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 Py_INCREF(Py_None
); resultobj
= Py_None
;
32696 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32697 PyObject
*resultobj
;
32698 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32699 int *arg2
= (int *) 0 ;
32700 int *arg3
= (int *) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self", NULL
32710 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32711 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32714 if (SWIG_arg_fail(1)) SWIG_fail
;
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32722 Py_INCREF(Py_None
); resultobj
= Py_None
;
32723 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32724 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32725 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32726 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32733 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32736 int *arg2
= (int *) 0 ;
32737 int *arg3
= (int *) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 char *kwnames
[] = {
32744 (char *) "self", NULL
32747 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32748 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32759 Py_INCREF(Py_None
); resultobj
= Py_None
;
32760 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32761 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32762 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32763 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32770 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32771 PyObject
*resultobj
;
32772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32773 int *arg2
= (int *) 0 ;
32774 int *arg3
= (int *) 0 ;
32779 PyObject
* obj0
= 0 ;
32780 char *kwnames
[] = {
32781 (char *) "self", NULL
32784 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32785 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32788 if (SWIG_arg_fail(1)) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 Py_INCREF(Py_None
); resultobj
= Py_None
;
32797 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32798 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32799 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32800 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32807 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
;
32809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32811 PyObject
* obj0
= 0 ;
32812 char *kwnames
[] = {
32813 (char *) "self", NULL
32816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32818 if (SWIG_arg_fail(1)) SWIG_fail
;
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32827 wxSize
* resultptr
;
32828 resultptr
= new wxSize((wxSize
&)(result
));
32829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32837 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32838 PyObject
*resultobj
;
32839 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32841 PyObject
* obj0
= 0 ;
32842 char *kwnames
[] = {
32843 (char *) "self", NULL
32846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32848 if (SWIG_arg_fail(1)) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32857 wxSize
* resultptr
;
32858 resultptr
= new wxSize((wxSize
&)(result
));
32859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32867 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
;
32869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32870 PyObject
* obj0
= 0 ;
32871 char *kwnames
[] = {
32872 (char *) "self", NULL
32875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32877 if (SWIG_arg_fail(1)) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 (arg1
)->base_InitDialog();
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 Py_INCREF(Py_None
); resultobj
= Py_None
;
32892 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32896 PyObject
* obj0
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32903 if (SWIG_arg_fail(1)) SWIG_fail
;
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 result
= (bool)(arg1
)->base_TransferDataToWindow();
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32920 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32921 PyObject
*resultobj
;
32922 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_TransferDataFromWindow",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 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32948 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32949 PyObject
*resultobj
;
32950 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32952 PyObject
* obj0
= 0 ;
32953 char *kwnames
[] = {
32954 (char *) "self", NULL
32957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (bool)(arg1
)->base_Validate();
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32976 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
;
32978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32980 PyObject
* obj0
= 0 ;
32981 char *kwnames
[] = {
32982 (char *) "self", NULL
32985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32987 if (SWIG_arg_fail(1)) SWIG_fail
;
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33004 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33008 PyObject
* obj0
= 0 ;
33009 char *kwnames
[] = {
33010 (char *) "self", NULL
33013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33015 if (SWIG_arg_fail(1)) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33032 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
;
33034 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33036 PyObject
* obj0
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail
;
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33052 wxSize
* resultptr
;
33053 resultptr
= new wxSize((wxSize
&)(result
));
33054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33062 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33065 wxWindow
*arg2
= (wxWindow
*) 0 ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 char *kwnames
[] = {
33069 (char *) "self",(char *) "child", NULL
33072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail
;
33075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33076 if (SWIG_arg_fail(2)) SWIG_fail
;
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 (arg1
)->base_AddChild(arg2
);
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33084 Py_INCREF(Py_None
); resultobj
= Py_None
;
33091 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
;
33093 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33094 wxWindow
*arg2
= (wxWindow
*) 0 ;
33095 PyObject
* obj0
= 0 ;
33096 PyObject
* obj1
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self",(char *) "child", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail
;
33104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33105 if (SWIG_arg_fail(2)) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 (arg1
)->base_RemoveChild(arg2
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 Py_INCREF(Py_None
); resultobj
= Py_None
;
33120 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
;
33122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33124 PyObject
* obj0
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33148 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
;
33150 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33151 wxVisualAttributes result
;
33152 PyObject
* obj0
= 0 ;
33153 char *kwnames
[] = {
33154 (char *) "self", NULL
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail
;
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= (arg1
)->base_GetDefaultAttributes();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33168 wxVisualAttributes
* resultptr
;
33169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33178 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33181 PyObject
* obj0
= 0 ;
33182 char *kwnames
[] = {
33183 (char *) "self", NULL
33186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
33187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->base_OnInternalIdle();
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 Py_INCREF(Py_None
); resultobj
= Py_None
;
33203 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33206 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33208 return Py_BuildValue((char *)"");
33210 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
;
33212 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33213 int arg2
= (int) 0 ;
33214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33216 wxHelpEvent
*result
;
33218 PyObject
* obj0
= 0 ;
33219 PyObject
* obj1
= 0 ;
33220 PyObject
* obj2
= 0 ;
33221 char *kwnames
[] = {
33222 (char *) "type",(char *) "winid",(char *) "pt", NULL
33225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33228 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33229 if (SWIG_arg_fail(1)) SWIG_fail
;
33234 arg2
= (int)(SWIG_As_int(obj1
));
33235 if (SWIG_arg_fail(2)) SWIG_fail
;
33241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33258 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
;
33260 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33262 PyObject
* obj0
= 0 ;
33263 char *kwnames
[] = {
33264 (char *) "self", NULL
33267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33269 if (SWIG_arg_fail(1)) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33278 wxPoint
* resultptr
;
33279 resultptr
= new wxPoint((wxPoint
const &)(result
));
33280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33288 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33289 PyObject
*resultobj
;
33290 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33291 wxPoint
*arg2
= 0 ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self",(char *) "pos", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail
;
33304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33313 Py_INCREF(Py_None
); resultobj
= Py_None
;
33320 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
;
33322 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33324 PyObject
* obj0
= 0 ;
33325 char *kwnames
[] = {
33326 (char *) "self", NULL
33329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33331 if (SWIG_arg_fail(1)) SWIG_fail
;
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33335 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33336 result
= (wxString
*) &_result_ref
;
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33344 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33346 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33355 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
;
33357 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33358 wxString
*arg2
= 0 ;
33359 bool temp2
= false ;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 char *kwnames
[] = {
33363 (char *) "self",(char *) "link", NULL
33366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33368 if (SWIG_arg_fail(1)) SWIG_fail
;
33370 arg2
= wxString_in_helper(obj1
);
33371 if (arg2
== NULL
) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 (arg1
)->SetLink((wxString
const &)*arg2
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33381 Py_INCREF(Py_None
); resultobj
= Py_None
;
33396 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33397 PyObject
*resultobj
;
33398 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33400 PyObject
* obj0
= 0 ;
33401 char *kwnames
[] = {
33402 (char *) "self", NULL
33405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33407 if (SWIG_arg_fail(1)) SWIG_fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33412 result
= (wxString
*) &_result_ref
;
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33422 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33431 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
;
33433 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33434 wxString
*arg2
= 0 ;
33435 bool temp2
= false ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 char *kwnames
[] = {
33439 (char *) "self",(char *) "target", NULL
33442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33444 if (SWIG_arg_fail(1)) SWIG_fail
;
33446 arg2
= wxString_in_helper(obj1
);
33447 if (arg2
== NULL
) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 (arg1
)->SetTarget((wxString
const &)*arg2
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 Py_INCREF(Py_None
); resultobj
= Py_None
;
33472 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33475 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33477 return Py_BuildValue((char *)"");
33479 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
;
33481 wxWindow
*arg1
= (wxWindow
*) NULL
;
33482 bool arg2
= (bool) true ;
33483 wxContextHelp
*result
;
33484 PyObject
* obj0
= 0 ;
33485 PyObject
* obj1
= 0 ;
33486 char *kwnames
[] = {
33487 (char *) "window",(char *) "doNow", NULL
33490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33493 if (SWIG_arg_fail(1)) SWIG_fail
;
33497 arg2
= (bool)(SWIG_As_bool(obj1
));
33498 if (SWIG_arg_fail(2)) SWIG_fail
;
33502 if (!wxPyCheckForApp()) SWIG_fail
;
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33516 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
;
33518 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33519 PyObject
* obj0
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33526 if (SWIG_arg_fail(1)) SWIG_fail
;
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33534 Py_INCREF(Py_None
); resultobj
= Py_None
;
33541 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
;
33543 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33544 wxWindow
*arg2
= (wxWindow
*) NULL
;
33546 PyObject
* obj0
= 0 ;
33547 PyObject
* obj1
= 0 ;
33548 char *kwnames
[] = {
33549 (char *) "self",(char *) "window", NULL
33552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail
;
33556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33557 if (SWIG_arg_fail(2)) SWIG_fail
;
33560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33561 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33575 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
;
33577 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33579 PyObject
* obj0
= 0 ;
33580 char *kwnames
[] = {
33581 (char *) "self", NULL
33584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33586 if (SWIG_arg_fail(1)) SWIG_fail
;
33588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 result
= (bool)(arg1
)->EndContextHelp();
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33603 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33606 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33608 return Py_BuildValue((char *)"");
33610 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
;
33612 wxWindow
*arg1
= (wxWindow
*) 0 ;
33613 int arg2
= (int) wxID_CONTEXT_HELP
;
33614 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33615 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33616 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33617 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33618 long arg5
= (long) wxBU_AUTODRAW
;
33619 wxContextHelpButton
*result
;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 PyObject
* obj2
= 0 ;
33625 PyObject
* obj3
= 0 ;
33626 PyObject
* obj4
= 0 ;
33627 char *kwnames
[] = {
33628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33633 if (SWIG_arg_fail(1)) SWIG_fail
;
33636 arg2
= (int)(SWIG_As_int(obj1
));
33637 if (SWIG_arg_fail(2)) SWIG_fail
;
33643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33649 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33654 arg5
= (long)(SWIG_As_long(obj4
));
33655 if (SWIG_arg_fail(5)) SWIG_fail
;
33659 if (!wxPyCheckForApp()) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33673 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33676 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33678 return Py_BuildValue((char *)"");
33680 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
;
33682 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33683 wxHelpProvider
*result
;
33684 PyObject
* obj0
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "helpProvider", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33706 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33707 PyObject
*resultobj
;
33708 wxHelpProvider
*result
;
33709 char *kwnames
[] = {
33713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33716 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33728 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
;
33730 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33731 wxWindow
*arg2
= (wxWindow
*) 0 ;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 char *kwnames
[] = {
33736 (char *) "self",(char *) "window", NULL
33739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33741 if (SWIG_arg_fail(1)) SWIG_fail
;
33742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33743 if (SWIG_arg_fail(2)) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33764 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
;
33766 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33767 wxWindow
*arg2
= (wxWindow
*) 0 ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 char *kwnames
[] = {
33772 (char *) "self",(char *) "window", NULL
33775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail
;
33778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33779 if (SWIG_arg_fail(2)) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (bool)(arg1
)->ShowHelp(arg2
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33796 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33797 PyObject
*resultobj
;
33798 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33799 wxWindow
*arg2
= (wxWindow
*) 0 ;
33800 wxString
*arg3
= 0 ;
33801 bool temp3
= false ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 PyObject
* obj2
= 0 ;
33805 char *kwnames
[] = {
33806 (char *) "self",(char *) "window",(char *) "text", NULL
33809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33811 if (SWIG_arg_fail(1)) SWIG_fail
;
33812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33813 if (SWIG_arg_fail(2)) SWIG_fail
;
33815 arg3
= wxString_in_helper(obj2
);
33816 if (arg3
== NULL
) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33841 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
;
33843 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33845 wxString
*arg3
= 0 ;
33846 bool temp3
= false ;
33847 PyObject
* obj0
= 0 ;
33848 PyObject
* obj1
= 0 ;
33849 PyObject
* obj2
= 0 ;
33850 char *kwnames
[] = {
33851 (char *) "self",(char *) "id",(char *) "text", NULL
33854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33856 if (SWIG_arg_fail(1)) SWIG_fail
;
33858 arg2
= (int)(SWIG_As_int(obj1
));
33859 if (SWIG_arg_fail(2)) SWIG_fail
;
33862 arg3
= wxString_in_helper(obj2
);
33863 if (arg3
== NULL
) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 Py_INCREF(Py_None
); resultobj
= Py_None
;
33888 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33891 wxWindow
*arg2
= (wxWindow
*) 0 ;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "self",(char *) "window", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33900 if (SWIG_arg_fail(1)) SWIG_fail
;
33901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(2)) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 (arg1
)->RemoveHelp(arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 Py_INCREF(Py_None
); resultobj
= Py_None
;
33917 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33918 PyObject
*resultobj
;
33919 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33920 PyObject
* obj0
= 0 ;
33921 char *kwnames
[] = {
33922 (char *) "self", NULL
33925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 wxHelpProvider_Destroy(arg1
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 Py_INCREF(Py_None
); resultobj
= Py_None
;
33942 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33945 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33947 return Py_BuildValue((char *)"");
33949 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxSimpleHelpProvider
*result
;
33952 char *kwnames
[] = {
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33959 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33971 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33974 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33976 return Py_BuildValue((char *)"");
33978 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxBitmap
*arg1
= 0 ;
33981 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33982 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33983 wxGenericDragImage
*result
;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "image",(char *) "cursor", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33993 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 if (arg1
== NULL
) {
33995 SWIG_null_ref("wxBitmap");
33997 if (SWIG_arg_fail(1)) SWIG_fail
;
34001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34002 if (SWIG_arg_fail(2)) SWIG_fail
;
34003 if (arg2
== NULL
) {
34004 SWIG_null_ref("wxCursor");
34006 if (SWIG_arg_fail(2)) SWIG_fail
;
34010 if (!wxPyCheckForApp()) SWIG_fail
;
34011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34024 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
;
34027 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34028 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34029 wxGenericDragImage
*result
;
34030 PyObject
* obj0
= 0 ;
34031 PyObject
* obj1
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "image",(char *) "cursor", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34039 if (SWIG_arg_fail(1)) SWIG_fail
;
34040 if (arg1
== NULL
) {
34041 SWIG_null_ref("wxIcon");
34043 if (SWIG_arg_fail(1)) SWIG_fail
;
34047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34048 if (SWIG_arg_fail(2)) SWIG_fail
;
34049 if (arg2
== NULL
) {
34050 SWIG_null_ref("wxCursor");
34052 if (SWIG_arg_fail(2)) SWIG_fail
;
34056 if (!wxPyCheckForApp()) SWIG_fail
;
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34070 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
;
34072 wxString
*arg1
= 0 ;
34073 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34074 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34075 wxGenericDragImage
*result
;
34076 bool temp1
= false ;
34077 PyObject
* obj0
= 0 ;
34078 PyObject
* obj1
= 0 ;
34079 char *kwnames
[] = {
34080 (char *) "str",(char *) "cursor", NULL
34083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34085 arg1
= wxString_in_helper(obj0
);
34086 if (arg1
== NULL
) SWIG_fail
;
34091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34092 if (SWIG_arg_fail(2)) SWIG_fail
;
34093 if (arg2
== NULL
) {
34094 SWIG_null_ref("wxCursor");
34096 if (SWIG_arg_fail(2)) SWIG_fail
;
34100 if (!wxPyCheckForApp()) SWIG_fail
;
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34122 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34123 PyObject
*resultobj
;
34124 wxPyTreeCtrl
*arg1
= 0 ;
34125 wxTreeItemId
*arg2
= 0 ;
34126 wxGenericDragImage
*result
;
34127 PyObject
* obj0
= 0 ;
34128 PyObject
* obj1
= 0 ;
34129 char *kwnames
[] = {
34130 (char *) "treeCtrl",(char *) "id", NULL
34133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34136 if (SWIG_arg_fail(1)) SWIG_fail
;
34137 if (arg1
== NULL
) {
34138 SWIG_null_ref("wxPyTreeCtrl");
34140 if (SWIG_arg_fail(1)) SWIG_fail
;
34143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34144 if (SWIG_arg_fail(2)) SWIG_fail
;
34145 if (arg2
== NULL
) {
34146 SWIG_null_ref("wxTreeItemId");
34148 if (SWIG_arg_fail(2)) SWIG_fail
;
34151 if (!wxPyCheckForApp()) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34165 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxPyListCtrl
*arg1
= 0 ;
34169 wxGenericDragImage
*result
;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "listCtrl",(char *) "id", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34179 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 if (arg1
== NULL
) {
34181 SWIG_null_ref("wxPyListCtrl");
34183 if (SWIG_arg_fail(1)) SWIG_fail
;
34186 arg2
= (long)(SWIG_As_long(obj1
));
34187 if (SWIG_arg_fail(2)) SWIG_fail
;
34190 if (!wxPyCheckForApp()) SWIG_fail
;
34191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34192 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34194 wxPyEndAllowThreads(__tstate
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34204 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
;
34206 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34207 PyObject
* obj0
= 0 ;
34208 char *kwnames
[] = {
34209 (char *) "self", NULL
34212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34214 if (SWIG_arg_fail(1)) SWIG_fail
;
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34222 Py_INCREF(Py_None
); resultobj
= Py_None
;
34229 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34232 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34233 PyObject
* obj0
= 0 ;
34234 PyObject
* obj1
= 0 ;
34235 char *kwnames
[] = {
34236 (char *) "self",(char *) "bitmap", NULL
34239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34241 if (SWIG_arg_fail(1)) SWIG_fail
;
34242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34243 if (SWIG_arg_fail(2)) SWIG_fail
;
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 (arg1
)->SetBackingBitmap(arg2
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 Py_INCREF(Py_None
); resultobj
= Py_None
;
34258 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
;
34260 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34261 wxPoint
*arg2
= 0 ;
34262 wxWindow
*arg3
= (wxWindow
*) 0 ;
34263 bool arg4
= (bool) false ;
34264 wxRect
*arg5
= (wxRect
*) NULL
;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 PyObject
* obj2
= 0 ;
34270 PyObject
* obj3
= 0 ;
34271 PyObject
* obj4
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail
;
34281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34283 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34284 if (SWIG_arg_fail(3)) SWIG_fail
;
34287 arg4
= (bool)(SWIG_As_bool(obj3
));
34288 if (SWIG_arg_fail(4)) SWIG_fail
;
34292 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34293 if (SWIG_arg_fail(5)) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34311 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
;
34313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34314 wxPoint
*arg2
= 0 ;
34315 wxWindow
*arg3
= (wxWindow
*) 0 ;
34316 wxWindow
*arg4
= (wxWindow
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 PyObject
* obj2
= 0 ;
34322 PyObject
* obj3
= 0 ;
34323 char *kwnames
[] = {
34324 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34329 if (SWIG_arg_fail(1)) SWIG_fail
;
34332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34334 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34335 if (SWIG_arg_fail(3)) SWIG_fail
;
34336 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34337 if (SWIG_arg_fail(4)) SWIG_fail
;
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34354 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 char *kwnames
[] = {
34360 (char *) "self", NULL
34363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34365 if (SWIG_arg_fail(1)) SWIG_fail
;
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34368 result
= (bool)(arg1
)->EndDrag();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34382 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
;
34384 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34385 wxPoint
*arg2
= 0 ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self",(char *) "pt", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail
;
34399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34405 wxPyEndAllowThreads(__tstate
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34417 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
;
34419 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34421 PyObject
* obj0
= 0 ;
34422 char *kwnames
[] = {
34423 (char *) "self", NULL
34426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34428 if (SWIG_arg_fail(1)) SWIG_fail
;
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (bool)(arg1
)->Show();
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34445 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
;
34447 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 char *kwnames
[] = {
34451 (char *) "self", NULL
34454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34456 if (SWIG_arg_fail(1)) SWIG_fail
;
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 result
= (bool)(arg1
)->Hide();
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34473 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
;
34475 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34476 wxPoint
*arg2
= 0 ;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self",(char *) "pos", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail
;
34490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34500 wxRect
* resultptr
;
34501 resultptr
= new wxRect((wxRect
&)(result
));
34502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34510 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
;
34512 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34514 wxPoint
*arg3
= 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self",(char *) "dc",(char *) "pos", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34526 if (SWIG_arg_fail(1)) SWIG_fail
;
34528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34529 if (SWIG_arg_fail(2)) SWIG_fail
;
34530 if (arg2
== NULL
) {
34531 SWIG_null_ref("wxDC");
34533 if (SWIG_arg_fail(2)) SWIG_fail
;
34537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34555 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34559 wxMemoryDC
*arg3
= 0 ;
34565 PyObject
* obj0
= 0 ;
34566 PyObject
* obj1
= 0 ;
34567 PyObject
* obj2
= 0 ;
34568 PyObject
* obj3
= 0 ;
34569 PyObject
* obj4
= 0 ;
34570 char *kwnames
[] = {
34571 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34576 if (SWIG_arg_fail(1)) SWIG_fail
;
34578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34579 if (SWIG_arg_fail(2)) SWIG_fail
;
34580 if (arg2
== NULL
) {
34581 SWIG_null_ref("wxDC");
34583 if (SWIG_arg_fail(2)) SWIG_fail
;
34586 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(3)) SWIG_fail
;
34588 if (arg3
== NULL
) {
34589 SWIG_null_ref("wxMemoryDC");
34591 if (SWIG_arg_fail(3)) SWIG_fail
;
34595 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34599 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34617 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34618 PyObject
*resultobj
;
34619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34620 wxPoint
*arg2
= 0 ;
34621 wxPoint
*arg3
= 0 ;
34627 PyObject
* obj0
= 0 ;
34628 PyObject
* obj1
= 0 ;
34629 PyObject
* obj2
= 0 ;
34630 PyObject
* obj3
= 0 ;
34631 PyObject
* obj4
= 0 ;
34632 char *kwnames
[] = {
34633 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34638 if (SWIG_arg_fail(1)) SWIG_fail
;
34641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34648 arg4
= (bool)(SWIG_As_bool(obj3
));
34649 if (SWIG_arg_fail(4)) SWIG_fail
;
34652 arg5
= (bool)(SWIG_As_bool(obj4
));
34653 if (SWIG_arg_fail(5)) SWIG_fail
;
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34671 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34674 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34676 return Py_BuildValue((char *)"");
34678 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34679 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34684 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34689 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34691 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34698 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxWindow
*arg1
= (wxWindow
*) 0 ;
34701 int arg2
= (int) -1 ;
34702 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34703 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34708 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34709 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34710 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34711 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34712 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34713 wxDatePickerCtrl
*result
;
34716 bool temp8
= false ;
34717 PyObject
* obj0
= 0 ;
34718 PyObject
* obj1
= 0 ;
34719 PyObject
* obj2
= 0 ;
34720 PyObject
* obj3
= 0 ;
34721 PyObject
* obj4
= 0 ;
34722 PyObject
* obj5
= 0 ;
34723 PyObject
* obj6
= 0 ;
34724 PyObject
* obj7
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail
;
34734 arg2
= (int)(SWIG_As_int(obj1
));
34735 if (SWIG_arg_fail(2)) SWIG_fail
;
34740 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34741 if (SWIG_arg_fail(3)) SWIG_fail
;
34742 if (arg3
== NULL
) {
34743 SWIG_null_ref("wxDateTime");
34745 if (SWIG_arg_fail(3)) SWIG_fail
;
34751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34762 arg6
= (long)(SWIG_As_long(obj5
));
34763 if (SWIG_arg_fail(6)) SWIG_fail
;
34768 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34769 if (SWIG_arg_fail(7)) SWIG_fail
;
34770 if (arg7
== NULL
) {
34771 SWIG_null_ref("wxValidator");
34773 if (SWIG_arg_fail(7)) SWIG_fail
;
34778 arg8
= wxString_in_helper(obj7
);
34779 if (arg8
== NULL
) SWIG_fail
;
34784 if (!wxPyCheckForApp()) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34806 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxDatePickerCtrl
*result
;
34809 char *kwnames
[] = {
34813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34815 if (!wxPyCheckForApp()) SWIG_fail
;
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34829 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34832 wxWindow
*arg2
= (wxWindow
*) 0 ;
34833 int arg3
= (int) -1 ;
34834 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34835 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34836 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34837 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34838 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34839 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34840 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34841 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34842 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34843 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34844 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34848 bool temp9
= false ;
34849 PyObject
* obj0
= 0 ;
34850 PyObject
* obj1
= 0 ;
34851 PyObject
* obj2
= 0 ;
34852 PyObject
* obj3
= 0 ;
34853 PyObject
* obj4
= 0 ;
34854 PyObject
* obj5
= 0 ;
34855 PyObject
* obj6
= 0 ;
34856 PyObject
* obj7
= 0 ;
34857 PyObject
* obj8
= 0 ;
34858 char *kwnames
[] = {
34859 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34864 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34866 if (SWIG_arg_fail(2)) SWIG_fail
;
34869 arg3
= (int)(SWIG_As_int(obj2
));
34870 if (SWIG_arg_fail(3)) SWIG_fail
;
34875 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34876 if (SWIG_arg_fail(4)) SWIG_fail
;
34877 if (arg4
== NULL
) {
34878 SWIG_null_ref("wxDateTime");
34880 if (SWIG_arg_fail(4)) SWIG_fail
;
34886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34897 arg7
= (long)(SWIG_As_long(obj6
));
34898 if (SWIG_arg_fail(7)) SWIG_fail
;
34903 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34904 if (SWIG_arg_fail(8)) SWIG_fail
;
34905 if (arg8
== NULL
) {
34906 SWIG_null_ref("wxValidator");
34908 if (SWIG_arg_fail(8)) SWIG_fail
;
34913 arg9
= wxString_in_helper(obj8
);
34914 if (arg9
== NULL
) SWIG_fail
;
34919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34922 wxPyEndAllowThreads(__tstate
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34942 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34943 PyObject
*resultobj
;
34944 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34945 wxDateTime
*arg2
= 0 ;
34946 PyObject
* obj0
= 0 ;
34947 PyObject
* obj1
= 0 ;
34948 char *kwnames
[] = {
34949 (char *) "self",(char *) "dt", NULL
34952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34954 if (SWIG_arg_fail(1)) SWIG_fail
;
34956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34957 if (SWIG_arg_fail(2)) SWIG_fail
;
34958 if (arg2
== NULL
) {
34959 SWIG_null_ref("wxDateTime");
34961 if (SWIG_arg_fail(2)) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34970 Py_INCREF(Py_None
); resultobj
= Py_None
;
34977 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34978 PyObject
*resultobj
;
34979 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34981 PyObject
* obj0
= 0 ;
34982 char *kwnames
[] = {
34983 (char *) "self", NULL
34986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34988 if (SWIG_arg_fail(1)) SWIG_fail
;
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34997 wxDateTime
* resultptr
;
34998 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35007 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
;
35009 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35010 wxDateTime
*arg2
= 0 ;
35011 wxDateTime
*arg3
= 0 ;
35012 PyObject
* obj0
= 0 ;
35013 PyObject
* obj1
= 0 ;
35014 PyObject
* obj2
= 0 ;
35015 char *kwnames
[] = {
35016 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35021 if (SWIG_arg_fail(1)) SWIG_fail
;
35023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35024 if (SWIG_arg_fail(2)) SWIG_fail
;
35025 if (arg2
== NULL
) {
35026 SWIG_null_ref("wxDateTime");
35028 if (SWIG_arg_fail(2)) SWIG_fail
;
35031 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35032 if (SWIG_arg_fail(3)) SWIG_fail
;
35033 if (arg3
== NULL
) {
35034 SWIG_null_ref("wxDateTime");
35036 if (SWIG_arg_fail(3)) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 Py_INCREF(Py_None
); resultobj
= Py_None
;
35052 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35053 PyObject
*resultobj
;
35054 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35056 PyObject
* obj0
= 0 ;
35057 char *kwnames
[] = {
35058 (char *) "self", NULL
35061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
35062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35063 if (SWIG_arg_fail(1)) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35072 wxDateTime
* resultptr
;
35073 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35082 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
;
35084 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35093 if (SWIG_arg_fail(1)) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35102 wxDateTime
* resultptr
;
35103 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35112 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35115 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35117 return Py_BuildValue((char *)"");
35119 static PyMethodDef SwigMethods
[] = {
35120 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35127 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35142 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35154 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35190 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35204 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35209 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35216 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35221 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35229 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35252 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35261 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35292 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35350 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35355 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35367 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35380 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35392 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35396 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35414 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35421 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35447 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35455 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35477 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35483 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35494 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35496 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35502 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35504 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35511 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35513 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35518 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35523 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35553 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35598 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35604 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35616 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35668 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35695 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35767 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35779 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35787 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35794 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35811 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35890 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35912 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35917 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35944 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35952 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35957 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35959 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35968 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35970 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35987 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35988 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35990 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35991 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35997 { NULL
, NULL
, 0, NULL
}
36001 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36003 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36004 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36006 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36007 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36009 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
36010 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36012 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36013 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36015 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36016 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36018 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36019 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36021 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
36022 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
36024 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36025 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36027 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
36028 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
36030 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36033 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36034 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36036 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36037 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36039 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36040 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36042 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36043 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36045 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
36046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36048 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
36049 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36051 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36052 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36054 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36055 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36057 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36060 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
36061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36063 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36064 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36066 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36069 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
36070 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36072 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
36073 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36075 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
36076 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36078 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
36079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36081 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
36082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
36084 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36085 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36087 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36090 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36091 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36093 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36094 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36096 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36097 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36099 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36100 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36102 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36103 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36105 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36106 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36108 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36111 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36112 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36114 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36115 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36117 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36120 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36121 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36123 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36124 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36126 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36127 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36129 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36130 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36132 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36133 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36135 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36136 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36138 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36141 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36142 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36144 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36145 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36147 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36150 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36153 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36154 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36156 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36157 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36159 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36160 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36162 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36163 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36165 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36166 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36168 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36169 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36171 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36172 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36174 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36175 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36177 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36178 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36180 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36181 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36183 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36184 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36186 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36187 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36189 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36190 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36192 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36193 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36195 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36196 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36198 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36199 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36201 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36202 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36204 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36205 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36207 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36208 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36210 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36211 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36213 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36214 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36216 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36217 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36219 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36220 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36222 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36223 return (void *)((wxControl
*) ((wxGauge
*) x
));
36225 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36226 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36228 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36229 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36231 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36232 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36234 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36235 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36237 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36238 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36240 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36241 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36243 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36244 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36246 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36247 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36249 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36250 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36252 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36253 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36255 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36256 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36258 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36259 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36261 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36262 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36264 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36265 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36267 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36268 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36270 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36271 return (void *)((wxControl
*) ((wxSlider
*) x
));
36273 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36274 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36276 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36277 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36279 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36280 return (void *)((wxControl
*) ((wxButton
*) x
));
36282 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36283 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36285 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36286 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36288 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36289 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36291 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36292 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36294 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36295 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36297 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36298 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36300 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36301 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36303 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36304 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36306 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36307 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36309 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36310 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36312 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36313 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36315 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36316 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36318 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36319 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36321 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36322 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36324 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36325 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36327 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36328 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36330 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36331 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36333 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36336 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36337 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36339 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36340 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36342 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36345 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36346 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36348 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36351 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36354 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36355 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36357 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36360 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36363 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36366 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36369 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36372 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36375 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36376 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36378 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36381 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36384 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36387 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36390 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36393 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36396 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36399 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36402 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36405 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36408 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36411 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36414 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36417 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36420 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36423 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36426 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36429 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36432 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36435 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36438 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36441 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36444 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36447 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36450 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36453 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36456 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36457 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36459 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36460 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36462 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36463 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36465 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36466 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36468 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36469 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36471 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36474 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36477 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36480 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36483 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36486 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36489 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36492 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36495 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) ((wxSizer
*) x
));
36498 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36501 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36504 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36507 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36510 static void *_p_wxEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) ((wxEvent
*) x
));
36513 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36516 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36519 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36522 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36525 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36528 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36531 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36534 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36537 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36540 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36543 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36546 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36549 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36552 static void *_p_wxControlTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36555 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36558 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36561 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36564 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36567 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36570 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36573 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36576 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36579 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36582 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36585 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36588 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36591 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36592 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36594 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36597 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36600 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36603 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36604 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36606 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36609 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36612 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36613 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36615 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36618 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36619 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36621 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36624 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36625 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36627 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36628 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36630 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36631 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36633 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36634 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36636 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36637 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36639 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36640 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36642 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36645 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36646 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36648 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36651 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36654 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36657 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36660 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36663 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36666 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36669 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36670 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36672 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36673 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36675 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36678 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36679 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36681 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36682 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36684 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36687 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36688 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36690 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36693 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36696 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36699 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36702 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36705 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36708 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36711 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36712 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36714 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36715 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36717 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36720 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36723 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36726 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36729 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36730 return (void *)((wxObject
*) ((wxListItem
*) x
));
36732 static void *_p_wxImageTo_p_wxObject(void *x
) {
36733 return (void *)((wxObject
*) ((wxImage
*) x
));
36735 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36736 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36738 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36739 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36741 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36744 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36745 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36747 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36750 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36753 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36756 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36759 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36762 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36763 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36765 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36766 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36768 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36769 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36771 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36772 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36774 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36777 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36778 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36780 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36783 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36784 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36786 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36787 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36789 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36790 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36792 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36793 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36795 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36796 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36798 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36801 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36804 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36807 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36808 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36810 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36813 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36814 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36816 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36817 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36819 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36822 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36825 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36828 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36829 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36831 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36834 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36837 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36840 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36841 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36843 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36844 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36846 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36847 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36849 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36850 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36852 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36853 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36855 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36856 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36858 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36859 return (void *)((wxWindow
*) ((wxControl
*) x
));
36861 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36862 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36864 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36865 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36867 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36868 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36870 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36871 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36873 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36874 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36876 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36877 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36879 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36880 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36882 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36883 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36885 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36886 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36888 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36889 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36891 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36892 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36894 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36895 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36897 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36898 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36900 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36901 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36903 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36904 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36906 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36907 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36909 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36910 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36912 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36913 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36915 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36916 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36918 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36919 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36921 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36922 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36924 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36925 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36927 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36928 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36930 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36931 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36933 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36934 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36936 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36937 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36939 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36940 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36942 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36943 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36945 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36946 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36948 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36949 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36951 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36952 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36954 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36955 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36957 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36958 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36960 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36961 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36963 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36964 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36966 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36967 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36969 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36970 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36972 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36973 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36975 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36976 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36978 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36979 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36981 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36982 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36984 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36985 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36987 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36988 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36990 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36991 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36993 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36994 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36996 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36997 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36999 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
37000 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37002 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
37003 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37005 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
37006 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37008 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
37009 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
37011 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37012 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37014 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37015 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37017 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
37018 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
37020 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
37021 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37023 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
37024 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
37026 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
37027 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
37029 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
37030 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
37032 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37033 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37035 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}};
37036 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}};
37037 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}};
37038 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}};
37039 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37040 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}};
37041 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}};
37042 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}};
37043 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}};
37044 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}};
37045 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}};
37046 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}};
37047 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37048 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}};
37049 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}};
37050 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}};
37051 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}};
37052 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}};
37053 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}};
37054 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}};
37055 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}};
37056 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}};
37057 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}};
37058 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}};
37059 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}};
37060 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}};
37061 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}};
37062 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}};
37063 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}};
37064 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}};
37065 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}};
37066 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}};
37067 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}};
37068 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}};
37069 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}};
37070 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}};
37071 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}};
37072 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}};
37073 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}};
37074 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}};
37075 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}};
37076 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}};
37077 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}};
37078 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}};
37079 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}};
37080 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}};
37081 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37082 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}};
37083 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}};
37084 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}};
37085 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}};
37086 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}};
37087 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}};
37088 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}};
37089 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}};
37090 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}};
37091 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}};
37092 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}};
37093 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}};
37094 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}};
37095 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}};
37096 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}};
37097 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}};
37098 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}};
37099 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}};
37100 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}};
37101 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}};
37102 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}};
37103 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}};
37104 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}};
37105 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}};
37106 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}};
37107 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}};
37108 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}};
37109 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}};
37110 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37111 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}};
37112 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37113 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}};
37114 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}};
37115 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37116 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}};
37117 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}};
37118 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}};
37119 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}};
37120 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}};
37121 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}};
37122 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}};
37123 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}};
37124 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37125 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}};
37126 static swig_type_info _swigt__p_wxDatePickerCtrl
[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37127 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}};
37128 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}};
37129 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}};
37130 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}};
37131 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}};
37132 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}};
37134 static swig_type_info
*swig_types_initial
[] = {
37135 _swigt__p_wxTextUrlEvent
,
37137 _swigt__p_wxCheckBox
,
37138 _swigt__p_wxPyTreeCtrl
,
37140 _swigt__p_wxGenericDirCtrl
,
37142 _swigt__p_wxItemContainer
,
37143 _swigt__p_wxPyListCtrl
,
37144 _swigt__p_wxPyTreeItemData
,
37145 _swigt__p_wxDirFilterListCtrl
,
37146 _swigt__p_wxStaticLine
,
37147 _swigt__p_wxControl
,
37148 _swigt__p_wxPyControl
,
37150 _swigt__p_wxToolBarBase
,
37152 _swigt__p_wxToggleButton
,
37153 _swigt__p_wxRadioButton
,
37154 _swigt__p_wxChoice
,
37155 _swigt__p_wxMemoryDC
,
37157 _swigt__std__ptrdiff_t
,
37158 _swigt__p_wxListItemAttr
,
37163 _swigt__p_wxListView
,
37165 _swigt__p_wxVisualAttributes
,
37166 _swigt__p_wxTextCtrl
,
37167 _swigt__p_wxNotebook
,
37168 _swigt__p_wxChoicebook
,
37169 _swigt__p_wxNotifyEvent
,
37170 _swigt__p_wxArrayString
,
37171 _swigt__p_form_ops_t
,
37172 _swigt__p_wxListbook
,
37173 _swigt__p_wxStaticBitmap
,
37174 _swigt__p_wxSlider
,
37175 _swigt__p_wxStaticBox
,
37176 _swigt__p_wxArrayInt
,
37177 _swigt__p_wxContextHelp
,
37179 _swigt__p_wxDuplexMode
,
37180 _swigt__p_wxBookCtrlBase
,
37181 _swigt__p_wxEvtHandler
,
37182 _swigt__p_wxListEvent
,
37183 _swigt__p_wxCheckListBox
,
37184 _swigt__p_wxListBox
,
37185 _swigt__p_wxSpinButton
,
37186 _swigt__p_wxButton
,
37187 _swigt__p_wxBitmapButton
,
37189 _swigt__p_wxContextHelpButton
,
37190 _swigt__p_wxRadioBox
,
37191 _swigt__p_wxScrollBar
,
37193 _swigt__p_wxComboBox
,
37194 _swigt__p_wxTreeItemId
,
37195 _swigt__p_wxHelpEvent
,
37196 _swigt__p_wxListItem
,
37197 _swigt__p_wxNotebookSizer
,
37198 _swigt__p_wxSpinEvent
,
37199 _swigt__p_wxGenericDragImage
,
37200 _swigt__p_wxSpinCtrl
,
37201 _swigt__p_wxPaperSize
,
37202 _swigt__p_wxImageList
,
37203 _swigt__p_wxHelpProvider
,
37204 _swigt__p_wxTextAttr
,
37205 _swigt__p_wxSimpleHelpProvider
,
37206 _swigt__p_wxChoicebookEvent
,
37207 _swigt__p_wxListbookEvent
,
37208 _swigt__p_wxNotebookEvent
,
37210 _swigt__p_wxObject
,
37211 _swigt__p_wxCursor
,
37212 _swigt__p_wxDateTime
,
37213 _swigt__p_wxKeyEvent
,
37214 _swigt__p_unsigned_long
,
37215 _swigt__p_wxWindow
,
37216 _swigt__p_wxString
,
37217 _swigt__p_wxBitmap
,
37218 _swigt__unsigned_int
,
37219 _swigt__p_unsigned_int
,
37220 _swigt__p_unsigned_char
,
37221 _swigt__p_wxMouseEvent
,
37222 _swigt__p_wxBookCtrlBaseEvent
,
37223 _swigt__p_wxTreeEvent
,
37224 _swigt__p_wxCommandEvent
,
37225 _swigt__p_wxStaticText
,
37226 _swigt__p_wxDatePickerCtrl
,
37227 _swigt__p_wxControlWithItems
,
37228 _swigt__p_wxToolBarToolBase
,
37229 _swigt__p_wxColour
,
37230 _swigt__p_wxToolBar
,
37231 _swigt__p_wxBookCtrlSizer
,
37232 _swigt__p_wxValidator
,
37237 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37239 static swig_const_info swig_const_table
[] = {
37240 {0, 0, 0, 0.0, 0, 0}};
37251 /* Python-specific SWIG API */
37252 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37253 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37254 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37256 /* -----------------------------------------------------------------------------
37257 * global variable support code.
37258 * ----------------------------------------------------------------------------- */
37260 typedef struct swig_globalvar
{
37261 char *name
; /* Name of global variable */
37262 PyObject
*(*get_attr
)(); /* Return the current value */
37263 int (*set_attr
)(PyObject
*); /* Set the value */
37264 struct swig_globalvar
*next
;
37267 typedef struct swig_varlinkobject
{
37269 swig_globalvar
*vars
;
37270 } swig_varlinkobject
;
37273 swig_varlink_repr(swig_varlinkobject
*v
) {
37275 return PyString_FromString("<Swig global variables>");
37279 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37280 swig_globalvar
*var
;
37282 fprintf(fp
,"Swig global variables { ");
37283 for (var
= v
->vars
; var
; var
=var
->next
) {
37284 fprintf(fp
,"%s", var
->name
);
37285 if (var
->next
) fprintf(fp
,", ");
37287 fprintf(fp
," }\n");
37292 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37293 swig_globalvar
*var
= v
->vars
;
37295 if (strcmp(var
->name
,n
) == 0) {
37296 return (*var
->get_attr
)();
37300 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37305 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37306 swig_globalvar
*var
= v
->vars
;
37308 if (strcmp(var
->name
,n
) == 0) {
37309 return (*var
->set_attr
)(p
);
37313 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37317 static PyTypeObject varlinktype
= {
37318 PyObject_HEAD_INIT(0)
37319 0, /* Number of items in variable part (ob_size) */
37320 (char *)"swigvarlink", /* Type name (tp_name) */
37321 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37322 0, /* Itemsize (tp_itemsize) */
37323 0, /* Deallocator (tp_dealloc) */
37324 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37325 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37326 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37327 0, /* tp_compare */
37328 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37329 0, /* tp_as_number */
37330 0, /* tp_as_sequence */
37331 0, /* tp_as_mapping */
37335 0, /* tp_getattro */
37336 0, /* tp_setattro */
37337 0, /* tp_as_buffer */
37340 #if PY_VERSION_HEX >= 0x02000000
37341 0, /* tp_traverse */
37344 #if PY_VERSION_HEX >= 0x02010000
37345 0, /* tp_richcompare */
37346 0, /* tp_weaklistoffset */
37348 #if PY_VERSION_HEX >= 0x02020000
37349 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37351 #if PY_VERSION_HEX >= 0x02030000
37354 #ifdef COUNT_ALLOCS
37355 0,0,0,0 /* tp_alloc -> tp_next */
37359 /* Create a variable linking object for use later */
37361 SWIG_Python_newvarlink(void) {
37362 swig_varlinkobject
*result
= 0;
37363 result
= PyMem_NEW(swig_varlinkobject
,1);
37364 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37365 result
->ob_type
= &varlinktype
;
37367 result
->ob_refcnt
= 0;
37368 Py_XINCREF((PyObject
*) result
);
37369 return ((PyObject
*) result
);
37373 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37374 swig_varlinkobject
*v
;
37375 swig_globalvar
*gv
;
37376 v
= (swig_varlinkobject
*) p
;
37377 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37378 gv
->name
= (char *) malloc(strlen(name
)+1);
37379 strcpy(gv
->name
,name
);
37380 gv
->get_attr
= get_attr
;
37381 gv
->set_attr
= set_attr
;
37382 gv
->next
= v
->vars
;
37386 /* -----------------------------------------------------------------------------
37387 * constants/methods manipulation
37388 * ----------------------------------------------------------------------------- */
37390 /* Install Constants */
37392 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37395 for (i
= 0; constants
[i
].type
; i
++) {
37396 switch(constants
[i
].type
) {
37398 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37400 case SWIG_PY_FLOAT
:
37401 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37403 case SWIG_PY_STRING
:
37404 if (constants
[i
].pvalue
) {
37405 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37407 Py_INCREF(Py_None
);
37411 case SWIG_PY_POINTER
:
37412 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37414 case SWIG_PY_BINARY
:
37415 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37422 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37428 /* -----------------------------------------------------------------------------*/
37429 /* Fix SwigMethods to carry the callback ptrs when needed */
37430 /* -----------------------------------------------------------------------------*/
37433 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37434 swig_const_info
*const_table
,
37435 swig_type_info
**types
,
37436 swig_type_info
**types_initial
) {
37438 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37439 char *c
= methods
[i
].ml_doc
;
37440 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37442 swig_const_info
*ci
= 0;
37443 char *name
= c
+ 10;
37444 for (j
= 0; const_table
[j
].type
; j
++) {
37445 if (strncmp(const_table
[j
].name
, name
,
37446 strlen(const_table
[j
].name
)) == 0) {
37447 ci
= &(const_table
[j
]);
37452 size_t shift
= (ci
->ptype
) - types
;
37453 swig_type_info
*ty
= types_initial
[shift
];
37454 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37455 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37456 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37458 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37459 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37461 strncpy(buff
, "swig_ptr: ", 10);
37463 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37464 methods
[i
].ml_doc
= ndoc
;
37470 /* -----------------------------------------------------------------------------*
37471 * Initialize type list
37472 * -----------------------------------------------------------------------------*/
37474 #if PY_MAJOR_VERSION < 2
37475 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37476 is copied out of Python/modsupport.c in python version 2.3.4 */
37478 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37481 if (!PyModule_Check(m
)) {
37482 PyErr_SetString(PyExc_TypeError
,
37483 "PyModule_AddObject() needs module as first arg");
37487 PyErr_SetString(PyExc_TypeError
,
37488 "PyModule_AddObject() needs non-NULL value");
37492 dict
= PyModule_GetDict(m
);
37493 if (dict
== NULL
) {
37494 /* Internal error -- modules must have a dict! */
37495 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37496 PyModule_GetName(m
));
37499 if (PyDict_SetItemString(dict
, name
, o
))
37506 static swig_type_info
**
37507 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37508 static PyMethodDef swig_empty_runtime_method_table
[] = {
37510 NULL
, NULL
, 0, NULL
37514 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37515 swig_empty_runtime_method_table
);
37516 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37517 if (pointer
&& module) {
37518 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37520 return type_list_handle
;
37523 static swig_type_info
**
37524 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37525 swig_type_info
**type_pointer
;
37527 /* first check if module already created */
37528 type_pointer
= SWIG_Python_GetTypeListHandle();
37529 if (type_pointer
) {
37530 return type_pointer
;
37532 /* create a new module and variable */
37533 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37541 /* -----------------------------------------------------------------------------*
37542 * Partial Init method
37543 * -----------------------------------------------------------------------------*/
37545 #ifdef SWIG_LINK_RUNTIME
37549 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37555 SWIGEXPORT(void) SWIG_init(void) {
37556 static PyObject
*SWIG_globals
= 0;
37557 static int typeinit
= 0;
37560 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37562 /* Fix SwigMethods to carry the callback ptrs when needed */
37563 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37565 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37566 d
= PyModule_GetDict(m
);
37569 #ifdef SWIG_LINK_RUNTIME
37570 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37572 # ifndef SWIG_STATIC_RUNTIME
37573 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37576 for (i
= 0; swig_types_initial
[i
]; i
++) {
37577 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37581 SWIG_InstallConstants(d
,swig_const_table
);
37583 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37584 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37586 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37589 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37592 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37595 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37598 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37601 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37604 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37606 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37608 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37611 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37614 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37617 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37620 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37623 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37625 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37626 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37627 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37629 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37632 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37635 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37638 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37640 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37641 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37642 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37643 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37644 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37646 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37649 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37652 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37655 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37658 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37661 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37664 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37667 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37670 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37673 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37676 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37679 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37682 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37685 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37688 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37691 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37694 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37697 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37700 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37703 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37706 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37709 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37712 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37715 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37718 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37721 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37724 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37727 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37730 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37733 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37736 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37739 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37742 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37745 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37748 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37751 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37754 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37757 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37760 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37763 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37766 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37769 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37772 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37775 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37778 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37781 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37783 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37784 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37786 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37787 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37788 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37789 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37791 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37794 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37797 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37800 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37802 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37803 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37804 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37805 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37807 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37810 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37813 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37816 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37819 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37822 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37825 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37828 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37831 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37834 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37837 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37840 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37842 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37843 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37844 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37846 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37849 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37852 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37855 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37858 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37861 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37864 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37867 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37870 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37873 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37876 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37878 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37879 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37881 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37884 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37887 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37890 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37893 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37896 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37898 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37899 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37901 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37904 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37907 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37910 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37913 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37916 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37918 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37919 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37921 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37924 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37927 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37930 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37933 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37936 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37939 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37942 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37945 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37948 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37951 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37954 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37957 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37960 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37962 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37964 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37967 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37970 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37973 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37976 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37979 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37982 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37985 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37988 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37991 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37994 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37997 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
38000 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
38003 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
38006 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
38009 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
38012 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
38015 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
38018 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
38021 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
38024 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
38027 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
38030 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
38033 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
38036 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
38039 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
38042 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
38045 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
38048 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
38051 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
38054 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
38057 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
38060 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
38063 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
38066 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
38069 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
38072 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
38075 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
38078 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
38081 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
38084 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
38087 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
38090 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
38093 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
38096 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
38099 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
38102 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
38105 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
38108 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
38111 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
38114 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
38117 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
38120 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
38123 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
38126 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
38129 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
38132 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
38135 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
38138 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
38141 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
38144 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
38147 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
38150 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
38153 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
38156 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
38159 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
38162 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
38165 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
38167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38183 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38184 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38185 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38186 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
38188 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
38190 // Map renamed classes back to their common name for OOR
38191 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38193 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38195 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
38198 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
38201 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
38204 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
38207 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
38210 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
38213 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
38216 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38219 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38222 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38225 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38228 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38231 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38234 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38237 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38240 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38243 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38246 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38249 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38252 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38255 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38258 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38261 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38264 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38267 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38270 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38273 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38276 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38279 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38282 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38285 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38288 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38291 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38294 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38297 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38316 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38317 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38321 // Map renamed classes back to their common name for OOR
38322 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38323 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38325 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38327 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38330 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38333 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38336 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38339 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38342 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38345 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38347 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38348 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38350 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38352 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38354 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38357 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38360 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38363 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38366 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));