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 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_bool swig_types[0]
1436 #define SWIGTYPE_p_char swig_types[1]
1437 #define SWIGTYPE_p_form_ops_t swig_types[2]
1438 #define SWIGTYPE_p_int swig_types[3]
1439 #define SWIGTYPE_p_long swig_types[4]
1440 #define SWIGTYPE_p_unsigned_char swig_types[5]
1441 #define SWIGTYPE_p_unsigned_int swig_types[6]
1442 #define SWIGTYPE_p_unsigned_long swig_types[7]
1443 #define SWIGTYPE_p_void swig_types[8]
1444 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1445 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1446 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1447 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1448 #define SWIGTYPE_p_wxArrayString swig_types[13]
1449 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1450 #define SWIGTYPE_p_wxBitmap swig_types[15]
1451 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1452 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1453 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1454 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1455 #define SWIGTYPE_p_wxButton swig_types[20]
1456 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1457 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1458 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1459 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1460 #define SWIGTYPE_p_wxChoice swig_types[25]
1461 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1462 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1463 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1464 #define SWIGTYPE_p_wxColour swig_types[29]
1465 #define SWIGTYPE_p_wxComboBox swig_types[30]
1466 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1467 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1468 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1469 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1470 #define SWIGTYPE_p_wxControl swig_types[35]
1471 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1472 #define SWIGTYPE_p_wxCursor swig_types[37]
1473 #define SWIGTYPE_p_wxDC swig_types[38]
1474 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1475 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1476 #define SWIGTYPE_p_wxDateTime swig_types[41]
1477 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1478 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1479 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1480 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1481 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1482 #define SWIGTYPE_p_wxEvent swig_types[47]
1483 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1484 #define SWIGTYPE_p_wxFSFile swig_types[49]
1485 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1486 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1487 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1488 #define SWIGTYPE_p_wxFont swig_types[53]
1489 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1490 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1491 #define SWIGTYPE_p_wxGauge swig_types[56]
1492 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1493 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1494 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1495 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1496 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1497 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1498 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1499 #define SWIGTYPE_p_wxIcon swig_types[64]
1500 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1501 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1502 #define SWIGTYPE_p_wxImage swig_types[67]
1503 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1504 #define SWIGTYPE_p_wxImageList swig_types[69]
1505 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1506 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1507 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1508 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1510 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1511 #define SWIGTYPE_p_wxListBox swig_types[76]
1512 #define SWIGTYPE_p_wxListEvent swig_types[77]
1513 #define SWIGTYPE_p_wxListItem swig_types[78]
1514 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1515 #define SWIGTYPE_p_wxListView swig_types[80]
1516 #define SWIGTYPE_p_wxListbook swig_types[81]
1517 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1518 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1519 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1520 #define SWIGTYPE_p_wxMenu swig_types[85]
1521 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1522 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1523 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1524 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1525 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1526 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1527 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1528 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1529 #define SWIGTYPE_p_wxNotebook swig_types[94]
1530 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1531 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1532 #define SWIGTYPE_p_wxObject swig_types[97]
1533 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1534 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1535 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1536 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1537 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1538 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1539 #define SWIGTYPE_p_wxPoint swig_types[104]
1540 #define SWIGTYPE_p_wxPyApp swig_types[105]
1541 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1542 #define SWIGTYPE_p_wxPyControl swig_types[107]
1543 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1544 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1545 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1546 #define SWIGTYPE_p_wxPySizer swig_types[111]
1547 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1548 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1549 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1550 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1551 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1552 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1553 #define SWIGTYPE_p_wxRect swig_types[118]
1554 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1555 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1556 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1557 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1558 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1559 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1560 #define SWIGTYPE_p_wxSize swig_types[125]
1561 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1562 #define SWIGTYPE_p_wxSizer swig_types[127]
1563 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1564 #define SWIGTYPE_p_wxSlider swig_types[129]
1565 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1566 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1567 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1568 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1569 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1570 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1572 #define SWIGTYPE_p_wxStaticText swig_types[137]
1573 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1574 #define SWIGTYPE_p_wxString swig_types[139]
1575 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1576 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1577 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1578 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1579 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1580 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1581 #define SWIGTYPE_p_wxToolBar swig_types[146]
1582 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1583 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1584 #define SWIGTYPE_p_wxToolbook swig_types[149]
1585 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1586 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1587 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1588 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1589 #define SWIGTYPE_p_wxTreebook swig_types[154]
1590 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1591 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1592 #define SWIGTYPE_p_wxValidator swig_types[157]
1593 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1594 #define SWIGTYPE_p_wxWindow swig_types[159]
1595 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1596 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1597 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1598 #define SWIGTYPE_ptrdiff_t swig_types[163]
1599 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1600 #define SWIGTYPE_unsigned_int swig_types[165]
1601 static swig_type_info
*swig_types
[167];
1602 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
1603 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1604 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1606 /* -------- TYPES TABLE (END) -------- */
1609 /*-----------------------------------------------
1610 @(target):= _controls_.so
1611 ------------------------------------------------*/
1612 #define SWIG_init init_controls_
1614 #define SWIG_name "_controls_"
1616 #include "wx/wxPython/wxPython.h"
1617 #include "wx/wxPython/pyclasses.h"
1619 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1620 static const wxString
wxPyEmptyString(wxEmptyString
);
1621 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1623 const wxArrayString wxPyEmptyStringArray
;
1625 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1627 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1628 #define SWIG_From_int PyInt_FromLong
1636 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1639 if (value
< min_value
) {
1641 PyErr_Format(PyExc_OverflowError
,
1642 "value %ld is less than '%s' minimum %ld",
1643 value
, errmsg
, min_value
);
1646 } else if (value
> max_value
) {
1648 PyErr_Format(PyExc_OverflowError
,
1649 "value %ld is greater than '%s' maximum %ld",
1650 value
, errmsg
, max_value
);
1659 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1661 if (PyNumber_Check(obj
)) {
1662 if (val
) *val
= PyInt_AsLong(obj
);
1666 SWIG_Python_TypeError("number", obj
);
1672 #if INT_MAX != LONG_MAX
1674 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1676 const char* errmsg
= val
? "int" : (char*)0;
1678 if (SWIG_AsVal_long(obj
, &v
)) {
1679 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1680 if (val
) *val
= static_cast<int >(v
);
1689 SWIG_type_error(errmsg
, obj
);
1694 SWIGINTERNINLINE
int
1695 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1697 return SWIG_AsVal_long(obj
,(long*)val
);
1702 SWIGINTERNINLINE
int
1703 SWIG_As_int(PyObject
* obj
)
1706 if (!SWIG_AsVal_int(obj
, &v
)) {
1708 this is needed to make valgrind/purify happier.
1710 memset((void*)&v
, 0, sizeof(int));
1716 SWIGINTERNINLINE
long
1717 SWIG_As_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(long));
1730 SWIGINTERNINLINE
int
1731 SWIG_Check_int(PyObject
* obj
)
1733 return SWIG_AsVal_int(obj
, (int*)0);
1737 SWIGINTERNINLINE
int
1738 SWIG_Check_long(PyObject
* obj
)
1740 return SWIG_AsVal_long(obj
, (long*)0);
1743 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1746 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1748 if (obj
== Py_True
) {
1749 if (val
) *val
= true;
1752 if (obj
== Py_False
) {
1753 if (val
) *val
= false;
1757 if (SWIG_AsVal_int(obj
, &res
)) {
1758 if (val
) *val
= res
? true : false;
1764 SWIG_type_error("bool", obj
);
1770 SWIGINTERNINLINE
bool
1771 SWIG_As_bool(PyObject
* obj
)
1774 if (!SWIG_AsVal_bool(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(bool));
1784 SWIGINTERNINLINE
int
1785 SWIG_Check_bool(PyObject
* obj
)
1787 return SWIG_AsVal_bool(obj
, (bool*)0);
1790 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1791 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1793 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1794 #define SWIG_From_long PyInt_FromLong
1797 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1798 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1799 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1800 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1802 #include <wx/checklst.h>
1805 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1806 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1808 wxPyClientData
* data
= new wxPyClientData(clientData
);
1809 self
->Insert(item
, pos
, data
);
1811 self
->Insert(item
, pos
);
1813 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1815 self
->GetSelections(lst
);
1816 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1817 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1818 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1822 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1824 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1825 self
->GetItem(item
)->SetTextColour(c
);
1828 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1830 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1831 self
->GetItem(item
)->SetBackgroundColour(c
);
1834 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1836 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1837 self
->GetItem(item
)->SetFont(f
);
1840 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1842 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1848 } else if (result
== Py_None
) {
1852 if (!PyTuple_Check(result
)) {
1854 result
= PyTuple_New(1);
1855 PyTuple_SET_ITEM(result
, 0, o2
);
1857 o3
= PyTuple_New(1);
1858 PyTuple_SetItem(o3
, 0, obj
);
1860 result
= PySequence_Concat(o2
, o3
);
1870 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1873 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1874 SWIG_Python_TypeError("unsigned number", obj
);
1877 *val
= (unsigned long)v
;
1882 SWIGINTERNINLINE
unsigned long
1883 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1886 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1888 this is needed to make valgrind/purify happier.
1890 memset((void*)&v
, 0, sizeof(unsigned long));
1896 SWIGINTERNINLINE
int
1897 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1899 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1902 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1903 self
->AppendText(text
);
1905 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1906 return self
->GetValue().Mid(from
, to
- from
);
1908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1914 #include <wx/slider.h>
1917 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1918 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1920 #if !wxUSE_TOGGLEBTN
1921 // implement dummy items for platforms that don't have this class
1923 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1925 class wxToggleButton
: public wxControl
1928 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1929 const wxPoint
&, const wxSize
&, long,
1930 const wxValidator
&, const wxString
&)
1931 { wxPyRaiseNotImplemented(); }
1934 { wxPyRaiseNotImplemented(); }
1938 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1940 SWIGINTERNINLINE PyObject
*
1941 SWIG_From_unsigned_SS_long(unsigned long value
)
1943 return (value
> LONG_MAX
) ?
1944 PyLong_FromUnsignedLong(value
)
1945 : PyInt_FromLong(static_cast<long >(value
));
1949 #if UINT_MAX < LONG_MAX
1950 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1951 #define SWIG_From_unsigned_SS_int SWIG_From_long
1954 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1955 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1960 SWIGINTERNINLINE
int
1961 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1962 unsigned long max_value
,
1965 if (value
> max_value
) {
1967 PyErr_Format(PyExc_OverflowError
,
1968 "value %lu is greater than '%s' minimum %lu",
1969 value
, errmsg
, max_value
);
1977 #if UINT_MAX != ULONG_MAX
1979 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1981 const char* errmsg
= val
? "unsigned int" : (char*)0;
1983 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1984 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1985 if (val
) *val
= static_cast<unsigned int >(v
);
1992 SWIG_type_error(errmsg
, obj
);
1997 SWIGINTERNINLINE
unsigned int
1998 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2000 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2005 SWIGINTERNINLINE
unsigned int
2006 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2009 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2011 this is needed to make valgrind/purify happier.
2013 memset((void*)&v
, 0, sizeof(unsigned int));
2019 SWIGINTERNINLINE
int
2020 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2022 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2025 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2026 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2027 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2029 Py_INCREF(udata
->m_obj
);
2030 return udata
->m_obj
;
2036 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2037 self
->SetClientData(new wxPyUserData(clientData
));
2039 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
){
2040 wxPyUserData
* udata
= NULL
;
2041 if (clientData
&& clientData
!= Py_None
)
2042 udata
= new wxPyUserData(clientData
);
2043 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2044 shortHelp
, longHelp
, udata
);
2046 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
){
2047 wxPyUserData
* udata
= NULL
;
2048 if (clientData
&& clientData
!= Py_None
)
2049 udata
= new wxPyUserData(clientData
);
2050 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2051 shortHelp
, longHelp
, udata
);
2053 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2054 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2056 Py_INCREF(udata
->m_obj
);
2057 return udata
->m_obj
;
2063 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2064 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2067 #include <wx/listctrl.h>
2069 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2070 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2071 // Python aware sorting function for wxPyListCtrl
2072 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2074 PyObject
* func
= (PyObject
*)funcPtr
;
2075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2077 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2078 PyObject
* result
= PyEval_CallObject(func
, args
);
2081 retval
= PyInt_AsLong(result
);
2085 wxPyEndBlockThreads(blocked
);
2089 // C++ Version of a Python aware class
2090 class wxPyListCtrl
: public wxListCtrl
{
2091 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2093 wxPyListCtrl() : wxListCtrl() {}
2094 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2098 const wxValidator
& validator
,
2099 const wxString
& name
) :
2100 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2102 bool Create(wxWindow
* parent
, wxWindowID id
,
2106 const wxValidator
& validator
,
2107 const wxString
& name
) {
2108 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2111 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
2112 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
2114 // use the virtual version to avoid a confusing assert in the base class
2115 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
2116 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
2121 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
2123 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
2124 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
2125 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
2126 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
2129 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
2131 item
.SetMask( wxLIST_MASK_STATE
|
2139 if (self
->GetColumn(col
, item
))
2140 return new wxListItem(item
);
2144 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
2145 wxListItem
* info
= new wxListItem
;
2146 info
->m_itemId
= itemId
;
2148 info
->m_mask
= 0xFFFF;
2149 self
->GetItem(*info
);
2152 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
2154 self
->GetItemPosition(item
, pos
);
2157 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
2159 self
->GetItemRect(item
, rect
, code
);
2163 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
2164 if (!PyCallable_Check(func
))
2166 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
2168 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
2172 return (wxWindow
*)self
->m_mainWin
;
2176 #include <wx/treectrl.h>
2177 #include "wx/wxPython/pytree.h"
2179 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2180 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
2181 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
2182 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
2183 // C++ version of Python aware wxTreeCtrl
2184 class wxPyTreeCtrl
: public wxTreeCtrl
{
2185 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
2187 wxPyTreeCtrl() : wxTreeCtrl() {}
2188 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
2192 const wxValidator
& validator
,
2193 const wxString
& name
) :
2194 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2196 bool Create(wxWindow
*parent
, wxWindowID id
,
2200 const wxValidator
& validator
,
2201 const wxString
& name
) {
2202 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2206 int OnCompareItems(const wxTreeItemId
& item1
,
2207 const wxTreeItemId
& item2
) {
2210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2211 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2212 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
2213 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
2214 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2218 wxPyEndBlockThreads(blocked
);
2220 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
2226 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
2229 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2230 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2232 data
= new wxPyTreeItemData();
2233 data
->SetId(item
); // set the id
2234 self
->SetItemData(item
, data
);
2238 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2239 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2241 data
= new wxPyTreeItemData();
2242 data
->SetId(item
); // set the id
2243 self
->SetItemData(item
, data
);
2245 return data
->GetData();
2247 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2248 data
->SetId(item
); // set the id
2249 self
->SetItemData(item
, data
);
2251 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2252 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2254 data
= new wxPyTreeItemData(obj
);
2255 data
->SetId(item
); // set the id
2256 self
->SetItemData(item
, data
);
2260 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2261 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2262 PyObject
* rval
= PyList_New(0);
2263 wxArrayTreeItemIds array
;
2265 num
= self
->GetSelections(array
);
2266 for (x
=0; x
< num
; x
++) {
2267 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2268 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2269 PyList_Append(rval
, item
);
2272 wxPyEndBlockThreads(blocked
);
2275 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2277 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2279 PyObject
* tup
= PyTuple_New(2);
2280 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2281 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2282 wxPyEndBlockThreads(blocked
);
2285 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2286 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2288 PyObject
* tup
= PyTuple_New(2);
2289 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2290 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2291 wxPyEndBlockThreads(blocked
);
2294 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2296 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2297 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2298 wxRect
* r
= new wxRect(rect
);
2299 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2300 wxPyEndBlockThreads(blocked
);
2306 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2308 SWIGINTERNINLINE PyObject
*
2309 SWIG_From_bool(bool value
)
2311 PyObject
*obj
= value
? Py_True
: Py_False
;
2317 // C++ version of Python aware wxControl
2318 class wxPyControl
: public wxControl
2320 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2322 wxPyControl() : wxControl() {}
2323 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2324 const wxPoint
& pos
= wxDefaultPosition
,
2325 const wxSize
& size
= wxDefaultSize
,
2327 const wxValidator
& validator
=wxDefaultValidator
,
2328 const wxString
& name
= wxPyControlNameStr
)
2329 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2331 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2333 bool DoEraseBackground(wxDC
* dc
) {
2335 return wxWindow::DoEraseBackground(dc
->GetHDC());
2337 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2343 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2344 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2346 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2352 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2353 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2355 DEC_PYCALLBACK__(InitDialog
);
2356 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2357 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2358 DEC_PYCALLBACK_BOOL_(Validate
);
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2361 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2362 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2364 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2365 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2367 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2368 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2370 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2372 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2377 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2379 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2380 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2381 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2382 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2384 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2385 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2386 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2388 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2389 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2391 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2392 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2393 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2394 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2397 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2398 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2400 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2401 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2403 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2404 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2406 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2408 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2412 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2414 #include <wx/generic/dragimgg.h>
2416 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2417 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2419 self
->GetRange(&rv
, NULL
);
2422 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2424 self
->GetRange(NULL
, &rv
);
2430 static int _wrap_ButtonNameStr_set(PyObject
*) {
2431 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2436 static PyObject
*_wrap_ButtonNameStr_get(void) {
2437 PyObject
*pyobj
= NULL
;
2441 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2443 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2450 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
= NULL
;
2452 wxWindow
*arg1
= (wxWindow
*) 0 ;
2453 int arg2
= (int) -1 ;
2454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2460 long arg6
= (long) 0 ;
2461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2463 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2466 bool temp3
= false ;
2469 bool temp8
= false ;
2470 PyObject
* obj0
= 0 ;
2471 PyObject
* obj1
= 0 ;
2472 PyObject
* obj2
= 0 ;
2473 PyObject
* obj3
= 0 ;
2474 PyObject
* obj4
= 0 ;
2475 PyObject
* obj5
= 0 ;
2476 PyObject
* obj6
= 0 ;
2477 PyObject
* obj7
= 0 ;
2479 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2484 if (SWIG_arg_fail(1)) SWIG_fail
;
2487 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2488 if (SWIG_arg_fail(2)) SWIG_fail
;
2493 arg3
= wxString_in_helper(obj2
);
2494 if (arg3
== NULL
) SWIG_fail
;
2501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2512 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2513 if (SWIG_arg_fail(6)) SWIG_fail
;
2518 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2519 if (SWIG_arg_fail(7)) SWIG_fail
;
2521 SWIG_null_ref("wxValidator");
2523 if (SWIG_arg_fail(7)) SWIG_fail
;
2528 arg8
= wxString_in_helper(obj7
);
2529 if (arg8
== NULL
) SWIG_fail
;
2534 if (!wxPyCheckForApp()) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2564 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
= NULL
;
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2573 if (!wxPyCheckForApp()) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= (wxButton
*)new wxButton();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2587 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
= NULL
;
2589 wxButton
*arg1
= (wxButton
*) 0 ;
2590 wxWindow
*arg2
= (wxWindow
*) 0 ;
2591 int arg3
= (int) -1 ;
2592 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2593 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2594 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2595 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2596 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2597 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2598 long arg7
= (long) 0 ;
2599 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2600 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2601 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2602 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2604 bool temp4
= false ;
2607 bool temp9
= false ;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2610 PyObject
* obj2
= 0 ;
2611 PyObject
* obj3
= 0 ;
2612 PyObject
* obj4
= 0 ;
2613 PyObject
* obj5
= 0 ;
2614 PyObject
* obj6
= 0 ;
2615 PyObject
* obj7
= 0 ;
2616 PyObject
* obj8
= 0 ;
2618 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail
;
2624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2625 if (SWIG_arg_fail(2)) SWIG_fail
;
2628 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2629 if (SWIG_arg_fail(3)) SWIG_fail
;
2634 arg4
= wxString_in_helper(obj3
);
2635 if (arg4
== NULL
) SWIG_fail
;
2642 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2648 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2653 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2654 if (SWIG_arg_fail(7)) SWIG_fail
;
2659 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2660 if (SWIG_arg_fail(8)) SWIG_fail
;
2662 SWIG_null_ref("wxValidator");
2664 if (SWIG_arg_fail(8)) SWIG_fail
;
2669 arg9
= wxString_in_helper(obj8
);
2670 if (arg9
== NULL
) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2706 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
= NULL
;
2708 wxButton
*arg1
= (wxButton
*) 0 ;
2709 PyObject
* obj0
= 0 ;
2711 (char *) "self", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2716 if (SWIG_arg_fail(1)) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 (arg1
)->SetDefault();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 Py_INCREF(Py_None
); resultobj
= Py_None
;
2731 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
= NULL
;
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= wxButton::GetDefaultSize();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2748 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2757 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
= NULL
;
2759 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2760 wxVisualAttributes result
;
2761 PyObject
* obj0
= 0 ;
2763 (char *) "variant", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2769 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
2770 if (SWIG_arg_fail(1)) SWIG_fail
;
2774 if (!wxPyCheckForApp()) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= wxButton::GetClassDefaultAttributes(arg1
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2782 wxVisualAttributes
* resultptr
;
2783 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
2784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2792 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2795 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2797 return Py_BuildValue((char *)"");
2799 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
= NULL
;
2801 wxWindow
*arg1
= (wxWindow
*) 0 ;
2802 int arg2
= (int) -1 ;
2803 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2804 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2809 long arg6
= (long) wxBU_AUTODRAW
;
2810 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2811 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2812 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2813 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2814 wxBitmapButton
*result
;
2817 bool temp8
= false ;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2820 PyObject
* obj2
= 0 ;
2821 PyObject
* obj3
= 0 ;
2822 PyObject
* obj4
= 0 ;
2823 PyObject
* obj5
= 0 ;
2824 PyObject
* obj6
= 0 ;
2825 PyObject
* obj7
= 0 ;
2827 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail
;
2835 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2836 if (SWIG_arg_fail(2)) SWIG_fail
;
2841 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2842 if (SWIG_arg_fail(3)) SWIG_fail
;
2844 SWIG_null_ref("wxBitmap");
2846 if (SWIG_arg_fail(3)) SWIG_fail
;
2852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2863 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2864 if (SWIG_arg_fail(6)) SWIG_fail
;
2869 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2870 if (SWIG_arg_fail(7)) SWIG_fail
;
2872 SWIG_null_ref("wxValidator");
2874 if (SWIG_arg_fail(7)) SWIG_fail
;
2879 arg8
= wxString_in_helper(obj7
);
2880 if (arg8
== NULL
) SWIG_fail
;
2885 if (!wxPyCheckForApp()) SWIG_fail
;
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2907 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
= NULL
;
2909 wxBitmapButton
*result
;
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2916 if (!wxPyCheckForApp()) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (wxBitmapButton
*)new wxBitmapButton();
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2930 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
= NULL
;
2932 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2933 wxWindow
*arg2
= (wxWindow
*) 0 ;
2934 int arg3
= (int) -1 ;
2935 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2936 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2937 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2938 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2939 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2940 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2941 long arg7
= (long) wxBU_AUTODRAW
;
2942 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2943 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2944 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2945 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2949 bool temp9
= false ;
2950 PyObject
* obj0
= 0 ;
2951 PyObject
* obj1
= 0 ;
2952 PyObject
* obj2
= 0 ;
2953 PyObject
* obj3
= 0 ;
2954 PyObject
* obj4
= 0 ;
2955 PyObject
* obj5
= 0 ;
2956 PyObject
* obj6
= 0 ;
2957 PyObject
* obj7
= 0 ;
2958 PyObject
* obj8
= 0 ;
2960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail
;
2966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2967 if (SWIG_arg_fail(2)) SWIG_fail
;
2970 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2971 if (SWIG_arg_fail(3)) SWIG_fail
;
2976 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2977 if (SWIG_arg_fail(4)) SWIG_fail
;
2979 SWIG_null_ref("wxBitmap");
2981 if (SWIG_arg_fail(4)) SWIG_fail
;
2987 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2993 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2998 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2999 if (SWIG_arg_fail(7)) SWIG_fail
;
3004 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3005 if (SWIG_arg_fail(8)) SWIG_fail
;
3007 SWIG_null_ref("wxValidator");
3009 if (SWIG_arg_fail(8)) SWIG_fail
;
3014 arg9
= wxString_in_helper(obj8
);
3015 if (arg9
== NULL
) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3043 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
= NULL
;
3045 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
3053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->GetBitmapLabel();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 wxBitmap
* resultptr
;
3064 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3073 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
= NULL
;
3075 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
3083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= (arg1
)->GetBitmapDisabled();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3093 wxBitmap
* resultptr
;
3094 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3103 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
= NULL
;
3105 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
3113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (arg1
)->GetBitmapFocus();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 wxBitmap
* resultptr
;
3124 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3133 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
= NULL
;
3135 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3139 (char *) "self", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
3143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= (arg1
)->GetBitmapSelected();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 wxBitmap
* resultptr
;
3154 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3163 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
= NULL
;
3165 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3166 wxBitmap
*arg2
= 0 ;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "self",(char *) "bitmap", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail
;
3177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3178 if (SWIG_arg_fail(2)) SWIG_fail
;
3180 SWIG_null_ref("wxBitmap");
3182 if (SWIG_arg_fail(2)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3198 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
= NULL
;
3200 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3201 wxBitmap
*arg2
= 0 ;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3205 (char *) "self",(char *) "bitmap", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail
;
3212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3213 if (SWIG_arg_fail(2)) SWIG_fail
;
3215 SWIG_null_ref("wxBitmap");
3217 if (SWIG_arg_fail(2)) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 Py_INCREF(Py_None
); resultobj
= Py_None
;
3233 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
= NULL
;
3235 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3236 wxBitmap
*arg2
= 0 ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "bitmap", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3245 if (SWIG_arg_fail(1)) SWIG_fail
;
3247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3248 if (SWIG_arg_fail(2)) SWIG_fail
;
3250 SWIG_null_ref("wxBitmap");
3252 if (SWIG_arg_fail(2)) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3268 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
= NULL
;
3270 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3271 wxBitmap
*arg2
= 0 ;
3272 PyObject
* obj0
= 0 ;
3273 PyObject
* obj1
= 0 ;
3275 (char *) "self",(char *) "bitmap", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3285 SWIG_null_ref("wxBitmap");
3287 if (SWIG_arg_fail(2)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
= NULL
;
3305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3309 PyObject
* obj1
= 0 ;
3310 PyObject
* obj2
= 0 ;
3312 (char *) "self",(char *) "x",(char *) "y", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail
;
3319 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3320 if (SWIG_arg_fail(2)) SWIG_fail
;
3323 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3324 if (SWIG_arg_fail(3)) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 (arg1
)->SetMargins(arg2
,arg3
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
= NULL
;
3342 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3351 if (SWIG_arg_fail(1)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 resultobj
= SWIG_From_int(static_cast<int >(result
));
3368 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
= NULL
;
3370 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3374 (char *) "self", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_From_int(static_cast<int >(result
));
3396 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3401 return Py_BuildValue((char *)"");
3403 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3404 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3409 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3410 PyObject
*pyobj
= NULL
;
3414 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3416 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3423 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
= NULL
;
3425 wxWindow
*arg1
= (wxWindow
*) 0 ;
3426 int arg2
= (int) -1 ;
3427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3433 long arg6
= (long) 0 ;
3434 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3435 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3436 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3439 bool temp3
= false ;
3442 bool temp8
= false ;
3443 PyObject
* obj0
= 0 ;
3444 PyObject
* obj1
= 0 ;
3445 PyObject
* obj2
= 0 ;
3446 PyObject
* obj3
= 0 ;
3447 PyObject
* obj4
= 0 ;
3448 PyObject
* obj5
= 0 ;
3449 PyObject
* obj6
= 0 ;
3450 PyObject
* obj7
= 0 ;
3452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3457 if (SWIG_arg_fail(1)) SWIG_fail
;
3460 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3461 if (SWIG_arg_fail(2)) SWIG_fail
;
3466 arg3
= wxString_in_helper(obj2
);
3467 if (arg3
== NULL
) SWIG_fail
;
3474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3485 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3486 if (SWIG_arg_fail(6)) SWIG_fail
;
3491 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3492 if (SWIG_arg_fail(7)) SWIG_fail
;
3494 SWIG_null_ref("wxValidator");
3496 if (SWIG_arg_fail(7)) SWIG_fail
;
3501 arg8
= wxString_in_helper(obj7
);
3502 if (arg8
== NULL
) SWIG_fail
;
3507 if (!wxPyCheckForApp()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3537 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
= NULL
;
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3546 if (!wxPyCheckForApp()) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (wxCheckBox
*)new wxCheckBox();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3560 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
= NULL
;
3562 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3563 wxWindow
*arg2
= (wxWindow
*) 0 ;
3564 int arg3
= (int) -1 ;
3565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3567 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3568 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3569 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3570 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3571 long arg7
= (long) 0 ;
3572 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3573 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3574 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3575 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3577 bool temp4
= false ;
3580 bool temp9
= false ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3583 PyObject
* obj2
= 0 ;
3584 PyObject
* obj3
= 0 ;
3585 PyObject
* obj4
= 0 ;
3586 PyObject
* obj5
= 0 ;
3587 PyObject
* obj6
= 0 ;
3588 PyObject
* obj7
= 0 ;
3589 PyObject
* obj8
= 0 ;
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3596 if (SWIG_arg_fail(1)) SWIG_fail
;
3597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(2)) SWIG_fail
;
3601 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3602 if (SWIG_arg_fail(3)) SWIG_fail
;
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3626 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3627 if (SWIG_arg_fail(7)) SWIG_fail
;
3632 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3633 if (SWIG_arg_fail(8)) SWIG_fail
;
3635 SWIG_null_ref("wxValidator");
3637 if (SWIG_arg_fail(8)) SWIG_fail
;
3642 arg9
= wxString_in_helper(obj8
);
3643 if (arg9
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
= NULL
;
3681 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3685 (char *) "self", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3690 if (SWIG_arg_fail(1)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (bool)(arg1
)->GetValue();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3707 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
= NULL
;
3709 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3713 (char *) "self", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 result
= (bool)(arg1
)->IsChecked();
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3735 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
= NULL
;
3737 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "state", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail
;
3749 arg2
= static_cast<bool const >(SWIG_As_bool(obj1
));
3750 if (SWIG_arg_fail(2)) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetValue(arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
= NULL
;
3768 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3769 wxCheckBoxState result
;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_From_int((result
));
3792 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
= NULL
;
3794 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3795 wxCheckBoxState arg2
;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3799 (char *) "self",(char *) "state", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3804 if (SWIG_arg_fail(1)) SWIG_fail
;
3806 arg2
= static_cast<wxCheckBoxState
>(SWIG_As_int(obj1
));
3807 if (SWIG_arg_fail(2)) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 (arg1
)->Set3StateValue(arg2
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 Py_INCREF(Py_None
); resultobj
= Py_None
;
3823 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= NULL
;
3825 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3829 (char *) "self", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3834 if (SWIG_arg_fail(1)) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3851 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
= NULL
;
3853 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3857 (char *) "self", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3879 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
= NULL
;
3881 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3882 wxVisualAttributes result
;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "variant", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3891 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3892 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3904 wxVisualAttributes
* resultptr
;
3905 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3914 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3919 return Py_BuildValue((char *)"");
3921 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3922 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3927 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3928 PyObject
*pyobj
= NULL
;
3932 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3934 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3941 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
= NULL
;
3943 wxWindow
*arg1
= (wxWindow
*) 0 ;
3944 int arg2
= (int) -1 ;
3945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3949 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3950 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3951 long arg6
= (long) 0 ;
3952 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3953 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3954 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3959 bool temp5
= false ;
3960 bool temp8
= false ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3963 PyObject
* obj2
= 0 ;
3964 PyObject
* obj3
= 0 ;
3965 PyObject
* obj4
= 0 ;
3966 PyObject
* obj5
= 0 ;
3967 PyObject
* obj6
= 0 ;
3968 PyObject
* obj7
= 0 ;
3970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3975 if (SWIG_arg_fail(1)) SWIG_fail
;
3978 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3979 if (SWIG_arg_fail(2)) SWIG_fail
;
3985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3996 if (! PySequence_Check(obj4
)) {
3997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4000 arg5
= new wxArrayString
;
4002 int i
, len
=PySequence_Length(obj4
);
4003 for (i
=0; i
<len
; i
++) {
4004 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4005 wxString
* s
= wxString_in_helper(item
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4015 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4016 if (SWIG_arg_fail(6)) SWIG_fail
;
4021 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(7)) SWIG_fail
;
4024 SWIG_null_ref("wxValidator");
4026 if (SWIG_arg_fail(7)) SWIG_fail
;
4031 arg8
= wxString_in_helper(obj7
);
4032 if (arg8
== NULL
) SWIG_fail
;
4037 if (!wxPyCheckForApp()) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4046 if (temp5
) delete arg5
;
4055 if (temp5
) delete arg5
;
4065 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= NULL
;
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
4074 if (!wxPyCheckForApp()) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (wxChoice
*)new wxChoice();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4088 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
= NULL
;
4090 wxChoice
*arg1
= (wxChoice
*) 0 ;
4091 wxWindow
*arg2
= (wxWindow
*) 0 ;
4092 int arg3
= (int) -1 ;
4093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4097 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4098 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4099 long arg7
= (long) 0 ;
4100 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4101 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4102 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
4103 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4107 bool temp6
= false ;
4108 bool temp9
= false ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4111 PyObject
* obj2
= 0 ;
4112 PyObject
* obj3
= 0 ;
4113 PyObject
* obj4
= 0 ;
4114 PyObject
* obj5
= 0 ;
4115 PyObject
* obj6
= 0 ;
4116 PyObject
* obj7
= 0 ;
4117 PyObject
* obj8
= 0 ;
4119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4126 if (SWIG_arg_fail(2)) SWIG_fail
;
4129 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4130 if (SWIG_arg_fail(3)) SWIG_fail
;
4136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4147 if (! PySequence_Check(obj5
)) {
4148 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4151 arg6
= new wxArrayString
;
4153 int i
, len
=PySequence_Length(obj5
);
4154 for (i
=0; i
<len
; i
++) {
4155 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4156 wxString
* s
= wxString_in_helper(item
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4166 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4167 if (SWIG_arg_fail(7)) SWIG_fail
;
4172 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4173 if (SWIG_arg_fail(8)) SWIG_fail
;
4175 SWIG_null_ref("wxValidator");
4177 if (SWIG_arg_fail(8)) SWIG_fail
;
4182 arg9
= wxString_in_helper(obj8
);
4183 if (arg9
== NULL
) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4198 if (temp6
) delete arg6
;
4207 if (temp6
) delete arg6
;
4217 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
= NULL
;
4219 wxChoice
*arg1
= (wxChoice
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4228 if (SWIG_arg_fail(1)) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_From_int(static_cast<int >(result
));
4245 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= NULL
;
4247 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4248 wxVisualAttributes result
;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "variant", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4257 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4258 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 if (!wxPyCheckForApp()) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= wxChoice::GetClassDefaultAttributes(arg1
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 wxVisualAttributes
* resultptr
;
4271 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4280 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4285 return Py_BuildValue((char *)"");
4287 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4288 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4293 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4294 PyObject
*pyobj
= NULL
;
4298 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4300 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4307 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= NULL
;
4309 wxWindow
*arg1
= (wxWindow
*) 0 ;
4310 int arg2
= (int) -1 ;
4311 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4312 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4317 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4318 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4319 long arg7
= (long) 0 ;
4320 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4321 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4322 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4323 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4325 bool temp3
= false ;
4328 bool temp6
= false ;
4329 bool temp9
= false ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 PyObject
* obj2
= 0 ;
4333 PyObject
* obj3
= 0 ;
4334 PyObject
* obj4
= 0 ;
4335 PyObject
* obj5
= 0 ;
4336 PyObject
* obj6
= 0 ;
4337 PyObject
* obj7
= 0 ;
4338 PyObject
* obj8
= 0 ;
4340 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4349 if (SWIG_arg_fail(2)) SWIG_fail
;
4354 arg3
= wxString_in_helper(obj2
);
4355 if (arg3
== NULL
) SWIG_fail
;
4362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4373 if (! PySequence_Check(obj5
)) {
4374 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4377 arg6
= new wxArrayString
;
4379 int i
, len
=PySequence_Length(obj5
);
4380 for (i
=0; i
<len
; i
++) {
4381 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4382 wxString
* s
= wxString_in_helper(item
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4392 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4393 if (SWIG_arg_fail(7)) SWIG_fail
;
4398 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4399 if (SWIG_arg_fail(8)) SWIG_fail
;
4401 SWIG_null_ref("wxValidator");
4403 if (SWIG_arg_fail(8)) SWIG_fail
;
4408 arg9
= wxString_in_helper(obj8
);
4409 if (arg9
== NULL
) SWIG_fail
;
4414 if (!wxPyCheckForApp()) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 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
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4427 if (temp6
) delete arg6
;
4440 if (temp6
) delete arg6
;
4450 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
= NULL
;
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4459 if (!wxPyCheckForApp()) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxComboBox
*)new wxComboBox();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4473 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
= NULL
;
4475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4476 wxWindow
*arg2
= (wxWindow
*) 0 ;
4477 int arg3
= (int) -1 ;
4478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4484 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4485 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4486 long arg8
= (long) 0 ;
4487 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4488 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4489 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4490 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4492 bool temp4
= false ;
4495 bool temp7
= false ;
4496 bool temp10
= false ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 PyObject
* obj3
= 0 ;
4501 PyObject
* obj4
= 0 ;
4502 PyObject
* obj5
= 0 ;
4503 PyObject
* obj6
= 0 ;
4504 PyObject
* obj7
= 0 ;
4505 PyObject
* obj8
= 0 ;
4506 PyObject
* obj9
= 0 ;
4508 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail
;
4514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4515 if (SWIG_arg_fail(2)) SWIG_fail
;
4518 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4519 if (SWIG_arg_fail(3)) SWIG_fail
;
4524 arg4
= wxString_in_helper(obj3
);
4525 if (arg4
== NULL
) SWIG_fail
;
4532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4543 if (! PySequence_Check(obj6
)) {
4544 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4547 arg7
= new wxArrayString
;
4549 int i
, len
=PySequence_Length(obj6
);
4550 for (i
=0; i
<len
; i
++) {
4551 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4552 wxString
* s
= wxString_in_helper(item
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4562 arg8
= static_cast<long >(SWIG_As_long(obj7
));
4563 if (SWIG_arg_fail(8)) SWIG_fail
;
4568 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4569 if (SWIG_arg_fail(9)) SWIG_fail
;
4571 SWIG_null_ref("wxValidator");
4573 if (SWIG_arg_fail(9)) SWIG_fail
;
4578 arg10
= wxString_in_helper(obj9
);
4579 if (arg10
== NULL
) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 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
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4598 if (temp7
) delete arg7
;
4611 if (temp7
) delete arg7
;
4621 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
= NULL
;
4623 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= ((wxComboBox
const *)arg1
)->GetValue();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4653 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
= NULL
;
4655 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4656 wxString
*arg2
= 0 ;
4657 bool temp2
= false ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "value", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4668 arg2
= wxString_in_helper(obj1
);
4669 if (arg2
== NULL
) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 (arg1
)->SetValue((wxString
const &)*arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 Py_INCREF(Py_None
); resultobj
= Py_None
;
4694 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
= NULL
;
4696 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
= NULL
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
= NULL
;
4746 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 Py_INCREF(Py_None
); resultobj
= Py_None
;
4769 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= NULL
;
4771 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "pos", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail
;
4783 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4784 if (SWIG_arg_fail(2)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->SetInsertionPoint(arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
= NULL
;
4802 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4811 if (SWIG_arg_fail(1)) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_From_long(static_cast<long >(result
));
4828 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= NULL
;
4830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_From_long(static_cast<long >(result
));
4856 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
= NULL
;
4858 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4861 wxString
*arg4
= 0 ;
4862 bool temp4
= false ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 PyObject
* obj2
= 0 ;
4866 PyObject
* obj3
= 0 ;
4868 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail
;
4875 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4876 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4880 if (SWIG_arg_fail(3)) SWIG_fail
;
4883 arg4
= wxString_in_helper(obj3
);
4884 if (arg4
== NULL
) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4909 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
= NULL
;
4911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4916 (char *) "self",(char *) "n", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail
;
4923 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4924 if (SWIG_arg_fail(2)) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 (arg1
)->SetSelection(arg2
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 Py_INCREF(Py_None
); resultobj
= Py_None
;
4940 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
= NULL
;
4942 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 PyObject
* obj2
= 0 ;
4949 (char *) "self",(char *) "from",(char *) "to", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail
;
4956 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4957 if (SWIG_arg_fail(2)) SWIG_fail
;
4960 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4961 if (SWIG_arg_fail(3)) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 (arg1
)->SetSelection(arg2
,arg3
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
= NULL
;
4979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4983 (char *) "self", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_From_int(static_cast<int >(result
));
5005 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
= NULL
;
5007 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5008 wxString
*arg2
= 0 ;
5010 bool temp2
= false ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "self",(char *) "string", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 arg2
= wxString_in_helper(obj1
);
5022 if (arg2
== NULL
) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
= NULL
;
5051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5053 wxString
*arg3
= 0 ;
5054 bool temp3
= false ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5057 PyObject
* obj2
= 0 ;
5059 (char *) "self",(char *) "n",(char *) "string", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5067 if (SWIG_arg_fail(2)) SWIG_fail
;
5070 arg3
= wxString_in_helper(obj2
);
5071 if (arg3
== NULL
) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= NULL
;
5098 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "self",(char *) "editable", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5110 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5111 if (SWIG_arg_fail(2)) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 (arg1
)->SetEditable(arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 Py_INCREF(Py_None
); resultobj
= Py_None
;
5127 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
= NULL
;
5129 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 (arg1
)->SetInsertionPointEnd();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 Py_INCREF(Py_None
); resultobj
= Py_None
;
5152 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
= NULL
;
5154 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 PyObject
* obj2
= 0 ;
5161 (char *) "self",(char *) "from",(char *) "to", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail
;
5168 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5169 if (SWIG_arg_fail(2)) SWIG_fail
;
5172 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5173 if (SWIG_arg_fail(3)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->Remove(arg2
,arg3
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= NULL
;
5191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= NULL
;
5219 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5227 if (SWIG_arg_fail(1)) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
= NULL
;
5244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 Py_INCREF(Py_None
); resultobj
= Py_None
;
5267 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
= NULL
;
5269 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5272 (char *) "self", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 (arg1
)->SelectAll();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 Py_INCREF(Py_None
); resultobj
= Py_None
;
5292 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
= NULL
;
5294 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "self", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5320 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
= NULL
;
5322 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= NULL
;
5350 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5376 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= NULL
;
5378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5380 PyObject
* obj0
= 0 ;
5382 (char *) "self", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5404 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
= NULL
;
5406 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5432 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
= NULL
;
5434 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5435 wxVisualAttributes result
;
5436 PyObject
* obj0
= 0 ;
5438 (char *) "variant", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5444 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5457 wxVisualAttributes
* resultptr
;
5458 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5467 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5470 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5472 return Py_BuildValue((char *)"");
5474 static int _wrap_GaugeNameStr_set(PyObject
*) {
5475 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5480 static PyObject
*_wrap_GaugeNameStr_get(void) {
5481 PyObject
*pyobj
= NULL
;
5485 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5487 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5494 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
= NULL
;
5496 wxWindow
*arg1
= (wxWindow
*) 0 ;
5497 int arg2
= (int) -1 ;
5498 int arg3
= (int) 100 ;
5499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5503 long arg6
= (long) wxGA_HORIZONTAL
;
5504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5506 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5511 bool temp8
= false ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5515 PyObject
* obj3
= 0 ;
5516 PyObject
* obj4
= 0 ;
5517 PyObject
* obj5
= 0 ;
5518 PyObject
* obj6
= 0 ;
5519 PyObject
* obj7
= 0 ;
5521 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5530 if (SWIG_arg_fail(2)) SWIG_fail
;
5535 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5536 if (SWIG_arg_fail(3)) SWIG_fail
;
5542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5553 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5554 if (SWIG_arg_fail(6)) SWIG_fail
;
5559 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5560 if (SWIG_arg_fail(7)) SWIG_fail
;
5562 SWIG_null_ref("wxValidator");
5564 if (SWIG_arg_fail(7)) SWIG_fail
;
5569 arg8
= wxString_in_helper(obj7
);
5570 if (arg8
== NULL
) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5597 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= NULL
;
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5606 if (!wxPyCheckForApp()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (wxGauge
*)new wxGauge();
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5620 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
= NULL
;
5622 wxGauge
*arg1
= (wxGauge
*) 0 ;
5623 wxWindow
*arg2
= (wxWindow
*) 0 ;
5624 int arg3
= (int) -1 ;
5625 int arg4
= (int) 100 ;
5626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5628 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5629 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5630 long arg7
= (long) wxGA_HORIZONTAL
;
5631 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5632 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5633 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5634 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5638 bool temp9
= false ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5641 PyObject
* obj2
= 0 ;
5642 PyObject
* obj3
= 0 ;
5643 PyObject
* obj4
= 0 ;
5644 PyObject
* obj5
= 0 ;
5645 PyObject
* obj6
= 0 ;
5646 PyObject
* obj7
= 0 ;
5647 PyObject
* obj8
= 0 ;
5649 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail
;
5655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5656 if (SWIG_arg_fail(2)) SWIG_fail
;
5659 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5660 if (SWIG_arg_fail(3)) SWIG_fail
;
5665 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5666 if (SWIG_arg_fail(4)) SWIG_fail
;
5672 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5678 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5683 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5684 if (SWIG_arg_fail(7)) SWIG_fail
;
5689 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5690 if (SWIG_arg_fail(8)) SWIG_fail
;
5692 SWIG_null_ref("wxValidator");
5694 if (SWIG_arg_fail(8)) SWIG_fail
;
5699 arg9
= wxString_in_helper(obj8
);
5700 if (arg9
== NULL
) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5728 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
= NULL
;
5730 wxGauge
*arg1
= (wxGauge
*) 0 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "range", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5743 if (SWIG_arg_fail(2)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->SetRange(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
= NULL
;
5761 wxGauge
*arg1
= (wxGauge
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5770 if (SWIG_arg_fail(1)) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_From_int(static_cast<int >(result
));
5787 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
= NULL
;
5789 wxGauge
*arg1
= (wxGauge
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5794 (char *) "self",(char *) "pos", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail
;
5801 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5802 if (SWIG_arg_fail(2)) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 (arg1
)->SetValue(arg2
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= NULL
;
5820 wxGauge
*arg1
= (wxGauge
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= SWIG_From_int(static_cast<int >(result
));
5846 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
= NULL
;
5848 wxGauge
*arg1
= (wxGauge
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "self", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5874 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= NULL
;
5876 wxGauge
*arg1
= (wxGauge
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5881 (char *) "self",(char *) "w", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5886 if (SWIG_arg_fail(1)) SWIG_fail
;
5888 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5889 if (SWIG_arg_fail(2)) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->SetShadowWidth(arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
= NULL
;
5907 wxGauge
*arg1
= (wxGauge
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5911 (char *) "self", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5916 if (SWIG_arg_fail(1)) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_From_int(static_cast<int >(result
));
5933 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
= NULL
;
5935 wxGauge
*arg1
= (wxGauge
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5940 (char *) "self",(char *) "w", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5945 if (SWIG_arg_fail(1)) SWIG_fail
;
5947 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5948 if (SWIG_arg_fail(2)) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 (arg1
)->SetBezelFace(arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
= NULL
;
5966 wxGauge
*arg1
= (wxGauge
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_From_int(static_cast<int >(result
));
5992 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= NULL
;
5994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5995 wxVisualAttributes result
;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "variant", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6004 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6005 if (SWIG_arg_fail(1)) SWIG_fail
;
6009 if (!wxPyCheckForApp()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 wxVisualAttributes
* resultptr
;
6018 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6027 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6030 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6032 return Py_BuildValue((char *)"");
6034 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6035 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6040 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6041 PyObject
*pyobj
= NULL
;
6045 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6047 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6054 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6055 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6060 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6061 PyObject
*pyobj
= NULL
;
6065 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6067 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6074 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6075 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6080 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6081 PyObject
*pyobj
= NULL
;
6085 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6087 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6094 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= NULL
;
6096 wxWindow
*arg1
= (wxWindow
*) 0 ;
6097 int arg2
= (int) -1 ;
6098 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6099 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6104 long arg6
= (long) 0 ;
6105 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6107 wxStaticBox
*result
;
6108 bool temp3
= false ;
6111 bool temp7
= false ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 PyObject
* obj2
= 0 ;
6115 PyObject
* obj3
= 0 ;
6116 PyObject
* obj4
= 0 ;
6117 PyObject
* obj5
= 0 ;
6118 PyObject
* obj6
= 0 ;
6120 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6125 if (SWIG_arg_fail(1)) SWIG_fail
;
6128 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6129 if (SWIG_arg_fail(2)) SWIG_fail
;
6134 arg3
= wxString_in_helper(obj2
);
6135 if (arg3
== NULL
) SWIG_fail
;
6142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6153 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6154 if (SWIG_arg_fail(6)) SWIG_fail
;
6159 arg7
= wxString_in_helper(obj6
);
6160 if (arg7
== NULL
) SWIG_fail
;
6165 if (!wxPyCheckForApp()) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6195 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= NULL
;
6197 wxStaticBox
*result
;
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6204 if (!wxPyCheckForApp()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxStaticBox
*)new wxStaticBox();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6218 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= NULL
;
6220 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6221 wxWindow
*arg2
= (wxWindow
*) 0 ;
6222 int arg3
= (int) -1 ;
6223 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6224 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6225 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6226 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6227 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6228 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6229 long arg7
= (long) 0 ;
6230 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6233 bool temp4
= false ;
6236 bool temp8
= false ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6239 PyObject
* obj2
= 0 ;
6240 PyObject
* obj3
= 0 ;
6241 PyObject
* obj4
= 0 ;
6242 PyObject
* obj5
= 0 ;
6243 PyObject
* obj6
= 0 ;
6244 PyObject
* obj7
= 0 ;
6246 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6251 if (SWIG_arg_fail(1)) SWIG_fail
;
6252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6253 if (SWIG_arg_fail(2)) SWIG_fail
;
6256 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6257 if (SWIG_arg_fail(3)) SWIG_fail
;
6262 arg4
= wxString_in_helper(obj3
);
6263 if (arg4
== NULL
) SWIG_fail
;
6270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6276 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6281 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6282 if (SWIG_arg_fail(7)) SWIG_fail
;
6287 arg8
= wxString_in_helper(obj7
);
6288 if (arg8
== NULL
) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6324 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= NULL
;
6326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6327 wxVisualAttributes result
;
6328 PyObject
* obj0
= 0 ;
6330 (char *) "variant", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6336 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6337 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 if (!wxPyCheckForApp()) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 wxVisualAttributes
* resultptr
;
6350 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6359 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6362 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6364 return Py_BuildValue((char *)"");
6366 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
= NULL
;
6368 wxWindow
*arg1
= (wxWindow
*) 0 ;
6369 int arg2
= (int) -1 ;
6370 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6371 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6372 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6373 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6374 long arg5
= (long) wxLI_HORIZONTAL
;
6375 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6376 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6377 wxStaticLine
*result
;
6380 bool temp6
= false ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6385 PyObject
* obj4
= 0 ;
6386 PyObject
* obj5
= 0 ;
6388 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail
;
6396 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6397 if (SWIG_arg_fail(2)) SWIG_fail
;
6403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6414 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6415 if (SWIG_arg_fail(5)) SWIG_fail
;
6420 arg6
= wxString_in_helper(obj5
);
6421 if (arg6
== NULL
) SWIG_fail
;
6426 if (!wxPyCheckForApp()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6448 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
= NULL
;
6450 wxStaticLine
*result
;
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6457 if (!wxPyCheckForApp()) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (wxStaticLine
*)new wxStaticLine();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6471 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
= NULL
;
6473 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6474 wxWindow
*arg2
= (wxWindow
*) 0 ;
6475 int arg3
= (int) -1 ;
6476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6480 long arg6
= (long) wxLI_HORIZONTAL
;
6481 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6486 bool temp7
= false ;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6490 PyObject
* obj3
= 0 ;
6491 PyObject
* obj4
= 0 ;
6492 PyObject
* obj5
= 0 ;
6493 PyObject
* obj6
= 0 ;
6495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6500 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6505 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6506 if (SWIG_arg_fail(3)) SWIG_fail
;
6512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6523 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6524 if (SWIG_arg_fail(6)) SWIG_fail
;
6529 arg7
= wxString_in_helper(obj6
);
6530 if (arg7
== NULL
) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6558 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
= NULL
;
6560 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6564 (char *) "self", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6586 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= NULL
;
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (int)wxStaticLine::GetDefaultSize();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_From_int(static_cast<int >(result
));
6610 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
= NULL
;
6612 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6613 wxVisualAttributes result
;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "variant", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6622 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6627 if (!wxPyCheckForApp()) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 wxVisualAttributes
* resultptr
;
6636 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6645 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6648 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6650 return Py_BuildValue((char *)"");
6652 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
= NULL
;
6654 wxWindow
*arg1
= (wxWindow
*) 0 ;
6655 int arg2
= (int) -1 ;
6656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6662 long arg6
= (long) 0 ;
6663 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6665 wxStaticText
*result
;
6666 bool temp3
= false ;
6669 bool temp7
= false ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 PyObject
* obj2
= 0 ;
6673 PyObject
* obj3
= 0 ;
6674 PyObject
* obj4
= 0 ;
6675 PyObject
* obj5
= 0 ;
6676 PyObject
* obj6
= 0 ;
6678 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6686 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6687 if (SWIG_arg_fail(2)) SWIG_fail
;
6692 arg3
= wxString_in_helper(obj2
);
6693 if (arg3
== NULL
) SWIG_fail
;
6700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6711 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6712 if (SWIG_arg_fail(6)) SWIG_fail
;
6717 arg7
= wxString_in_helper(obj6
);
6718 if (arg7
== NULL
) SWIG_fail
;
6723 if (!wxPyCheckForApp()) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6753 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= NULL
;
6755 wxStaticText
*result
;
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6762 if (!wxPyCheckForApp()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (wxStaticText
*)new wxStaticText();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6776 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= NULL
;
6778 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6779 wxWindow
*arg2
= (wxWindow
*) 0 ;
6780 int arg3
= (int) -1 ;
6781 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6782 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6783 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6784 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6785 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6786 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6787 long arg7
= (long) 0 ;
6788 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6791 bool temp4
= false ;
6794 bool temp8
= false ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 PyObject
* obj3
= 0 ;
6799 PyObject
* obj4
= 0 ;
6800 PyObject
* obj5
= 0 ;
6801 PyObject
* obj6
= 0 ;
6802 PyObject
* obj7
= 0 ;
6804 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6811 if (SWIG_arg_fail(2)) SWIG_fail
;
6814 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6815 if (SWIG_arg_fail(3)) SWIG_fail
;
6820 arg4
= wxString_in_helper(obj3
);
6821 if (arg4
== NULL
) SWIG_fail
;
6828 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6834 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6839 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6840 if (SWIG_arg_fail(7)) SWIG_fail
;
6845 arg8
= wxString_in_helper(obj7
);
6846 if (arg8
== NULL
) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6882 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= NULL
;
6884 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "width", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail
;
6896 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6897 if (SWIG_arg_fail(2)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
= NULL
;
6915 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6916 wxVisualAttributes result
;
6917 PyObject
* obj0
= 0 ;
6919 (char *) "variant", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6925 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6930 if (!wxPyCheckForApp()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 wxVisualAttributes
* resultptr
;
6939 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6948 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6951 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6953 return Py_BuildValue((char *)"");
6955 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= NULL
;
6957 wxWindow
*arg1
= (wxWindow
*) 0 ;
6958 int arg2
= (int) -1 ;
6959 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6960 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6965 long arg6
= (long) 0 ;
6966 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6968 wxStaticBitmap
*result
;
6971 bool temp7
= false ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 PyObject
* obj2
= 0 ;
6975 PyObject
* obj3
= 0 ;
6976 PyObject
* obj4
= 0 ;
6977 PyObject
* obj5
= 0 ;
6978 PyObject
* obj6
= 0 ;
6980 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail
;
6988 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6989 if (SWIG_arg_fail(2)) SWIG_fail
;
6994 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6995 if (SWIG_arg_fail(3)) SWIG_fail
;
6997 SWIG_null_ref("wxBitmap");
6999 if (SWIG_arg_fail(3)) SWIG_fail
;
7005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7016 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7017 if (SWIG_arg_fail(6)) SWIG_fail
;
7022 arg7
= wxString_in_helper(obj6
);
7023 if (arg7
== NULL
) SWIG_fail
;
7028 if (!wxPyCheckForApp()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7050 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
= NULL
;
7052 wxStaticBitmap
*result
;
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7059 if (!wxPyCheckForApp()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7073 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= NULL
;
7075 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7076 wxWindow
*arg2
= (wxWindow
*) 0 ;
7077 int arg3
= (int) -1 ;
7078 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7079 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7080 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7081 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7082 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7083 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7084 long arg7
= (long) 0 ;
7085 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7086 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7090 bool temp8
= false ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 PyObject
* obj2
= 0 ;
7094 PyObject
* obj3
= 0 ;
7095 PyObject
* obj4
= 0 ;
7096 PyObject
* obj5
= 0 ;
7097 PyObject
* obj6
= 0 ;
7098 PyObject
* obj7
= 0 ;
7100 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7107 if (SWIG_arg_fail(2)) SWIG_fail
;
7110 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7111 if (SWIG_arg_fail(3)) SWIG_fail
;
7116 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7117 if (SWIG_arg_fail(4)) SWIG_fail
;
7119 SWIG_null_ref("wxBitmap");
7121 if (SWIG_arg_fail(4)) SWIG_fail
;
7127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7138 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7139 if (SWIG_arg_fail(7)) SWIG_fail
;
7144 arg8
= wxString_in_helper(obj7
);
7145 if (arg8
== NULL
) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7173 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
= NULL
;
7175 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "self", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7184 if (SWIG_arg_fail(1)) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (arg1
)->GetBitmap();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 wxBitmap
* resultptr
;
7194 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7203 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= NULL
;
7205 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7206 wxBitmap
*arg2
= 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7210 (char *) "self",(char *) "bitmap", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7215 if (SWIG_arg_fail(1)) SWIG_fail
;
7217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7218 if (SWIG_arg_fail(2)) SWIG_fail
;
7220 SWIG_null_ref("wxBitmap");
7222 if (SWIG_arg_fail(2)) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 Py_INCREF(Py_None
); resultobj
= Py_None
;
7238 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= NULL
;
7240 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7243 PyObject
* obj1
= 0 ;
7245 (char *) "self",(char *) "icon", NULL
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7250 if (SWIG_arg_fail(1)) SWIG_fail
;
7252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7253 if (SWIG_arg_fail(2)) SWIG_fail
;
7255 SWIG_null_ref("wxIcon");
7257 if (SWIG_arg_fail(2)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= NULL
;
7275 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7276 wxVisualAttributes result
;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "variant", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7285 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7286 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 if (!wxPyCheckForApp()) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7298 wxVisualAttributes
* resultptr
;
7299 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7308 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7313 return Py_BuildValue((char *)"");
7315 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7316 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7321 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7322 PyObject
*pyobj
= NULL
;
7326 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7328 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7335 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= NULL
;
7337 wxWindow
*arg1
= (wxWindow
*) 0 ;
7338 int arg2
= (int) -1 ;
7339 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7340 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7341 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7342 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7343 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7344 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7345 long arg6
= (long) 0 ;
7346 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7347 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7348 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7349 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7353 bool temp5
= false ;
7354 bool temp8
= false ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7357 PyObject
* obj2
= 0 ;
7358 PyObject
* obj3
= 0 ;
7359 PyObject
* obj4
= 0 ;
7360 PyObject
* obj5
= 0 ;
7361 PyObject
* obj6
= 0 ;
7362 PyObject
* obj7
= 0 ;
7364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7373 if (SWIG_arg_fail(2)) SWIG_fail
;
7379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7385 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7390 if (! PySequence_Check(obj4
)) {
7391 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7394 arg5
= new wxArrayString
;
7396 int i
, len
=PySequence_Length(obj4
);
7397 for (i
=0; i
<len
; i
++) {
7398 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7399 wxString
* s
= wxString_in_helper(item
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7409 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7410 if (SWIG_arg_fail(6)) SWIG_fail
;
7415 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(7)) SWIG_fail
;
7418 SWIG_null_ref("wxValidator");
7420 if (SWIG_arg_fail(7)) SWIG_fail
;
7425 arg8
= wxString_in_helper(obj7
);
7426 if (arg8
== NULL
) SWIG_fail
;
7431 if (!wxPyCheckForApp()) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7440 if (temp5
) delete arg5
;
7449 if (temp5
) delete arg5
;
7459 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
= NULL
;
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7468 if (!wxPyCheckForApp()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (wxListBox
*)new wxListBox();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7482 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
= NULL
;
7484 wxListBox
*arg1
= (wxListBox
*) 0 ;
7485 wxWindow
*arg2
= (wxWindow
*) 0 ;
7486 int arg3
= (int) -1 ;
7487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7491 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7492 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7493 long arg7
= (long) 0 ;
7494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7496 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7501 bool temp6
= false ;
7502 bool temp9
= false ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 PyObject
* obj2
= 0 ;
7506 PyObject
* obj3
= 0 ;
7507 PyObject
* obj4
= 0 ;
7508 PyObject
* obj5
= 0 ;
7509 PyObject
* obj6
= 0 ;
7510 PyObject
* obj7
= 0 ;
7511 PyObject
* obj8
= 0 ;
7513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(2)) SWIG_fail
;
7523 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7524 if (SWIG_arg_fail(3)) SWIG_fail
;
7530 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7536 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7541 if (! PySequence_Check(obj5
)) {
7542 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7545 arg6
= new wxArrayString
;
7547 int i
, len
=PySequence_Length(obj5
);
7548 for (i
=0; i
<len
; i
++) {
7549 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7550 wxString
* s
= wxString_in_helper(item
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7560 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7561 if (SWIG_arg_fail(7)) SWIG_fail
;
7566 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7567 if (SWIG_arg_fail(8)) SWIG_fail
;
7569 SWIG_null_ref("wxValidator");
7571 if (SWIG_arg_fail(8)) SWIG_fail
;
7576 arg9
= wxString_in_helper(obj8
);
7577 if (arg9
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7592 if (temp6
) delete arg6
;
7601 if (temp6
) delete arg6
;
7611 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
= NULL
;
7613 wxListBox
*arg1
= (wxListBox
*) 0 ;
7614 wxString
*arg2
= 0 ;
7616 PyObject
*arg4
= (PyObject
*) NULL
;
7617 bool temp2
= false ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 PyObject
* obj2
= 0 ;
7621 PyObject
* obj3
= 0 ;
7623 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7628 if (SWIG_arg_fail(1)) SWIG_fail
;
7630 arg2
= wxString_in_helper(obj1
);
7631 if (arg2
== NULL
) SWIG_fail
;
7635 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7636 if (SWIG_arg_fail(3)) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
= NULL
;
7665 wxListBox
*arg1
= (wxListBox
*) 0 ;
7666 wxArrayString
*arg2
= 0 ;
7668 bool temp2
= false ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7673 (char *) "self",(char *) "items",(char *) "pos", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail
;
7680 if (! PySequence_Check(obj1
)) {
7681 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7684 arg2
= new wxArrayString
;
7686 int i
, len
=PySequence_Length(obj1
);
7687 for (i
=0; i
<len
; i
++) {
7688 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7689 wxString
* s
= wxString_in_helper(item
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7697 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7698 if (SWIG_arg_fail(3)) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 if (temp2
) delete arg2
;
7714 if (temp2
) delete arg2
;
7720 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= NULL
;
7722 wxListBox
*arg1
= (wxListBox
*) 0 ;
7723 wxArrayString
*arg2
= 0 ;
7724 bool temp2
= false ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "items", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail
;
7735 if (! PySequence_Check(obj1
)) {
7736 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7739 arg2
= new wxArrayString
;
7741 int i
, len
=PySequence_Length(obj1
);
7742 for (i
=0; i
<len
; i
++) {
7743 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7744 wxString
* s
= wxString_in_helper(item
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->Set((wxArrayString
const &)*arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 if (temp2
) delete arg2
;
7765 if (temp2
) delete arg2
;
7771 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
= NULL
;
7773 wxListBox
*arg1
= (wxListBox
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7779 (char *) "self",(char *) "n", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail
;
7786 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7787 if (SWIG_arg_fail(2)) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7805 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
= NULL
;
7807 wxListBox
*arg1
= (wxListBox
*) 0 ;
7809 bool arg3
= (bool) true ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7814 (char *) "self",(char *) "n",(char *) "select", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7826 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7827 if (SWIG_arg_fail(3)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 (arg1
)->SetSelection(arg2
,arg3
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 Py_INCREF(Py_None
); resultobj
= Py_None
;
7844 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= NULL
;
7846 wxListBox
*arg1
= (wxListBox
*) 0 ;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "self",(char *) "n", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7859 if (SWIG_arg_fail(2)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->Select(arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= NULL
;
7877 wxListBox
*arg1
= (wxListBox
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7882 (char *) "self",(char *) "n", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail
;
7889 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7890 if (SWIG_arg_fail(2)) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 (arg1
)->Deselect(arg2
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 Py_INCREF(Py_None
); resultobj
= Py_None
;
7906 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
= NULL
;
7908 wxListBox
*arg1
= (wxListBox
*) 0 ;
7909 int arg2
= (int) -1 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7913 (char *) "self",(char *) "itemToLeaveSelected", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",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
;
7921 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7922 if (SWIG_arg_fail(2)) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->DeselectAll(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
= NULL
;
7941 wxListBox
*arg1
= (wxListBox
*) 0 ;
7942 wxString
*arg2
= 0 ;
7943 bool arg3
= (bool) true ;
7945 bool temp2
= false ;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj1
= 0 ;
7948 PyObject
* obj2
= 0 ;
7950 (char *) "self",(char *) "s",(char *) "select", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail
;
7957 arg2
= wxString_in_helper(obj1
);
7958 if (arg2
== NULL
) SWIG_fail
;
7963 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7964 if (SWIG_arg_fail(3)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7991 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= NULL
;
7993 wxListBox
*arg1
= (wxListBox
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "self", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8017 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= NULL
;
8019 wxListBox
*arg1
= (wxListBox
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8024 (char *) "self",(char *) "n", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8029 if (SWIG_arg_fail(1)) SWIG_fail
;
8031 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8032 if (SWIG_arg_fail(2)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 (arg1
)->SetFirstItem(arg2
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 Py_INCREF(Py_None
); resultobj
= Py_None
;
8048 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= NULL
;
8050 wxListBox
*arg1
= (wxListBox
*) 0 ;
8051 wxString
*arg2
= 0 ;
8052 bool temp2
= false ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8056 (char *) "self",(char *) "s", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 arg2
= wxString_in_helper(obj1
);
8064 if (arg2
== NULL
) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8089 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= NULL
;
8091 wxListBox
*arg1
= (wxListBox
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8094 PyObject
* obj1
= 0 ;
8096 (char *) "self",(char *) "n", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8101 if (SWIG_arg_fail(1)) SWIG_fail
;
8103 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8104 if (SWIG_arg_fail(2)) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 (arg1
)->EnsureVisible(arg2
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 Py_INCREF(Py_None
); resultobj
= Py_None
;
8120 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
= NULL
;
8122 wxListBox
*arg1
= (wxListBox
*) 0 ;
8123 wxString
*arg2
= 0 ;
8124 bool temp2
= false ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8128 (char *) "self",(char *) "s", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8135 arg2
= wxString_in_helper(obj1
);
8136 if (arg2
== NULL
) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
= NULL
;
8163 wxListBox
*arg1
= (wxListBox
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8172 if (SWIG_arg_fail(1)) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8189 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
= NULL
;
8191 wxListBox
*arg1
= (wxListBox
*) 0 ;
8193 wxColour
*arg3
= 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 PyObject
* obj2
= 0 ;
8199 (char *) "self",(char *) "item",(char *) "c", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail
;
8206 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8207 if (SWIG_arg_fail(2)) SWIG_fail
;
8211 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
= NULL
;
8229 wxListBox
*arg1
= (wxListBox
*) 0 ;
8231 wxColour
*arg3
= 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8235 PyObject
* obj2
= 0 ;
8237 (char *) "self",(char *) "item",(char *) "c", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail
;
8244 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8245 if (SWIG_arg_fail(2)) SWIG_fail
;
8249 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= NULL
;
8267 wxListBox
*arg1
= (wxListBox
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8271 PyObject
* obj1
= 0 ;
8272 PyObject
* obj2
= 0 ;
8274 (char *) "self",(char *) "item",(char *) "f", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail
;
8281 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8282 if (SWIG_arg_fail(2)) SWIG_fail
;
8285 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8286 if (SWIG_arg_fail(3)) SWIG_fail
;
8288 SWIG_null_ref("wxFont");
8290 if (SWIG_arg_fail(3)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
= NULL
;
8308 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8309 wxVisualAttributes result
;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "variant", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8318 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8323 if (!wxPyCheckForApp()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 wxVisualAttributes
* resultptr
;
8332 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8341 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8344 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8346 return Py_BuildValue((char *)"");
8348 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= NULL
;
8350 wxWindow
*arg1
= (wxWindow
*) 0 ;
8351 int arg2
= (int) -1 ;
8352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8356 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8357 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8358 long arg6
= (long) 0 ;
8359 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8360 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8361 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8362 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8363 wxCheckListBox
*result
;
8366 bool temp5
= false ;
8367 bool temp8
= false ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8371 PyObject
* obj3
= 0 ;
8372 PyObject
* obj4
= 0 ;
8373 PyObject
* obj5
= 0 ;
8374 PyObject
* obj6
= 0 ;
8375 PyObject
* obj7
= 0 ;
8377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail
;
8385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8386 if (SWIG_arg_fail(2)) SWIG_fail
;
8392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8398 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8403 if (! PySequence_Check(obj4
)) {
8404 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8407 arg5
= new wxArrayString
;
8409 int i
, len
=PySequence_Length(obj4
);
8410 for (i
=0; i
<len
; i
++) {
8411 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8412 wxString
* s
= wxString_in_helper(item
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8422 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8423 if (SWIG_arg_fail(6)) SWIG_fail
;
8428 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8429 if (SWIG_arg_fail(7)) SWIG_fail
;
8431 SWIG_null_ref("wxValidator");
8433 if (SWIG_arg_fail(7)) SWIG_fail
;
8438 arg8
= wxString_in_helper(obj7
);
8439 if (arg8
== NULL
) SWIG_fail
;
8444 if (!wxPyCheckForApp()) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8453 if (temp5
) delete arg5
;
8462 if (temp5
) delete arg5
;
8472 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
= NULL
;
8474 wxCheckListBox
*result
;
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxCheckListBox
*)new wxCheckListBox();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8495 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
= NULL
;
8497 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8498 wxWindow
*arg2
= (wxWindow
*) 0 ;
8499 int arg3
= (int) -1 ;
8500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8504 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8505 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8506 long arg7
= (long) 0 ;
8507 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8508 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8509 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8510 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8514 bool temp6
= false ;
8515 bool temp9
= false ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 PyObject
* obj4
= 0 ;
8521 PyObject
* obj5
= 0 ;
8522 PyObject
* obj6
= 0 ;
8523 PyObject
* obj7
= 0 ;
8524 PyObject
* obj8
= 0 ;
8526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail
;
8532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(2)) SWIG_fail
;
8536 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8537 if (SWIG_arg_fail(3)) SWIG_fail
;
8543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8554 if (! PySequence_Check(obj5
)) {
8555 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8558 arg6
= new wxArrayString
;
8560 int i
, len
=PySequence_Length(obj5
);
8561 for (i
=0; i
<len
; i
++) {
8562 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8563 wxString
* s
= wxString_in_helper(item
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8573 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8574 if (SWIG_arg_fail(7)) SWIG_fail
;
8579 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8580 if (SWIG_arg_fail(8)) SWIG_fail
;
8582 SWIG_null_ref("wxValidator");
8584 if (SWIG_arg_fail(8)) SWIG_fail
;
8589 arg9
= wxString_in_helper(obj8
);
8590 if (arg9
== NULL
) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8605 if (temp6
) delete arg6
;
8614 if (temp6
) delete arg6
;
8624 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= NULL
;
8626 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8632 (char *) "self",(char *) "index", NULL
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8637 if (SWIG_arg_fail(1)) SWIG_fail
;
8639 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8640 if (SWIG_arg_fail(2)) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->IsChecked(arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8658 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= NULL
;
8660 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8662 int arg3
= (int) true ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8667 (char *) "self",(char *) "index",(char *) "check", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail
;
8674 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8675 if (SWIG_arg_fail(2)) SWIG_fail
;
8679 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8680 if (SWIG_arg_fail(3)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 (arg1
)->Check(arg2
,arg3
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
= NULL
;
8699 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8706 (char *) "self",(char *) "pt", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail
;
8714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_From_int(static_cast<int >(result
));
8732 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= NULL
;
8734 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "x",(char *) "y", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8750 if (SWIG_arg_fail(2)) SWIG_fail
;
8753 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8754 if (SWIG_arg_fail(3)) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_From_int(static_cast<int >(result
));
8772 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8775 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8777 return Py_BuildValue((char *)"");
8779 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8780 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8785 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8786 PyObject
*pyobj
= NULL
;
8790 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8792 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8799 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
= NULL
;
8801 wxColour
const &arg1_defvalue
= wxNullColour
;
8802 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8803 wxColour
const &arg2_defvalue
= wxNullColour
;
8804 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8805 wxFont
const &arg3_defvalue
= wxNullFont
;
8806 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8807 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 PyObject
* obj3
= 0 ;
8816 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8823 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8834 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8835 if (SWIG_arg_fail(3)) SWIG_fail
;
8837 SWIG_null_ref("wxFont");
8839 if (SWIG_arg_fail(3)) SWIG_fail
;
8844 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8845 if (SWIG_arg_fail(4)) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8862 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= NULL
;
8864 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
= NULL
;
8889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8897 if (SWIG_arg_fail(1)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= NULL
;
8914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8915 wxColour
*arg2
= 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "colText", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= NULL
;
8946 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8947 wxColour
*arg2
= 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8952 (char *) "self",(char *) "colBack", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail
;
8960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= NULL
;
8978 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8980 long arg3
= (long) wxTEXT_ATTR_FONT
;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8985 (char *) "self",(char *) "font",(char *) "flags", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8993 if (SWIG_arg_fail(2)) SWIG_fail
;
8995 SWIG_null_ref("wxFont");
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
9001 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9002 if (SWIG_arg_fail(3)) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
= NULL
;
9021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9022 wxTextAttrAlignment arg2
;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9026 (char *) "self",(char *) "alignment", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9031 if (SWIG_arg_fail(1)) SWIG_fail
;
9033 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9034 if (SWIG_arg_fail(2)) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 (arg1
)->SetAlignment(arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
= NULL
;
9052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9053 wxArrayInt
*arg2
= 0 ;
9054 bool temp2
= false ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9058 (char *) "self",(char *) "tabs", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail
;
9065 if (! PySequence_Check(obj1
)) {
9066 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9069 arg2
= new wxArrayInt
;
9071 int i
, len
=PySequence_Length(obj1
);
9072 for (i
=0; i
<len
; i
++) {
9073 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9074 PyObject
* number
= PyNumber_Int(item
);
9075 arg2
->Add(PyInt_AS_LONG(number
));
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 if (temp2
) delete arg2
;
9094 if (temp2
) delete arg2
;
9100 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= NULL
;
9102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9104 int arg3
= (int) 0 ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9109 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail
;
9116 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9117 if (SWIG_arg_fail(2)) SWIG_fail
;
9121 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9122 if (SWIG_arg_fail(3)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 (arg1
)->SetLeftIndent(arg2
,arg3
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
= NULL
;
9141 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "indent", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9154 if (SWIG_arg_fail(2)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 (arg1
)->SetRightIndent(arg2
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9170 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= NULL
;
9172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9177 (char *) "self",(char *) "flags", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9185 if (SWIG_arg_fail(2)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 (arg1
)->SetFlags(arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
= NULL
;
9203 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9229 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= NULL
;
9231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9257 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
= NULL
;
9259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9263 (char *) "self", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9268 if (SWIG_arg_fail(1)) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
= NULL
;
9287 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
= NULL
;
9315 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9324 if (SWIG_arg_fail(1)) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= NULL
;
9343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9347 (char *) "self", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9352 if (SWIG_arg_fail(1)) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= NULL
;
9371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9397 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= NULL
;
9399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9405 (char *) "self",(char *) "flag", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9413 if (SWIG_arg_fail(2)) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9431 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= NULL
;
9433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9447 result
= (wxColour
*) &_result_ref
;
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9460 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= NULL
;
9462 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9476 result
= (wxColour
*) &_result_ref
;
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9489 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= NULL
;
9491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9505 result
= (wxFont
*) &_result_ref
;
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 wxFont
* resultptr
= new wxFont(*result
);
9513 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9521 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
= NULL
;
9523 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9524 wxTextAttrAlignment result
;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_From_int((result
));
9547 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
= NULL
;
9549 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9563 result
= (wxArrayInt
*) &_result_ref
;
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= PyList_New(0);
9572 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9573 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9574 PyList_Append(resultobj
, val
);
9584 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= NULL
;
9586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9595 if (SWIG_arg_fail(1)) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_From_long(static_cast<long >(result
));
9612 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
= NULL
;
9614 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9618 (char *) "self", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9623 if (SWIG_arg_fail(1)) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_From_long(static_cast<long >(result
));
9640 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= NULL
;
9642 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9651 if (SWIG_arg_fail(1)) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_From_long(static_cast<long >(result
));
9668 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= NULL
;
9670 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9679 if (SWIG_arg_fail(1)) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_From_long(static_cast<long >(result
));
9696 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= NULL
;
9698 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9702 (char *) "self", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9724 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
= NULL
;
9726 wxTextAttr
*arg1
= 0 ;
9727 wxTextAttr
*arg2
= 0 ;
9728 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 PyObject
* obj2
= 0 ;
9734 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail
;
9742 SWIG_null_ref("wxTextAttr");
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(2)) SWIG_fail
;
9750 SWIG_null_ref("wxTextAttr");
9752 if (SWIG_arg_fail(2)) SWIG_fail
;
9754 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9755 if (SWIG_arg_fail(3)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 wxTextAttr
* resultptr
;
9765 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9774 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9779 return Py_BuildValue((char *)"");
9781 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= NULL
;
9783 wxWindow
*arg1
= (wxWindow
*) 0 ;
9784 int arg2
= (int) -1 ;
9785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9791 long arg6
= (long) 0 ;
9792 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9793 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9794 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9797 bool temp3
= false ;
9800 bool temp8
= false ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 PyObject
* obj3
= 0 ;
9805 PyObject
* obj4
= 0 ;
9806 PyObject
* obj5
= 0 ;
9807 PyObject
* obj6
= 0 ;
9808 PyObject
* obj7
= 0 ;
9810 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail
;
9818 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9819 if (SWIG_arg_fail(2)) SWIG_fail
;
9824 arg3
= wxString_in_helper(obj2
);
9825 if (arg3
== NULL
) SWIG_fail
;
9832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9843 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9844 if (SWIG_arg_fail(6)) SWIG_fail
;
9849 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9850 if (SWIG_arg_fail(7)) SWIG_fail
;
9852 SWIG_null_ref("wxValidator");
9854 if (SWIG_arg_fail(7)) SWIG_fail
;
9859 arg8
= wxString_in_helper(obj7
);
9860 if (arg8
== NULL
) SWIG_fail
;
9865 if (!wxPyCheckForApp()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9895 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
= NULL
;
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9904 if (!wxPyCheckForApp()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (wxTextCtrl
*)new wxTextCtrl();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9918 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
= NULL
;
9920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 wxWindow
*arg2
= (wxWindow
*) 0 ;
9922 int arg3
= (int) -1 ;
9923 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9925 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9926 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9927 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9928 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9929 long arg7
= (long) 0 ;
9930 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9931 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9932 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9933 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9935 bool temp4
= false ;
9938 bool temp9
= false ;
9939 PyObject
* obj0
= 0 ;
9940 PyObject
* obj1
= 0 ;
9941 PyObject
* obj2
= 0 ;
9942 PyObject
* obj3
= 0 ;
9943 PyObject
* obj4
= 0 ;
9944 PyObject
* obj5
= 0 ;
9945 PyObject
* obj6
= 0 ;
9946 PyObject
* obj7
= 0 ;
9947 PyObject
* obj8
= 0 ;
9949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9954 if (SWIG_arg_fail(1)) SWIG_fail
;
9955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(2)) SWIG_fail
;
9959 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9960 if (SWIG_arg_fail(3)) SWIG_fail
;
9965 arg4
= wxString_in_helper(obj3
);
9966 if (arg4
== NULL
) SWIG_fail
;
9973 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9979 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9984 arg7
= static_cast<long >(SWIG_As_long(obj6
));
9985 if (SWIG_arg_fail(7)) SWIG_fail
;
9990 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9991 if (SWIG_arg_fail(8)) SWIG_fail
;
9993 SWIG_null_ref("wxValidator");
9995 if (SWIG_arg_fail(8)) SWIG_fail
;
10000 arg9
= wxString_in_helper(obj8
);
10001 if (arg9
== NULL
) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= NULL
;
10039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= NULL
;
10071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10072 wxString
*arg2
= 0 ;
10073 bool temp2
= false ;
10074 PyObject
* obj0
= 0 ;
10075 PyObject
* obj1
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self",(char *) "value", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail
;
10084 arg2
= wxString_in_helper(obj1
);
10085 if (arg2
== NULL
) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 (arg1
)->SetValue((wxString
const &)*arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
= NULL
;
10112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 PyObject
* obj2
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self",(char *) "from",(char *) "to", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10125 if (SWIG_arg_fail(1)) SWIG_fail
;
10127 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10128 if (SWIG_arg_fail(2)) SWIG_fail
;
10131 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10132 if (SWIG_arg_fail(3)) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10154 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
= NULL
;
10156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj1
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self",(char *) "lineNo", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10167 if (SWIG_arg_fail(1)) SWIG_fail
;
10169 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10170 if (SWIG_arg_fail(2)) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_From_int(static_cast<int >(result
));
10188 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= NULL
;
10190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "lineNo", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail
;
10203 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10204 if (SWIG_arg_fail(2)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10226 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= NULL
;
10228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10237 if (SWIG_arg_fail(1)) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_From_int(static_cast<int >(result
));
10254 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= NULL
;
10256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10265 if (SWIG_arg_fail(1)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= NULL
;
10284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
= NULL
;
10312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10321 if (SWIG_arg_fail(1)) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
= NULL
;
10340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10349 if (SWIG_arg_fail(1)) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10366 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
= NULL
;
10368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10369 long *arg2
= (long *) 0 ;
10370 long *arg3
= (long *) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10381 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10394 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10395 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10396 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10403 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= NULL
;
10405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10414 if (SWIG_arg_fail(1)) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10435 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= NULL
;
10437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10445 if (SWIG_arg_fail(1)) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= NULL
;
10462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10465 wxString
*arg4
= 0 ;
10466 bool temp4
= false ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail
;
10479 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10480 if (SWIG_arg_fail(2)) SWIG_fail
;
10483 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10484 if (SWIG_arg_fail(3)) SWIG_fail
;
10487 arg4
= wxString_in_helper(obj3
);
10488 if (arg4
== NULL
) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
= NULL
;
10515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "from",(char *) "to", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail
;
10529 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10530 if (SWIG_arg_fail(2)) SWIG_fail
;
10533 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10534 if (SWIG_arg_fail(3)) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->Remove(arg2
,arg3
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10550 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= NULL
;
10552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10553 wxString
*arg2
= 0 ;
10555 bool temp2
= false ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "file", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10564 if (SWIG_arg_fail(1)) SWIG_fail
;
10566 arg2
= wxString_in_helper(obj1
);
10567 if (arg2
== NULL
) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10594 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= NULL
;
10596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10597 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10598 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10600 bool temp2
= false ;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self",(char *) "file", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail
;
10612 arg2
= wxString_in_helper(obj1
);
10613 if (arg2
== NULL
) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= NULL
;
10643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10651 if (SWIG_arg_fail(1)) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->MarkDirty();
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= NULL
;
10668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10676 if (SWIG_arg_fail(1)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->DiscardEdits();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
= NULL
;
10693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10694 unsigned long arg2
;
10695 PyObject
* obj0
= 0 ;
10696 PyObject
* obj1
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self",(char *) "len", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10703 if (SWIG_arg_fail(1)) SWIG_fail
;
10705 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10706 if (SWIG_arg_fail(2)) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 (arg1
)->SetMaxLength(arg2
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= NULL
;
10724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10725 wxString
*arg2
= 0 ;
10726 bool temp2
= false ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "text", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail
;
10737 arg2
= wxString_in_helper(obj1
);
10738 if (arg2
== NULL
) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->WriteText((wxString
const &)*arg2
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10763 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
= NULL
;
10765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10766 wxString
*arg2
= 0 ;
10767 bool temp2
= false ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "text", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10776 if (SWIG_arg_fail(1)) SWIG_fail
;
10778 arg2
= wxString_in_helper(obj1
);
10779 if (arg2
== NULL
) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->AppendText((wxString
const &)*arg2
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= NULL
;
10806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10807 wxKeyEvent
*arg2
= 0 ;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self",(char *) "event", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(2)) SWIG_fail
;
10821 if (arg2
== NULL
) {
10822 SWIG_null_ref("wxKeyEvent");
10824 if (SWIG_arg_fail(2)) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10842 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= NULL
;
10844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10847 wxTextAttr
*arg4
= 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 PyObject
* obj3
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10861 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10862 if (SWIG_arg_fail(2)) SWIG_fail
;
10865 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10866 if (SWIG_arg_fail(3)) SWIG_fail
;
10869 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10870 if (SWIG_arg_fail(4)) SWIG_fail
;
10871 if (arg4
== NULL
) {
10872 SWIG_null_ref("wxTextAttr");
10874 if (SWIG_arg_fail(4)) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10892 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= NULL
;
10894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10896 wxTextAttr
*arg3
= 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "position",(char *) "style", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10907 if (SWIG_arg_fail(1)) SWIG_fail
;
10909 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10910 if (SWIG_arg_fail(2)) SWIG_fail
;
10913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(3)) SWIG_fail
;
10915 if (arg3
== NULL
) {
10916 SWIG_null_ref("wxTextAttr");
10918 if (SWIG_arg_fail(3)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10936 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= NULL
;
10938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10939 wxTextAttr
*arg2
= 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "style", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail
;
10953 if (arg2
== NULL
) {
10954 SWIG_null_ref("wxTextAttr");
10956 if (SWIG_arg_fail(2)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= NULL
;
10976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10977 wxTextAttr
*result
;
10978 PyObject
* obj0
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10990 result
= (wxTextAttr
*) &_result_ref
;
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11003 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= NULL
;
11005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "x",(char *) "y", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11018 if (SWIG_arg_fail(1)) SWIG_fail
;
11020 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11021 if (SWIG_arg_fail(2)) SWIG_fail
;
11024 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11025 if (SWIG_arg_fail(3)) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_From_long(static_cast<long >(result
));
11043 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
= NULL
;
11045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11047 long *arg3
= (long *) 0 ;
11048 long *arg4
= (long *) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "pos", NULL
11059 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11060 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail
;
11065 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11066 if (SWIG_arg_fail(2)) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11077 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11078 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11079 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11086 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
= NULL
;
11088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self",(char *) "pos", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail
;
11100 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11101 if (SWIG_arg_fail(2)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->ShowPosition(arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
= NULL
;
11119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11120 wxPoint
*arg2
= 0 ;
11121 long *arg3
= (long *) 0 ;
11122 long *arg4
= (long *) 0 ;
11123 wxTextCtrlHitTestResult result
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "pt", NULL
11135 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11136 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail
;
11142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= SWIG_From_int((result
));
11152 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11153 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11154 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11155 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11162 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
= NULL
;
11164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11165 wxPoint
*arg2
= 0 ;
11166 long *arg3
= (long *) 0 ;
11167 wxTextCtrlHitTestResult result
;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "pt", NULL
11177 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11180 if (SWIG_arg_fail(1)) SWIG_fail
;
11183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_From_int((result
));
11193 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11194 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11201 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
= NULL
;
11203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= NULL
;
11228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 Py_INCREF(Py_None
); resultobj
= Py_None
;
11251 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= NULL
;
11253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 Py_INCREF(Py_None
); resultobj
= Py_None
;
11276 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
= NULL
;
11278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11304 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
= NULL
;
11306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11332 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= NULL
;
11334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11360 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
= NULL
;
11362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= NULL
;
11387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 Py_INCREF(Py_None
); resultobj
= Py_None
;
11410 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
= NULL
;
11412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11421 if (SWIG_arg_fail(1)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11438 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
= NULL
;
11440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11449 if (SWIG_arg_fail(1)) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11466 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
= NULL
;
11468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "pos", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail
;
11480 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11481 if (SWIG_arg_fail(2)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 (arg1
)->SetInsertionPoint(arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 Py_INCREF(Py_None
); resultobj
= Py_None
;
11497 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
= NULL
;
11499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 (arg1
)->SetInsertionPointEnd();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 Py_INCREF(Py_None
); resultobj
= Py_None
;
11522 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
= NULL
;
11524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_long(static_cast<long >(result
));
11550 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
= NULL
;
11552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_From_long(static_cast<long >(result
));
11578 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
= NULL
;
11580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "from",(char *) "to", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail
;
11594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11595 if (SWIG_arg_fail(2)) SWIG_fail
;
11598 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11599 if (SWIG_arg_fail(3)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->SetSelection(arg2
,arg3
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= NULL
;
11617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->SelectAll();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
= NULL
;
11642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "editable", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11652 if (SWIG_arg_fail(1)) SWIG_fail
;
11654 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11655 if (SWIG_arg_fail(2)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->SetEditable(arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= NULL
;
11673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11674 wxString
*arg2
= 0 ;
11675 bool temp2
= false ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "text", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail
;
11686 arg2
= wxString_in_helper(obj1
);
11687 if (arg2
== NULL
) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
= NULL
;
11714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 PyObject
* obj2
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "from",(char *) "to", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail
;
11729 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11730 if (SWIG_arg_fail(2)) SWIG_fail
;
11733 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11734 if (SWIG_arg_fail(3)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11756 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= NULL
;
11758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11759 wxVisualAttributes result
;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "variant", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11768 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11769 if (SWIG_arg_fail(1)) SWIG_fail
;
11773 if (!wxPyCheckForApp()) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 wxVisualAttributes
* resultptr
;
11782 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11791 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11794 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11796 return Py_BuildValue((char *)"");
11798 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
= NULL
;
11801 wxMouseEvent
*arg2
= 0 ;
11804 wxTextUrlEvent
*result
;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 PyObject
* obj3
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11815 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11816 if (SWIG_arg_fail(1)) SWIG_fail
;
11819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(2)) SWIG_fail
;
11821 if (arg2
== NULL
) {
11822 SWIG_null_ref("wxMouseEvent");
11824 if (SWIG_arg_fail(2)) SWIG_fail
;
11827 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11828 if (SWIG_arg_fail(3)) SWIG_fail
;
11831 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11832 if (SWIG_arg_fail(4)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11848 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
= NULL
;
11850 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11851 wxMouseEvent
*result
;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11864 result
= (wxMouseEvent
*) &_result_ref
;
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11877 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
= NULL
;
11879 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_From_long(static_cast<long >(result
));
11905 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= NULL
;
11907 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_From_long(static_cast<long >(result
));
11933 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11936 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11938 return Py_BuildValue((char *)"");
11940 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11941 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11946 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11947 PyObject
*pyobj
= NULL
;
11951 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11953 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11960 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
= NULL
;
11962 wxWindow
*arg1
= (wxWindow
*) 0 ;
11963 int arg2
= (int) -1 ;
11964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11968 long arg5
= (long) wxSB_HORIZONTAL
;
11969 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11970 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11971 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11973 wxScrollBar
*result
;
11976 bool temp7
= false ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 PyObject
* obj3
= 0 ;
11981 PyObject
* obj4
= 0 ;
11982 PyObject
* obj5
= 0 ;
11983 PyObject
* obj6
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11994 if (SWIG_arg_fail(2)) SWIG_fail
;
12000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12006 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12011 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12012 if (SWIG_arg_fail(5)) SWIG_fail
;
12017 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(6)) SWIG_fail
;
12019 if (arg6
== NULL
) {
12020 SWIG_null_ref("wxValidator");
12022 if (SWIG_arg_fail(6)) SWIG_fail
;
12027 arg7
= wxString_in_helper(obj6
);
12028 if (arg7
== NULL
) SWIG_fail
;
12033 if (!wxPyCheckForApp()) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12055 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= NULL
;
12057 wxScrollBar
*result
;
12058 char *kwnames
[] = {
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12064 if (!wxPyCheckForApp()) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (wxScrollBar
*)new wxScrollBar();
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12078 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
= NULL
;
12080 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12081 wxWindow
*arg2
= (wxWindow
*) 0 ;
12082 int arg3
= (int) -1 ;
12083 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12084 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12085 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12086 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12087 long arg6
= (long) wxSB_HORIZONTAL
;
12088 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12089 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12090 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12091 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12095 bool temp8
= false ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 PyObject
* obj2
= 0 ;
12099 PyObject
* obj3
= 0 ;
12100 PyObject
* obj4
= 0 ;
12101 PyObject
* obj5
= 0 ;
12102 PyObject
* obj6
= 0 ;
12103 PyObject
* obj7
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(2)) SWIG_fail
;
12115 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12116 if (SWIG_arg_fail(3)) SWIG_fail
;
12122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12133 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12134 if (SWIG_arg_fail(6)) SWIG_fail
;
12139 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(7)) SWIG_fail
;
12141 if (arg7
== NULL
) {
12142 SWIG_null_ref("wxValidator");
12144 if (SWIG_arg_fail(7)) SWIG_fail
;
12149 arg8
= wxString_in_helper(obj7
);
12150 if (arg8
== NULL
) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12178 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= NULL
;
12180 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12189 if (SWIG_arg_fail(1)) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_From_int(static_cast<int >(result
));
12206 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
= NULL
;
12208 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12217 if (SWIG_arg_fail(1)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_From_int(static_cast<int >(result
));
12234 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
= NULL
;
12236 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_From_int(static_cast<int >(result
));
12262 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= NULL
;
12264 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_From_int(static_cast<int >(result
));
12290 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
= NULL
;
12292 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12318 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
= NULL
;
12320 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "viewStart", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12333 if (SWIG_arg_fail(2)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->SetThumbPosition(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= NULL
;
12351 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12356 bool arg6
= (bool) true ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 PyObject
* obj3
= 0 ;
12361 PyObject
* obj4
= 0 ;
12362 PyObject
* obj5
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12372 if (SWIG_arg_fail(2)) SWIG_fail
;
12375 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12376 if (SWIG_arg_fail(3)) SWIG_fail
;
12379 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12380 if (SWIG_arg_fail(4)) SWIG_fail
;
12383 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12384 if (SWIG_arg_fail(5)) SWIG_fail
;
12388 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12389 if (SWIG_arg_fail(6)) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 Py_INCREF(Py_None
); resultobj
= Py_None
;
12406 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
= NULL
;
12408 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12409 wxVisualAttributes result
;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "variant", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12418 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12419 if (SWIG_arg_fail(1)) SWIG_fail
;
12423 if (!wxPyCheckForApp()) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 wxVisualAttributes
* resultptr
;
12432 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12441 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12444 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12446 return Py_BuildValue((char *)"");
12448 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12449 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12454 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12455 PyObject
*pyobj
= NULL
;
12459 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12461 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12468 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12469 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12474 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12475 PyObject
*pyobj
= NULL
;
12479 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12481 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12488 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= NULL
;
12490 wxWindow
*arg1
= (wxWindow
*) 0 ;
12491 int arg2
= (int) -1 ;
12492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12496 long arg5
= (long) wxSP_HORIZONTAL
;
12497 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12499 wxSpinButton
*result
;
12502 bool temp6
= false ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 PyObject
* obj2
= 0 ;
12506 PyObject
* obj3
= 0 ;
12507 PyObject
* obj4
= 0 ;
12508 PyObject
* obj5
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail
;
12518 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12519 if (SWIG_arg_fail(2)) SWIG_fail
;
12525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12536 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12537 if (SWIG_arg_fail(5)) SWIG_fail
;
12542 arg6
= wxString_in_helper(obj5
);
12543 if (arg6
== NULL
) SWIG_fail
;
12548 if (!wxPyCheckForApp()) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12570 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= NULL
;
12572 wxSpinButton
*result
;
12573 char *kwnames
[] = {
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12579 if (!wxPyCheckForApp()) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxSpinButton
*)new wxSpinButton();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12593 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= NULL
;
12595 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12596 wxWindow
*arg2
= (wxWindow
*) 0 ;
12597 int arg3
= (int) -1 ;
12598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12602 long arg6
= (long) wxSP_HORIZONTAL
;
12603 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12608 bool temp7
= false ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 PyObject
* obj2
= 0 ;
12612 PyObject
* obj3
= 0 ;
12613 PyObject
* obj4
= 0 ;
12614 PyObject
* obj5
= 0 ;
12615 PyObject
* obj6
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(2)) SWIG_fail
;
12627 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12628 if (SWIG_arg_fail(3)) SWIG_fail
;
12634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12645 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12646 if (SWIG_arg_fail(6)) SWIG_fail
;
12651 arg7
= wxString_in_helper(obj6
);
12652 if (arg7
== NULL
) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12680 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= NULL
;
12682 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_From_int(static_cast<int >(result
));
12708 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= NULL
;
12710 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_From_int(static_cast<int >(result
));
12736 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
= NULL
;
12738 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_From_int(static_cast<int >(result
));
12764 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
= NULL
;
12766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "val", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->SetValue(arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 Py_INCREF(Py_None
); resultobj
= Py_None
;
12795 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
= NULL
;
12797 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "minVal", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12810 if (SWIG_arg_fail(2)) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 (arg1
)->SetMin(arg2
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
= NULL
;
12828 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self",(char *) "maxVal", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12841 if (SWIG_arg_fail(2)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetMax(arg2
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 Py_INCREF(Py_None
); resultobj
= Py_None
;
12857 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= NULL
;
12859 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail
;
12873 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12874 if (SWIG_arg_fail(2)) SWIG_fail
;
12877 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12878 if (SWIG_arg_fail(3)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->SetRange(arg2
,arg3
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 Py_INCREF(Py_None
); resultobj
= Py_None
;
12894 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
= NULL
;
12896 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= NULL
;
12924 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12925 wxVisualAttributes result
;
12926 PyObject
* obj0
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "variant", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12934 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12939 if (!wxPyCheckForApp()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 wxVisualAttributes
* resultptr
;
12948 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12957 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12960 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12962 return Py_BuildValue((char *)"");
12964 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= NULL
;
12966 wxWindow
*arg1
= (wxWindow
*) 0 ;
12967 int arg2
= (int) -1 ;
12968 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12969 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12974 long arg6
= (long) wxSP_ARROW_KEYS
;
12975 int arg7
= (int) 0 ;
12976 int arg8
= (int) 100 ;
12977 int arg9
= (int) 0 ;
12978 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12979 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12980 wxSpinCtrl
*result
;
12981 bool temp3
= false ;
12984 bool temp10
= false ;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 PyObject
* obj2
= 0 ;
12988 PyObject
* obj3
= 0 ;
12989 PyObject
* obj4
= 0 ;
12990 PyObject
* obj5
= 0 ;
12991 PyObject
* obj6
= 0 ;
12992 PyObject
* obj7
= 0 ;
12993 PyObject
* obj8
= 0 ;
12994 PyObject
* obj9
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13001 if (SWIG_arg_fail(1)) SWIG_fail
;
13004 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13005 if (SWIG_arg_fail(2)) SWIG_fail
;
13010 arg3
= wxString_in_helper(obj2
);
13011 if (arg3
== NULL
) SWIG_fail
;
13018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13029 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13030 if (SWIG_arg_fail(6)) SWIG_fail
;
13035 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13036 if (SWIG_arg_fail(7)) SWIG_fail
;
13041 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13042 if (SWIG_arg_fail(8)) SWIG_fail
;
13047 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13048 if (SWIG_arg_fail(9)) SWIG_fail
;
13053 arg10
= wxString_in_helper(obj9
);
13054 if (arg10
== NULL
) SWIG_fail
;
13059 if (!wxPyCheckForApp()) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13089 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= NULL
;
13091 wxSpinCtrl
*result
;
13092 char *kwnames
[] = {
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13098 if (!wxPyCheckForApp()) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13112 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= NULL
;
13114 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13115 wxWindow
*arg2
= (wxWindow
*) 0 ;
13116 int arg3
= (int) -1 ;
13117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13123 long arg7
= (long) wxSP_ARROW_KEYS
;
13124 int arg8
= (int) 0 ;
13125 int arg9
= (int) 100 ;
13126 int arg10
= (int) 0 ;
13127 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13128 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13130 bool temp4
= false ;
13133 bool temp11
= false ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 PyObject
* obj3
= 0 ;
13138 PyObject
* obj4
= 0 ;
13139 PyObject
* obj5
= 0 ;
13140 PyObject
* obj6
= 0 ;
13141 PyObject
* obj7
= 0 ;
13142 PyObject
* obj8
= 0 ;
13143 PyObject
* obj9
= 0 ;
13144 PyObject
* obj10
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(2)) SWIG_fail
;
13156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13157 if (SWIG_arg_fail(3)) SWIG_fail
;
13162 arg4
= wxString_in_helper(obj3
);
13163 if (arg4
== NULL
) SWIG_fail
;
13170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13181 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13182 if (SWIG_arg_fail(7)) SWIG_fail
;
13187 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13188 if (SWIG_arg_fail(8)) SWIG_fail
;
13193 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13194 if (SWIG_arg_fail(9)) SWIG_fail
;
13199 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13200 if (SWIG_arg_fail(10)) SWIG_fail
;
13205 arg11
= wxString_in_helper(obj10
);
13206 if (arg11
== NULL
) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= NULL
;
13244 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13253 if (SWIG_arg_fail(1)) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_From_int(static_cast<int >(result
));
13270 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
= NULL
;
13272 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "value", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail
;
13284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13285 if (SWIG_arg_fail(2)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 (arg1
)->SetValue(arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
= NULL
;
13303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13304 wxString
*arg2
= 0 ;
13305 bool temp2
= false ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "text", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail
;
13316 arg2
= wxString_in_helper(obj1
);
13317 if (arg2
== NULL
) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->SetValue((wxString
const &)*arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
= NULL
;
13344 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 PyObject
* obj2
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13356 if (SWIG_arg_fail(1)) SWIG_fail
;
13358 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13359 if (SWIG_arg_fail(2)) SWIG_fail
;
13362 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13363 if (SWIG_arg_fail(3)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->SetRange(arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
= NULL
;
13381 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_From_int(static_cast<int >(result
));
13407 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
= NULL
;
13409 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13418 if (SWIG_arg_fail(1)) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_From_int(static_cast<int >(result
));
13435 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
= NULL
;
13437 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 PyObject
* obj2
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "from",(char *) "to", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13449 if (SWIG_arg_fail(1)) SWIG_fail
;
13451 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13452 if (SWIG_arg_fail(2)) SWIG_fail
;
13455 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13456 if (SWIG_arg_fail(3)) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->SetSelection(arg2
,arg3
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= NULL
;
13474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13475 wxVisualAttributes result
;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "variant", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13484 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13485 if (SWIG_arg_fail(1)) SWIG_fail
;
13489 if (!wxPyCheckForApp()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 wxVisualAttributes
* resultptr
;
13498 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13507 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13510 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13512 return Py_BuildValue((char *)"");
13514 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
= NULL
;
13516 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13517 int arg2
= (int) 0 ;
13518 wxSpinEvent
*result
;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "commandType",(char *) "winid", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13528 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13529 if (SWIG_arg_fail(1)) SWIG_fail
;
13534 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13535 if (SWIG_arg_fail(2)) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13552 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
= NULL
;
13554 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13563 if (SWIG_arg_fail(1)) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_From_int(static_cast<int >(result
));
13580 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= NULL
;
13582 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 PyObject
* obj1
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self",(char *) "pos", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13592 if (SWIG_arg_fail(1)) SWIG_fail
;
13594 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13595 if (SWIG_arg_fail(2)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->SetPosition(arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 Py_INCREF(Py_None
); resultobj
= Py_None
;
13611 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13614 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13616 return Py_BuildValue((char *)"");
13618 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13619 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13624 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13625 PyObject
*pyobj
= NULL
;
13629 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13631 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13638 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13639 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13644 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13645 PyObject
*pyobj
= NULL
;
13649 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13651 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13658 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
= NULL
;
13660 wxWindow
*arg1
= (wxWindow
*) 0 ;
13661 int arg2
= (int) -1 ;
13662 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13668 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13669 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13670 int arg7
= (int) 0 ;
13671 long arg8
= (long) wxRA_HORIZONTAL
;
13672 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13673 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13674 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13675 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13676 wxRadioBox
*result
;
13677 bool temp3
= false ;
13680 bool temp6
= false ;
13681 bool temp10
= false ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 PyObject
* obj3
= 0 ;
13686 PyObject
* obj4
= 0 ;
13687 PyObject
* obj5
= 0 ;
13688 PyObject
* obj6
= 0 ;
13689 PyObject
* obj7
= 0 ;
13690 PyObject
* obj8
= 0 ;
13691 PyObject
* obj9
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13698 if (SWIG_arg_fail(1)) SWIG_fail
;
13701 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13702 if (SWIG_arg_fail(2)) SWIG_fail
;
13707 arg3
= wxString_in_helper(obj2
);
13708 if (arg3
== NULL
) SWIG_fail
;
13715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13726 if (! PySequence_Check(obj5
)) {
13727 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13730 arg6
= new wxArrayString
;
13732 int i
, len
=PySequence_Length(obj5
);
13733 for (i
=0; i
<len
; i
++) {
13734 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13735 wxString
* s
= wxString_in_helper(item
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13745 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13746 if (SWIG_arg_fail(7)) SWIG_fail
;
13751 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13752 if (SWIG_arg_fail(8)) SWIG_fail
;
13757 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13758 if (SWIG_arg_fail(9)) SWIG_fail
;
13759 if (arg9
== NULL
) {
13760 SWIG_null_ref("wxValidator");
13762 if (SWIG_arg_fail(9)) SWIG_fail
;
13767 arg10
= wxString_in_helper(obj9
);
13768 if (arg10
== NULL
) SWIG_fail
;
13773 if (!wxPyCheckForApp()) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 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
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13786 if (temp6
) delete arg6
;
13799 if (temp6
) delete arg6
;
13809 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
= NULL
;
13811 wxRadioBox
*result
;
13812 char *kwnames
[] = {
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13818 if (!wxPyCheckForApp()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxRadioBox
*)new wxRadioBox();
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13832 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
= NULL
;
13834 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13835 wxWindow
*arg2
= (wxWindow
*) 0 ;
13836 int arg3
= (int) -1 ;
13837 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13838 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13839 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13840 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13841 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13842 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13843 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13844 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13845 int arg8
= (int) 0 ;
13846 long arg9
= (long) wxRA_HORIZONTAL
;
13847 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13848 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13849 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13850 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13852 bool temp4
= false ;
13855 bool temp7
= false ;
13856 bool temp11
= false ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 PyObject
* obj2
= 0 ;
13860 PyObject
* obj3
= 0 ;
13861 PyObject
* obj4
= 0 ;
13862 PyObject
* obj5
= 0 ;
13863 PyObject
* obj6
= 0 ;
13864 PyObject
* obj7
= 0 ;
13865 PyObject
* obj8
= 0 ;
13866 PyObject
* obj9
= 0 ;
13867 PyObject
* obj10
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail
;
13875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13876 if (SWIG_arg_fail(2)) SWIG_fail
;
13879 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13880 if (SWIG_arg_fail(3)) SWIG_fail
;
13885 arg4
= wxString_in_helper(obj3
);
13886 if (arg4
== NULL
) SWIG_fail
;
13893 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13899 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13904 if (! PySequence_Check(obj6
)) {
13905 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13908 arg7
= new wxArrayString
;
13910 int i
, len
=PySequence_Length(obj6
);
13911 for (i
=0; i
<len
; i
++) {
13912 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13913 wxString
* s
= wxString_in_helper(item
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13923 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13924 if (SWIG_arg_fail(8)) SWIG_fail
;
13929 arg9
= static_cast<long >(SWIG_As_long(obj8
));
13930 if (SWIG_arg_fail(9)) SWIG_fail
;
13935 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13936 if (SWIG_arg_fail(10)) SWIG_fail
;
13937 if (arg10
== NULL
) {
13938 SWIG_null_ref("wxValidator");
13940 if (SWIG_arg_fail(10)) SWIG_fail
;
13945 arg11
= wxString_in_helper(obj10
);
13946 if (arg11
== NULL
) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 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
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13965 if (temp7
) delete arg7
;
13978 if (temp7
) delete arg7
;
13988 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
= NULL
;
13990 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "n", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14000 if (SWIG_arg_fail(1)) SWIG_fail
;
14002 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14003 if (SWIG_arg_fail(2)) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 (arg1
)->SetSelection(arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 Py_INCREF(Py_None
); resultobj
= Py_None
;
14019 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= NULL
;
14021 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_From_int(static_cast<int >(result
));
14047 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
= NULL
;
14049 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14058 if (SWIG_arg_fail(1)) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14079 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
= NULL
;
14081 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14082 wxString
*arg2
= 0 ;
14084 bool temp2
= false ;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self",(char *) "s", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14093 if (SWIG_arg_fail(1)) SWIG_fail
;
14095 arg2
= wxString_in_helper(obj1
);
14096 if (arg2
== NULL
) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
= NULL
;
14125 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= SWIG_From_int(static_cast<int >(result
));
14151 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= NULL
;
14153 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14154 wxString
*arg2
= 0 ;
14156 bool temp2
= false ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self",(char *) "s", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail
;
14167 arg2
= wxString_in_helper(obj1
);
14168 if (arg2
== NULL
) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_From_int(static_cast<int >(result
));
14195 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
= NULL
;
14197 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self",(char *) "n", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14208 if (SWIG_arg_fail(1)) SWIG_fail
;
14210 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14211 if (SWIG_arg_fail(2)) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14233 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
= NULL
;
14235 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14237 wxString
*arg3
= 0 ;
14238 bool temp3
= false ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 PyObject
* obj2
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self",(char *) "n",(char *) "label", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail
;
14250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14251 if (SWIG_arg_fail(2)) SWIG_fail
;
14254 arg3
= wxString_in_helper(obj2
);
14255 if (arg3
== NULL
) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= NULL
;
14282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14284 bool arg3
= (bool) true ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "n",(char *) "enable", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14297 if (SWIG_arg_fail(2)) SWIG_fail
;
14301 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14302 if (SWIG_arg_fail(3)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->Enable(arg2
,arg3
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
= NULL
;
14321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14323 bool arg3
= (bool) true ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 PyObject
* obj2
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self",(char *) "n",(char *) "show", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14336 if (SWIG_arg_fail(2)) SWIG_fail
;
14340 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14341 if (SWIG_arg_fail(3)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->Show(arg2
,arg3
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
= NULL
;
14360 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14369 if (SWIG_arg_fail(1)) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= SWIG_From_int(static_cast<int >(result
));
14386 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
= NULL
;
14388 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_From_int(static_cast<int >(result
));
14414 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= NULL
;
14416 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 PyObject
* obj3
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14431 if (SWIG_arg_fail(1)) SWIG_fail
;
14433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14434 if (SWIG_arg_fail(2)) SWIG_fail
;
14437 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14438 if (SWIG_arg_fail(3)) SWIG_fail
;
14441 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14442 if (SWIG_arg_fail(4)) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_int(static_cast<int >(result
));
14460 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
= NULL
;
14462 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14463 wxVisualAttributes result
;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "variant", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14472 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14473 if (SWIG_arg_fail(1)) SWIG_fail
;
14477 if (!wxPyCheckForApp()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxVisualAttributes
* resultptr
;
14486 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14495 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14498 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14500 return Py_BuildValue((char *)"");
14502 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
= NULL
;
14504 wxWindow
*arg1
= (wxWindow
*) 0 ;
14505 int arg2
= (int) -1 ;
14506 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14507 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14512 long arg6
= (long) 0 ;
14513 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14514 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14515 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14516 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14517 wxRadioButton
*result
;
14518 bool temp3
= false ;
14521 bool temp8
= false ;
14522 PyObject
* obj0
= 0 ;
14523 PyObject
* obj1
= 0 ;
14524 PyObject
* obj2
= 0 ;
14525 PyObject
* obj3
= 0 ;
14526 PyObject
* obj4
= 0 ;
14527 PyObject
* obj5
= 0 ;
14528 PyObject
* obj6
= 0 ;
14529 PyObject
* obj7
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14540 if (SWIG_arg_fail(2)) SWIG_fail
;
14545 arg3
= wxString_in_helper(obj2
);
14546 if (arg3
== NULL
) SWIG_fail
;
14553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14564 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14565 if (SWIG_arg_fail(6)) SWIG_fail
;
14570 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14571 if (SWIG_arg_fail(7)) SWIG_fail
;
14572 if (arg7
== NULL
) {
14573 SWIG_null_ref("wxValidator");
14575 if (SWIG_arg_fail(7)) SWIG_fail
;
14580 arg8
= wxString_in_helper(obj7
);
14581 if (arg8
== NULL
) SWIG_fail
;
14586 if (!wxPyCheckForApp()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14616 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= NULL
;
14618 wxRadioButton
*result
;
14619 char *kwnames
[] = {
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14625 if (!wxPyCheckForApp()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxRadioButton
*)new wxRadioButton();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14639 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
= NULL
;
14641 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14642 wxWindow
*arg2
= (wxWindow
*) 0 ;
14643 int arg3
= (int) -1 ;
14644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14650 long arg7
= (long) 0 ;
14651 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14652 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14653 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14654 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14656 bool temp4
= false ;
14659 bool temp9
= false ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 PyObject
* obj2
= 0 ;
14663 PyObject
* obj3
= 0 ;
14664 PyObject
* obj4
= 0 ;
14665 PyObject
* obj5
= 0 ;
14666 PyObject
* obj6
= 0 ;
14667 PyObject
* obj7
= 0 ;
14668 PyObject
* obj8
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14677 if (SWIG_arg_fail(2)) SWIG_fail
;
14680 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14681 if (SWIG_arg_fail(3)) SWIG_fail
;
14686 arg4
= wxString_in_helper(obj3
);
14687 if (arg4
== NULL
) SWIG_fail
;
14694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14705 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14706 if (SWIG_arg_fail(7)) SWIG_fail
;
14711 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14712 if (SWIG_arg_fail(8)) SWIG_fail
;
14713 if (arg8
== NULL
) {
14714 SWIG_null_ref("wxValidator");
14716 if (SWIG_arg_fail(8)) SWIG_fail
;
14721 arg9
= wxString_in_helper(obj8
);
14722 if (arg9
== NULL
) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= NULL
;
14760 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)(arg1
)->GetValue();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
= NULL
;
14788 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "value", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14798 if (SWIG_arg_fail(1)) SWIG_fail
;
14800 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14801 if (SWIG_arg_fail(2)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->SetValue(arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
= NULL
;
14819 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14820 wxVisualAttributes result
;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "variant", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14829 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14830 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 if (!wxPyCheckForApp()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 wxVisualAttributes
* resultptr
;
14843 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14852 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14855 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14857 return Py_BuildValue((char *)"");
14859 static int _wrap_SliderNameStr_set(PyObject
*) {
14860 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14865 static PyObject
*_wrap_SliderNameStr_get(void) {
14866 PyObject
*pyobj
= NULL
;
14870 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14872 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14879 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
= NULL
;
14881 wxWindow
*arg1
= (wxWindow
*) 0 ;
14882 int arg2
= (int) -1 ;
14883 int arg3
= (int) 0 ;
14884 int arg4
= (int) 0 ;
14885 int arg5
= (int) 100 ;
14886 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14887 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14888 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14889 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14890 long arg8
= (long) wxSL_HORIZONTAL
;
14891 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14892 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14893 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14894 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14898 bool temp10
= false ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 PyObject
* obj2
= 0 ;
14902 PyObject
* obj3
= 0 ;
14903 PyObject
* obj4
= 0 ;
14904 PyObject
* obj5
= 0 ;
14905 PyObject
* obj6
= 0 ;
14906 PyObject
* obj7
= 0 ;
14907 PyObject
* obj8
= 0 ;
14908 PyObject
* obj9
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail
;
14918 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14919 if (SWIG_arg_fail(2)) SWIG_fail
;
14924 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14925 if (SWIG_arg_fail(3)) SWIG_fail
;
14930 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14931 if (SWIG_arg_fail(4)) SWIG_fail
;
14936 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14937 if (SWIG_arg_fail(5)) SWIG_fail
;
14943 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14949 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14954 arg8
= static_cast<long >(SWIG_As_long(obj7
));
14955 if (SWIG_arg_fail(8)) SWIG_fail
;
14960 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14961 if (SWIG_arg_fail(9)) SWIG_fail
;
14962 if (arg9
== NULL
) {
14963 SWIG_null_ref("wxValidator");
14965 if (SWIG_arg_fail(9)) SWIG_fail
;
14970 arg10
= wxString_in_helper(obj9
);
14971 if (arg10
== NULL
) SWIG_fail
;
14976 if (!wxPyCheckForApp()) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14998 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
= NULL
;
15001 char *kwnames
[] = {
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15007 if (!wxPyCheckForApp()) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (wxSlider
*)new wxSlider();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15021 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= NULL
;
15023 wxSlider
*arg1
= (wxSlider
*) 0 ;
15024 wxWindow
*arg2
= (wxWindow
*) 0 ;
15025 int arg3
= (int) -1 ;
15026 int arg4
= (int) 0 ;
15027 int arg5
= (int) 0 ;
15028 int arg6
= (int) 100 ;
15029 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15030 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15031 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15032 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15033 long arg9
= (long) wxSL_HORIZONTAL
;
15034 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15035 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15036 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15037 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15041 bool temp11
= false ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 PyObject
* obj2
= 0 ;
15045 PyObject
* obj3
= 0 ;
15046 PyObject
* obj4
= 0 ;
15047 PyObject
* obj5
= 0 ;
15048 PyObject
* obj6
= 0 ;
15049 PyObject
* obj7
= 0 ;
15050 PyObject
* obj8
= 0 ;
15051 PyObject
* obj9
= 0 ;
15052 PyObject
* obj10
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15059 if (SWIG_arg_fail(1)) SWIG_fail
;
15060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15061 if (SWIG_arg_fail(2)) SWIG_fail
;
15064 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15065 if (SWIG_arg_fail(3)) SWIG_fail
;
15070 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15071 if (SWIG_arg_fail(4)) SWIG_fail
;
15076 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15077 if (SWIG_arg_fail(5)) SWIG_fail
;
15082 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15083 if (SWIG_arg_fail(6)) SWIG_fail
;
15089 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15095 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15100 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15101 if (SWIG_arg_fail(9)) SWIG_fail
;
15106 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15107 if (SWIG_arg_fail(10)) SWIG_fail
;
15108 if (arg10
== NULL
) {
15109 SWIG_null_ref("wxValidator");
15111 if (SWIG_arg_fail(10)) SWIG_fail
;
15116 arg11
= wxString_in_helper(obj10
);
15117 if (arg11
== NULL
) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
= NULL
;
15147 wxSlider
*arg1
= (wxSlider
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_From_int(static_cast<int >(result
));
15173 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= NULL
;
15175 wxSlider
*arg1
= (wxSlider
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "value", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail
;
15187 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15188 if (SWIG_arg_fail(2)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->SetValue(arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
= NULL
;
15206 wxSlider
*arg1
= (wxSlider
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 PyObject
* obj2
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail
;
15220 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15221 if (SWIG_arg_fail(2)) SWIG_fail
;
15224 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15225 if (SWIG_arg_fail(3)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetRange(arg2
,arg3
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
= NULL
;
15243 wxSlider
*arg1
= (wxSlider
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_From_int(static_cast<int >(result
));
15269 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= NULL
;
15271 wxSlider
*arg1
= (wxSlider
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_From_int(static_cast<int >(result
));
15297 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= NULL
;
15299 wxSlider
*arg1
= (wxSlider
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "minValue", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15312 if (SWIG_arg_fail(2)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 (arg1
)->SetMin(arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
= NULL
;
15330 wxSlider
*arg1
= (wxSlider
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "maxValue", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail
;
15342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15343 if (SWIG_arg_fail(2)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 (arg1
)->SetMax(arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 Py_INCREF(Py_None
); resultobj
= Py_None
;
15359 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= NULL
;
15361 wxSlider
*arg1
= (wxSlider
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self",(char *) "lineSize", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail
;
15373 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15374 if (SWIG_arg_fail(2)) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetLineSize(arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
= NULL
;
15392 wxSlider
*arg1
= (wxSlider
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "pageSize", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15405 if (SWIG_arg_fail(2)) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->SetPageSize(arg2
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15421 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
= NULL
;
15423 wxSlider
*arg1
= (wxSlider
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_From_int(static_cast<int >(result
));
15449 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= NULL
;
15451 wxSlider
*arg1
= (wxSlider
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_From_int(static_cast<int >(result
));
15477 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
= NULL
;
15479 wxSlider
*arg1
= (wxSlider
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "lenPixels", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15491 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15492 if (SWIG_arg_fail(2)) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 (arg1
)->SetThumbLength(arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 Py_INCREF(Py_None
); resultobj
= Py_None
;
15508 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
= NULL
;
15510 wxSlider
*arg1
= (wxSlider
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_From_int(static_cast<int >(result
));
15536 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= NULL
;
15538 wxSlider
*arg1
= (wxSlider
*) 0 ;
15540 int arg3
= (int) 1 ;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 PyObject
* obj2
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self",(char *) "n",(char *) "pos", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15550 if (SWIG_arg_fail(1)) SWIG_fail
;
15552 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15553 if (SWIG_arg_fail(2)) SWIG_fail
;
15557 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15558 if (SWIG_arg_fail(3)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->SetTickFreq(arg2
,arg3
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= NULL
;
15577 wxSlider
*arg1
= (wxSlider
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_From_int(static_cast<int >(result
));
15603 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
= NULL
;
15605 wxSlider
*arg1
= (wxSlider
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15613 if (SWIG_arg_fail(1)) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->ClearTicks();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15628 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= NULL
;
15630 wxSlider
*arg1
= (wxSlider
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "tickPos", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15640 if (SWIG_arg_fail(1)) SWIG_fail
;
15642 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15643 if (SWIG_arg_fail(2)) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->SetTick(arg2
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 Py_INCREF(Py_None
); resultobj
= Py_None
;
15659 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
= NULL
;
15661 wxSlider
*arg1
= (wxSlider
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->ClearSel();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
= NULL
;
15686 wxSlider
*arg1
= (wxSlider
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_From_int(static_cast<int >(result
));
15712 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= NULL
;
15714 wxSlider
*arg1
= (wxSlider
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_From_int(static_cast<int >(result
));
15740 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
= NULL
;
15742 wxSlider
*arg1
= (wxSlider
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 PyObject
* obj1
= 0 ;
15747 PyObject
* obj2
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self",(char *) "min",(char *) "max", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15754 if (SWIG_arg_fail(1)) SWIG_fail
;
15756 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15757 if (SWIG_arg_fail(2)) SWIG_fail
;
15760 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15761 if (SWIG_arg_fail(3)) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 (arg1
)->SetSelection(arg2
,arg3
);
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 Py_INCREF(Py_None
); resultobj
= Py_None
;
15777 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
= NULL
;
15779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15780 wxVisualAttributes result
;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "variant", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15789 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15790 if (SWIG_arg_fail(1)) SWIG_fail
;
15794 if (!wxPyCheckForApp()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 wxVisualAttributes
* resultptr
;
15803 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15812 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15815 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15817 return Py_BuildValue((char *)"");
15819 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15820 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15825 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15826 PyObject
*pyobj
= NULL
;
15830 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15832 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15839 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
= NULL
;
15841 wxWindow
*arg1
= (wxWindow
*) 0 ;
15842 int arg2
= (int) -1 ;
15843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15849 long arg6
= (long) 0 ;
15850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15852 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15854 wxToggleButton
*result
;
15855 bool temp3
= false ;
15858 bool temp8
= false ;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 PyObject
* obj2
= 0 ;
15862 PyObject
* obj3
= 0 ;
15863 PyObject
* obj4
= 0 ;
15864 PyObject
* obj5
= 0 ;
15865 PyObject
* obj6
= 0 ;
15866 PyObject
* obj7
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15873 if (SWIG_arg_fail(1)) SWIG_fail
;
15876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15877 if (SWIG_arg_fail(2)) SWIG_fail
;
15882 arg3
= wxString_in_helper(obj2
);
15883 if (arg3
== NULL
) SWIG_fail
;
15890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15901 arg6
= static_cast<long >(SWIG_As_long(obj5
));
15902 if (SWIG_arg_fail(6)) SWIG_fail
;
15907 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15908 if (SWIG_arg_fail(7)) SWIG_fail
;
15909 if (arg7
== NULL
) {
15910 SWIG_null_ref("wxValidator");
15912 if (SWIG_arg_fail(7)) SWIG_fail
;
15917 arg8
= wxString_in_helper(obj7
);
15918 if (arg8
== NULL
) SWIG_fail
;
15923 if (!wxPyCheckForApp()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15953 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
= NULL
;
15955 wxToggleButton
*result
;
15956 char *kwnames
[] = {
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15962 if (!wxPyCheckForApp()) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (wxToggleButton
*)new wxToggleButton();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15976 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= NULL
;
15978 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15979 wxWindow
*arg2
= (wxWindow
*) 0 ;
15980 int arg3
= (int) -1 ;
15981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15987 long arg7
= (long) 0 ;
15988 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15989 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15990 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15991 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15993 bool temp4
= false ;
15996 bool temp9
= false ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 PyObject
* obj2
= 0 ;
16000 PyObject
* obj3
= 0 ;
16001 PyObject
* obj4
= 0 ;
16002 PyObject
* obj5
= 0 ;
16003 PyObject
* obj6
= 0 ;
16004 PyObject
* obj7
= 0 ;
16005 PyObject
* obj8
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(2)) SWIG_fail
;
16017 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16018 if (SWIG_arg_fail(3)) SWIG_fail
;
16023 arg4
= wxString_in_helper(obj3
);
16024 if (arg4
== NULL
) SWIG_fail
;
16031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16042 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16043 if (SWIG_arg_fail(7)) SWIG_fail
;
16048 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16049 if (SWIG_arg_fail(8)) SWIG_fail
;
16050 if (arg8
== NULL
) {
16051 SWIG_null_ref("wxValidator");
16053 if (SWIG_arg_fail(8)) SWIG_fail
;
16058 arg9
= wxString_in_helper(obj8
);
16059 if (arg9
== NULL
) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= NULL
;
16097 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "value", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16107 if (SWIG_arg_fail(1)) SWIG_fail
;
16109 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16110 if (SWIG_arg_fail(2)) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->SetValue(arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
= NULL
;
16128 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16137 if (SWIG_arg_fail(1)) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
= NULL
;
16156 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16157 wxString
*arg2
= 0 ;
16158 bool temp2
= false ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "label", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16167 if (SWIG_arg_fail(1)) SWIG_fail
;
16169 arg2
= wxString_in_helper(obj1
);
16170 if (arg2
== NULL
) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetLabel((wxString
const &)*arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
= NULL
;
16197 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16198 wxVisualAttributes result
;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "variant", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16207 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16212 if (!wxPyCheckForApp()) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 wxVisualAttributes
* resultptr
;
16221 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16230 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16233 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16235 return Py_BuildValue((char *)"");
16237 static int _wrap_NotebookNameStr_set(PyObject
*) {
16238 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16243 static PyObject
*_wrap_NotebookNameStr_get(void) {
16244 PyObject
*pyobj
= NULL
;
16248 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16250 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16257 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
= NULL
;
16259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16285 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
= NULL
;
16287 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "n", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail
;
16300 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16301 if (SWIG_arg_fail(2)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= wxPyMake_wxObject(result
, 0);
16319 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
= NULL
;
16321 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= wxPyMake_wxObject(result
, 0);
16347 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= NULL
;
16349 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16358 if (SWIG_arg_fail(1)) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= SWIG_From_int(static_cast<int >(result
));
16375 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= NULL
;
16377 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16379 wxString
*arg3
= 0 ;
16381 bool temp3
= false ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 PyObject
* obj2
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self",(char *) "n",(char *) "strText", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16394 if (SWIG_arg_fail(2)) SWIG_fail
;
16397 arg3
= wxString_in_helper(obj2
);
16398 if (arg3
== NULL
) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
= NULL
;
16427 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "n", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(1)) SWIG_fail
;
16440 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16441 if (SWIG_arg_fail(2)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16463 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
= NULL
;
16465 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16466 wxImageList
*arg2
= (wxImageList
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "imageList", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16477 if (SWIG_arg_fail(2)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->SetImageList(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= NULL
;
16494 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16495 wxImageList
*arg2
= (wxImageList
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "imageList", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16504 if (SWIG_arg_fail(1)) SWIG_fail
;
16505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16506 if (SWIG_arg_fail(2)) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->AssignImageList(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
= NULL
;
16523 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16524 wxImageList
*result
;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16532 if (SWIG_arg_fail(1)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16549 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
= NULL
;
16551 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "n", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16562 if (SWIG_arg_fail(1)) SWIG_fail
;
16564 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16565 if (SWIG_arg_fail(2)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_From_int(static_cast<int >(result
));
16583 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
= NULL
;
16585 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 PyObject
* obj2
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "n",(char *) "imageId", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail
;
16600 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16601 if (SWIG_arg_fail(2)) SWIG_fail
;
16604 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16605 if (SWIG_arg_fail(3)) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16623 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
= NULL
;
16625 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "size", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail
;
16639 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
= NULL
;
16657 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self",(char *) "sizePage", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 wxSize
* resultptr
;
16683 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16692 static PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= NULL
;
16694 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16695 unsigned int result
;
16696 PyObject
* obj0
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames
,&obj0
)) goto fail
;
16702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16703 if (SWIG_arg_fail(1)) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
16720 static PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= NULL
;
16722 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16723 unsigned int arg2
;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "internalBorder", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
16735 if (SWIG_arg_fail(2)) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetInternalBorder(arg2
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= NULL
;
16753 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16779 static PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
= NULL
;
16781 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "fit", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16794 if (SWIG_arg_fail(2)) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 (arg1
)->SetFitToCurrentPage(arg2
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16810 static PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
= NULL
;
16812 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames
,&obj0
)) goto fail
;
16820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16838 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
= NULL
;
16840 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 PyObject
* obj1
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "n", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16853 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16854 if (SWIG_arg_fail(2)) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (bool)(arg1
)->DeletePage(arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16872 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
= NULL
;
16874 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self",(char *) "n", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16888 if (SWIG_arg_fail(2)) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (bool)(arg1
)->RemovePage(arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16906 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= NULL
;
16908 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (bool)(arg1
)->DeleteAllPages();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16934 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
= NULL
;
16936 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16937 wxWindow
*arg2
= (wxWindow
*) 0 ;
16938 wxString
*arg3
= 0 ;
16939 bool arg4
= (bool) false ;
16940 int arg5
= (int) -1 ;
16942 bool temp3
= false ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 PyObject
* obj2
= 0 ;
16946 PyObject
* obj3
= 0 ;
16947 PyObject
* obj4
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail
;
16955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(2)) SWIG_fail
;
16958 arg3
= wxString_in_helper(obj2
);
16959 if (arg3
== NULL
) SWIG_fail
;
16964 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
16965 if (SWIG_arg_fail(4)) SWIG_fail
;
16970 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16971 if (SWIG_arg_fail(5)) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16998 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= NULL
;
17000 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17002 wxWindow
*arg3
= (wxWindow
*) 0 ;
17003 wxString
*arg4
= 0 ;
17004 bool arg5
= (bool) false ;
17005 int arg6
= (int) -1 ;
17007 bool temp4
= false ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 PyObject
* obj2
= 0 ;
17011 PyObject
* obj3
= 0 ;
17012 PyObject
* obj4
= 0 ;
17013 PyObject
* obj5
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail
;
17022 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17023 if (SWIG_arg_fail(2)) SWIG_fail
;
17025 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17026 if (SWIG_arg_fail(3)) SWIG_fail
;
17028 arg4
= wxString_in_helper(obj3
);
17029 if (arg4
== NULL
) SWIG_fail
;
17034 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17035 if (SWIG_arg_fail(5)) SWIG_fail
;
17040 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17041 if (SWIG_arg_fail(6)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17068 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= NULL
;
17070 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "n", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail
;
17083 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17084 if (SWIG_arg_fail(2)) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (int)(arg1
)->SetSelection(arg2
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_From_int(static_cast<int >(result
));
17102 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= NULL
;
17104 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17105 bool arg2
= (bool) true ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "forward", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->AdvanceSelection(arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17135 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= NULL
;
17137 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17138 wxVisualAttributes result
;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "variant", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17147 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 if (!wxPyCheckForApp()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 wxVisualAttributes
* resultptr
;
17161 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17170 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17173 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17175 return Py_BuildValue((char *)"");
17177 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
= NULL
;
17179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17180 int arg2
= (int) 0 ;
17181 int arg3
= (int) -1 ;
17182 int arg4
= (int) -1 ;
17183 wxBookCtrlBaseEvent
*result
;
17184 PyObject
* obj0
= 0 ;
17185 PyObject
* obj1
= 0 ;
17186 PyObject
* obj2
= 0 ;
17187 PyObject
* obj3
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17195 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17196 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17207 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17208 if (SWIG_arg_fail(3)) SWIG_fail
;
17213 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17214 if (SWIG_arg_fail(4)) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17231 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
= NULL
;
17233 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(1)) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_From_int(static_cast<int >(result
));
17259 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= NULL
;
17261 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "nSel", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail
;
17273 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17274 if (SWIG_arg_fail(2)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->SetSelection(arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
= NULL
;
17292 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_From_int(static_cast<int >(result
));
17318 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= NULL
;
17320 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "nOldSel", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail
;
17332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17333 if (SWIG_arg_fail(2)) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 (arg1
)->SetOldSelection(arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 Py_INCREF(Py_None
); resultobj
= Py_None
;
17349 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17352 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17354 return Py_BuildValue((char *)"");
17356 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
= NULL
;
17358 wxWindow
*arg1
= (wxWindow
*) 0 ;
17359 int arg2
= (int) -1 ;
17360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17364 long arg5
= (long) 0 ;
17365 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17367 wxNotebook
*result
;
17370 bool temp6
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 PyObject
* obj4
= 0 ;
17376 PyObject
* obj5
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17383 if (SWIG_arg_fail(1)) SWIG_fail
;
17386 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17387 if (SWIG_arg_fail(2)) SWIG_fail
;
17393 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17399 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17404 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17405 if (SWIG_arg_fail(5)) SWIG_fail
;
17410 arg6
= wxString_in_helper(obj5
);
17411 if (arg6
== NULL
) SWIG_fail
;
17416 if (!wxPyCheckForApp()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17438 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
= NULL
;
17440 wxNotebook
*result
;
17441 char *kwnames
[] = {
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17447 if (!wxPyCheckForApp()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxNotebook
*)new wxNotebook();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17461 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= NULL
;
17463 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17464 wxWindow
*arg2
= (wxWindow
*) 0 ;
17465 int arg3
= (int) -1 ;
17466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17470 long arg6
= (long) 0 ;
17471 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17476 bool temp7
= false ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 PyObject
* obj2
= 0 ;
17480 PyObject
* obj3
= 0 ;
17481 PyObject
* obj4
= 0 ;
17482 PyObject
* obj5
= 0 ;
17483 PyObject
* obj6
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17490 if (SWIG_arg_fail(1)) SWIG_fail
;
17491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17492 if (SWIG_arg_fail(2)) SWIG_fail
;
17495 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17496 if (SWIG_arg_fail(3)) SWIG_fail
;
17502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17513 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17514 if (SWIG_arg_fail(6)) SWIG_fail
;
17519 arg7
= wxString_in_helper(obj6
);
17520 if (arg7
== NULL
) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17548 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
= NULL
;
17550 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17559 if (SWIG_arg_fail(1)) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_From_int(static_cast<int >(result
));
17576 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= NULL
;
17578 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "padding", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17592 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
= NULL
;
17610 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "sz", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail
;
17624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
= NULL
;
17642 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17643 wxPoint
*arg2
= 0 ;
17644 long *arg3
= (long *) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "pt", NULL
17655 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_From_int(static_cast<int >(result
));
17673 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17674 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17681 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
= NULL
;
17683 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self",(char *) "sizePage", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17695 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 wxSize
* resultptr
;
17709 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17718 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
= NULL
;
17720 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 wxColour
* resultptr
;
17739 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17748 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= NULL
;
17750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17751 wxVisualAttributes result
;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "variant", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17760 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17761 if (SWIG_arg_fail(1)) SWIG_fail
;
17765 if (!wxPyCheckForApp()) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17773 wxVisualAttributes
* resultptr
;
17774 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17783 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17786 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17788 return Py_BuildValue((char *)"");
17790 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= NULL
;
17792 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17793 int arg2
= (int) 0 ;
17794 int arg3
= (int) -1 ;
17795 int arg4
= (int) -1 ;
17796 wxNotebookEvent
*result
;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 PyObject
* obj3
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17808 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17815 if (SWIG_arg_fail(2)) SWIG_fail
;
17820 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17821 if (SWIG_arg_fail(3)) SWIG_fail
;
17826 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17827 if (SWIG_arg_fail(4)) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17844 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17847 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17849 return Py_BuildValue((char *)"");
17851 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
= NULL
;
17853 wxWindow
*arg1
= (wxWindow
*) 0 ;
17854 int arg2
= (int) -1 ;
17855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17859 long arg5
= (long) 0 ;
17860 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17861 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17862 wxListbook
*result
;
17865 bool temp6
= false ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 PyObject
* obj2
= 0 ;
17869 PyObject
* obj3
= 0 ;
17870 PyObject
* obj4
= 0 ;
17871 PyObject
* obj5
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17899 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17900 if (SWIG_arg_fail(5)) SWIG_fail
;
17905 arg6
= wxString_in_helper(obj5
);
17906 if (arg6
== NULL
) SWIG_fail
;
17911 if (!wxPyCheckForApp()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17933 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= NULL
;
17935 wxListbook
*result
;
17936 char *kwnames
[] = {
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17942 if (!wxPyCheckForApp()) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (wxListbook
*)new wxListbook();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17956 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
= NULL
;
17958 wxListbook
*arg1
= (wxListbook
*) 0 ;
17959 wxWindow
*arg2
= (wxWindow
*) 0 ;
17960 int arg3
= (int) -1 ;
17961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17965 long arg6
= (long) 0 ;
17966 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17971 bool temp7
= false ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 PyObject
* obj3
= 0 ;
17976 PyObject
* obj4
= 0 ;
17977 PyObject
* obj5
= 0 ;
17978 PyObject
* obj6
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail
;
17986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(2)) SWIG_fail
;
17990 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17991 if (SWIG_arg_fail(3)) SWIG_fail
;
17997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18008 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18009 if (SWIG_arg_fail(6)) SWIG_fail
;
18014 arg7
= wxString_in_helper(obj6
);
18015 if (arg7
== NULL
) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18043 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= NULL
;
18045 wxListbook
*arg1
= (wxListbook
*) 0 ;
18046 wxListView
*result
;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (wxListView
*)(arg1
)->GetListView();
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18069 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18072 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18074 return Py_BuildValue((char *)"");
18076 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
= NULL
;
18078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18079 int arg2
= (int) 0 ;
18080 int arg3
= (int) -1 ;
18081 int arg4
= (int) -1 ;
18082 wxListbookEvent
*result
;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 PyObject
* obj2
= 0 ;
18086 PyObject
* obj3
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18094 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18101 if (SWIG_arg_fail(2)) SWIG_fail
;
18106 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18107 if (SWIG_arg_fail(3)) SWIG_fail
;
18112 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18113 if (SWIG_arg_fail(4)) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18130 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18133 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18135 return Py_BuildValue((char *)"");
18137 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= NULL
;
18139 wxWindow
*arg1
= (wxWindow
*) 0 ;
18141 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18142 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18143 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18144 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18145 long arg5
= (long) 0 ;
18146 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18147 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18148 wxChoicebook
*result
;
18151 bool temp6
= false ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 PyObject
* obj3
= 0 ;
18156 PyObject
* obj4
= 0 ;
18157 PyObject
* obj5
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18164 if (SWIG_arg_fail(1)) SWIG_fail
;
18166 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18167 if (SWIG_arg_fail(2)) SWIG_fail
;
18172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18183 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18184 if (SWIG_arg_fail(5)) SWIG_fail
;
18189 arg6
= wxString_in_helper(obj5
);
18190 if (arg6
== NULL
) SWIG_fail
;
18195 if (!wxPyCheckForApp()) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18217 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
= NULL
;
18219 wxChoicebook
*result
;
18220 char *kwnames
[] = {
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18226 if (!wxPyCheckForApp()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (wxChoicebook
*)new wxChoicebook();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18240 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= NULL
;
18242 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18243 wxWindow
*arg2
= (wxWindow
*) 0 ;
18245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18249 long arg6
= (long) 0 ;
18250 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18255 bool temp7
= false ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 PyObject
* obj3
= 0 ;
18260 PyObject
* obj4
= 0 ;
18261 PyObject
* obj5
= 0 ;
18262 PyObject
* obj6
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(2)) SWIG_fail
;
18273 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18274 if (SWIG_arg_fail(3)) SWIG_fail
;
18279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18290 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18291 if (SWIG_arg_fail(6)) SWIG_fail
;
18296 arg7
= wxString_in_helper(obj6
);
18297 if (arg7
== NULL
) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18325 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= NULL
;
18327 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18336 if (SWIG_arg_fail(1)) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18351 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= NULL
;
18353 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= (bool)(arg1
)->DeleteAllPages();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18379 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18382 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18384 return Py_BuildValue((char *)"");
18386 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= NULL
;
18388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18389 int arg2
= (int) 0 ;
18390 int arg3
= (int) -1 ;
18391 int arg4
= (int) -1 ;
18392 wxChoicebookEvent
*result
;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 PyObject
* obj3
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18404 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18405 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18411 if (SWIG_arg_fail(2)) SWIG_fail
;
18416 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18417 if (SWIG_arg_fail(3)) SWIG_fail
;
18422 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18423 if (SWIG_arg_fail(4)) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18440 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18443 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18445 return Py_BuildValue((char *)"");
18447 static PyObject
*_wrap_new_Treebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
= NULL
;
18449 wxWindow
*arg1
= (wxWindow
*) 0 ;
18451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18455 long arg5
= (long) wxBK_DEFAULT
;
18456 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18458 wxTreebook
*result
;
18461 bool temp6
= false ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 PyObject
* obj2
= 0 ;
18465 PyObject
* obj3
= 0 ;
18466 PyObject
* obj4
= 0 ;
18467 PyObject
* obj5
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18474 if (SWIG_arg_fail(1)) SWIG_fail
;
18476 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18477 if (SWIG_arg_fail(2)) SWIG_fail
;
18482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18493 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18494 if (SWIG_arg_fail(5)) SWIG_fail
;
18499 arg6
= wxString_in_helper(obj5
);
18500 if (arg6
== NULL
) SWIG_fail
;
18505 if (!wxPyCheckForApp()) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18527 static PyObject
*_wrap_new_PreTreebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
= NULL
;
18529 wxTreebook
*result
;
18530 char *kwnames
[] = {
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreebook",kwnames
)) goto fail
;
18536 if (!wxPyCheckForApp()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (wxTreebook
*)new wxTreebook();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18550 static PyObject
*_wrap_Treebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
= NULL
;
18552 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18553 wxWindow
*arg2
= (wxWindow
*) 0 ;
18555 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18556 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18557 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18558 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18559 long arg6
= (long) wxBK_DEFAULT
;
18560 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18561 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18565 bool temp7
= false ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 PyObject
* obj2
= 0 ;
18569 PyObject
* obj3
= 0 ;
18570 PyObject
* obj4
= 0 ;
18571 PyObject
* obj5
= 0 ;
18572 PyObject
* obj6
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18581 if (SWIG_arg_fail(2)) SWIG_fail
;
18583 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18584 if (SWIG_arg_fail(3)) SWIG_fail
;
18589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18600 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18601 if (SWIG_arg_fail(6)) SWIG_fail
;
18606 arg7
= wxString_in_helper(obj6
);
18607 if (arg7
== NULL
) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18635 static PyObject
*_wrap_Treebook_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
= NULL
;
18637 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18639 wxWindow
*arg3
= (wxWindow
*) 0 ;
18640 wxString
*arg4
= 0 ;
18641 bool arg5
= (bool) false ;
18642 int arg6
= (int) wxNOT_FOUND
;
18644 bool temp4
= false ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 PyObject
* obj2
= 0 ;
18648 PyObject
* obj3
= 0 ;
18649 PyObject
* obj4
= 0 ;
18650 PyObject
* obj5
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail
;
18659 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18660 if (SWIG_arg_fail(2)) SWIG_fail
;
18662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18663 if (SWIG_arg_fail(3)) SWIG_fail
;
18665 arg4
= wxString_in_helper(obj3
);
18666 if (arg4
== NULL
) SWIG_fail
;
18671 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18672 if (SWIG_arg_fail(5)) SWIG_fail
;
18677 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18678 if (SWIG_arg_fail(6)) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18705 static PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
= NULL
;
18707 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18709 wxWindow
*arg3
= (wxWindow
*) 0 ;
18710 wxString
*arg4
= 0 ;
18711 bool arg5
= (bool) false ;
18712 int arg6
= (int) wxNOT_FOUND
;
18714 bool temp4
= false ;
18715 PyObject
* obj0
= 0 ;
18716 PyObject
* obj1
= 0 ;
18717 PyObject
* obj2
= 0 ;
18718 PyObject
* obj3
= 0 ;
18719 PyObject
* obj4
= 0 ;
18720 PyObject
* obj5
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18727 if (SWIG_arg_fail(1)) SWIG_fail
;
18729 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18730 if (SWIG_arg_fail(2)) SWIG_fail
;
18732 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(3)) SWIG_fail
;
18735 arg4
= wxString_in_helper(obj3
);
18736 if (arg4
== NULL
) SWIG_fail
;
18741 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18742 if (SWIG_arg_fail(5)) SWIG_fail
;
18747 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18748 if (SWIG_arg_fail(6)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18775 static PyObject
*_wrap_Treebook_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= NULL
;
18777 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18778 wxWindow
*arg2
= (wxWindow
*) 0 ;
18779 wxString
*arg3
= 0 ;
18780 bool arg4
= (bool) false ;
18781 int arg5
= (int) wxNOT_FOUND
;
18783 bool temp3
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 PyObject
* obj2
= 0 ;
18787 PyObject
* obj3
= 0 ;
18788 PyObject
* obj4
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18795 if (SWIG_arg_fail(1)) SWIG_fail
;
18796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(2)) SWIG_fail
;
18799 arg3
= wxString_in_helper(obj2
);
18800 if (arg3
== NULL
) SWIG_fail
;
18805 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18806 if (SWIG_arg_fail(4)) SWIG_fail
;
18811 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18812 if (SWIG_arg_fail(5)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18839 static PyObject
*_wrap_Treebook_AddSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= NULL
;
18841 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18842 wxWindow
*arg2
= (wxWindow
*) 0 ;
18843 wxString
*arg3
= 0 ;
18844 bool arg4
= (bool) false ;
18845 int arg5
= (int) wxNOT_FOUND
;
18847 bool temp3
= false ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 PyObject
* obj2
= 0 ;
18851 PyObject
* obj3
= 0 ;
18852 PyObject
* obj4
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 arg3
= wxString_in_helper(obj2
);
18864 if (arg3
== NULL
) SWIG_fail
;
18869 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18870 if (SWIG_arg_fail(4)) SWIG_fail
;
18875 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18876 if (SWIG_arg_fail(5)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18903 static PyObject
*_wrap_Treebook_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
= NULL
;
18905 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self",(char *) "pos", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
18915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18916 if (SWIG_arg_fail(1)) SWIG_fail
;
18918 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18919 if (SWIG_arg_fail(2)) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (bool)(arg1
)->DeletePage(arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18937 static PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= NULL
;
18939 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self",(char *) "pos", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18950 if (SWIG_arg_fail(1)) SWIG_fail
;
18952 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18953 if (SWIG_arg_fail(2)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18971 static PyObject
*_wrap_Treebook_ExpandNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= NULL
;
18973 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18975 bool arg3
= (bool) true ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 PyObject
* obj2
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "pos",(char *) "expand", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18986 if (SWIG_arg_fail(1)) SWIG_fail
;
18988 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18989 if (SWIG_arg_fail(2)) SWIG_fail
;
18993 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18994 if (SWIG_arg_fail(3)) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19013 static PyObject
*_wrap_Treebook_CollapseNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
= NULL
;
19015 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "pos", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail
;
19028 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19029 if (SWIG_arg_fail(2)) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (bool)(arg1
)->CollapseNode(arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19047 static PyObject
*_wrap_Treebook_GetPageParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= NULL
;
19049 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "pos", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) goto fail
;
19059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19060 if (SWIG_arg_fail(1)) SWIG_fail
;
19062 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19063 if (SWIG_arg_fail(2)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_From_int(static_cast<int >(result
));
19081 static PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
= NULL
;
19083 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19084 wxTreeCtrl
*result
;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Treebook_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
19107 static PyObject
* Treebook_swigregister(PyObject
*, PyObject
*args
) {
19109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook
, obj
);
19112 return Py_BuildValue((char *)"");
19114 static PyObject
*_wrap_new_TreebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
= NULL
;
19116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19117 int arg2
= (int) 0 ;
19118 int arg3
= (int) wxNOT_FOUND
;
19119 int arg4
= (int) wxNOT_FOUND
;
19120 wxTreebookEvent
*result
;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 PyObject
* obj2
= 0 ;
19124 PyObject
* obj3
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19132 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19139 if (SWIG_arg_fail(2)) SWIG_fail
;
19144 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19145 if (SWIG_arg_fail(3)) SWIG_fail
;
19150 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19151 if (SWIG_arg_fail(4)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebookEvent
, 1);
19168 static PyObject
* TreebookEvent_swigregister(PyObject
*, PyObject
*args
) {
19170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19171 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent
, obj
);
19173 return Py_BuildValue((char *)"");
19175 static PyObject
*_wrap_new_Toolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
= NULL
;
19177 wxWindow
*arg1
= (wxWindow
*) 0 ;
19179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19183 long arg5
= (long) wxBK_DEFAULT
;
19184 wxString
const &arg6_defvalue
= wxPyEmptyString
;
19185 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19186 wxToolbook
*result
;
19189 bool temp6
= false ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 PyObject
* obj3
= 0 ;
19194 PyObject
* obj4
= 0 ;
19195 PyObject
* obj5
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19205 if (SWIG_arg_fail(2)) SWIG_fail
;
19210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19221 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19222 if (SWIG_arg_fail(5)) SWIG_fail
;
19227 arg6
= wxString_in_helper(obj5
);
19228 if (arg6
== NULL
) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19254 static PyObject
*_wrap_new_PreToolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= NULL
;
19256 wxToolbook
*result
;
19257 char *kwnames
[] = {
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolbook",kwnames
)) goto fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (wxToolbook
*)new wxToolbook();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19276 static PyObject
*_wrap_Toolbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
= NULL
;
19278 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19279 wxWindow
*arg2
= (wxWindow
*) 0 ;
19281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19285 long arg6
= (long) 0 ;
19286 wxString
const &arg7_defvalue
= wxEmptyString
;
19287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19291 bool temp7
= false ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 PyObject
* obj2
= 0 ;
19295 PyObject
* obj3
= 0 ;
19296 PyObject
* obj4
= 0 ;
19297 PyObject
* obj5
= 0 ;
19298 PyObject
* obj6
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19307 if (SWIG_arg_fail(2)) SWIG_fail
;
19309 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19310 if (SWIG_arg_fail(3)) SWIG_fail
;
19315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19326 arg6
= static_cast<long >(SWIG_As_long(obj5
));
19327 if (SWIG_arg_fail(6)) SWIG_fail
;
19332 arg7
= wxString_in_helper(obj6
);
19333 if (arg7
== NULL
) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19361 static PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= NULL
;
19363 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19364 wxToolBarBase
*result
;
19365 PyObject
* obj0
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_GetToolBar",kwnames
,&obj0
)) goto fail
;
19371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19372 if (SWIG_arg_fail(1)) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19389 static PyObject
*_wrap_Toolbook_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
= NULL
;
19391 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_Realize",kwnames
,&obj0
)) goto fail
;
19398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
* Toolbook_swigregister(PyObject
*, PyObject
*args
) {
19416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19417 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook
, obj
);
19419 return Py_BuildValue((char *)"");
19421 static PyObject
*_wrap_new_ToolbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= NULL
;
19423 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19424 int arg2
= (int) 0 ;
19425 int arg3
= (int) wxNOT_FOUND
;
19426 int arg4
= (int) wxNOT_FOUND
;
19427 wxToolbookEvent
*result
;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 PyObject
* obj2
= 0 ;
19431 PyObject
* obj3
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19439 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19440 if (SWIG_arg_fail(1)) SWIG_fail
;
19445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19446 if (SWIG_arg_fail(2)) SWIG_fail
;
19451 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19452 if (SWIG_arg_fail(3)) SWIG_fail
;
19457 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19458 if (SWIG_arg_fail(4)) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbookEvent
, 1);
19475 static PyObject
* ToolbookEvent_swigregister(PyObject
*, PyObject
*args
) {
19477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19478 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent
, obj
);
19480 return Py_BuildValue((char *)"");
19482 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
= NULL
;
19484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
19492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19493 if (SWIG_arg_fail(1)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (int)(arg1
)->GetId();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_From_int(static_cast<int >(result
));
19510 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
= NULL
;
19512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
19520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19521 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (wxControl
*)(arg1
)->GetControl();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= wxPyMake_wxObject(result
, 0);
19538 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= NULL
;
19540 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19541 wxToolBarBase
*result
;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
19548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19549 if (SWIG_arg_fail(1)) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19566 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
= NULL
;
19568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
19576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19577 if (SWIG_arg_fail(1)) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (int)(arg1
)->IsButton();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_From_int(static_cast<int >(result
));
19594 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
= NULL
;
19596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
19604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19605 if (SWIG_arg_fail(1)) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (int)(arg1
)->IsControl();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_From_int(static_cast<int >(result
));
19622 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= NULL
;
19624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
19632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (int)(arg1
)->IsSeparator();
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_From_int(static_cast<int >(result
));
19650 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= NULL
;
19652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19661 if (SWIG_arg_fail(1)) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 result
= (int)(arg1
)->GetStyle();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_From_int(static_cast<int >(result
));
19678 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
= NULL
;
19680 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
19688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19689 if (SWIG_arg_fail(1)) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= (wxItemKind
)(arg1
)->GetKind();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= SWIG_From_int((result
));
19704 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
= NULL
;
19706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
19714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)(arg1
)->IsEnabled();
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19732 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= NULL
;
19734 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19736 PyObject
* obj0
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
19742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19743 if (SWIG_arg_fail(1)) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (bool)(arg1
)->IsToggled();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19760 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
= NULL
;
19762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (bool)(arg1
)->CanBeToggled();
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19788 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= NULL
;
19790 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
19798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19799 if (SWIG_arg_fail(1)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
19804 result
= (wxBitmap
*) &_result_ref
;
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19811 wxBitmap
* resultptr
= new wxBitmap(*result
);
19812 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19820 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= NULL
;
19822 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
19830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19831 if (SWIG_arg_fail(1)) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
19836 result
= (wxBitmap
*) &_result_ref
;
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 wxBitmap
* resultptr
= new wxBitmap(*result
);
19844 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19852 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= NULL
;
19854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
19862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (arg1
)->GetBitmap();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 wxBitmap
* resultptr
;
19873 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
19874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19882 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
= NULL
;
19884 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (arg1
)->GetLabel();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19914 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
= NULL
;
19916 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
19924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (arg1
)->GetShortHelp();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19946 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= NULL
;
19948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
19956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (arg1
)->GetLongHelp();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19978 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= NULL
;
19980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "enable", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
19990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19994 if (SWIG_arg_fail(2)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (bool)(arg1
)->Enable(arg2
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20012 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= NULL
;
20014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
20021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= NULL
;
20039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "toggle", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20050 if (SWIG_arg_fail(1)) SWIG_fail
;
20052 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20053 if (SWIG_arg_fail(2)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)(arg1
)->SetToggle(arg2
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= NULL
;
20073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20074 wxString
*arg2
= 0 ;
20076 bool temp2
= false ;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self",(char *) "help", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20085 if (SWIG_arg_fail(1)) SWIG_fail
;
20087 arg2
= wxString_in_helper(obj1
);
20088 if (arg2
== NULL
) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20115 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= NULL
;
20117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20118 wxString
*arg2
= 0 ;
20120 bool temp2
= false ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "help", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20129 if (SWIG_arg_fail(1)) SWIG_fail
;
20131 arg2
= wxString_in_helper(obj1
);
20132 if (arg2
== NULL
) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20159 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
= NULL
;
20161 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20162 wxBitmap
*arg2
= 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "bmp", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail
;
20173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(2)) SWIG_fail
;
20175 if (arg2
== NULL
) {
20176 SWIG_null_ref("wxBitmap");
20178 if (SWIG_arg_fail(2)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 Py_INCREF(Py_None
); resultobj
= Py_None
;
20194 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= NULL
;
20196 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20197 wxBitmap
*arg2
= 0 ;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self",(char *) "bmp", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(2)) SWIG_fail
;
20210 if (arg2
== NULL
) {
20211 SWIG_null_ref("wxBitmap");
20213 if (SWIG_arg_fail(2)) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 Py_INCREF(Py_None
); resultobj
= Py_None
;
20229 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= NULL
;
20231 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20232 wxString
*arg2
= 0 ;
20233 bool temp2
= false ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "label", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail
;
20244 arg2
= wxString_in_helper(obj1
);
20245 if (arg2
== NULL
) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetLabel((wxString
const &)*arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
= NULL
;
20272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
20279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20295 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
= NULL
;
20297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20298 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self",(char *) "tbar", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(2)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 (arg1
)->Attach(arg2
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 Py_INCREF(Py_None
); resultobj
= Py_None
;
20324 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
= NULL
;
20326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
20334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
;
20350 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
= NULL
;
20352 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20353 PyObject
*arg2
= (PyObject
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self",(char *) "clientData", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20362 if (SWIG_arg_fail(1)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 wxToolBarToolBase_SetClientData(arg1
,arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
20380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20381 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
20383 return Py_BuildValue((char *)"");
20385 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
= NULL
;
20387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20389 wxString
*arg3
= 0 ;
20390 wxBitmap
*arg4
= 0 ;
20391 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
20392 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
20393 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
20394 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20396 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20398 PyObject
*arg9
= (PyObject
*) NULL
;
20399 wxToolBarToolBase
*result
;
20400 bool temp3
= false ;
20401 bool temp7
= false ;
20402 bool temp8
= false ;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20405 PyObject
* obj2
= 0 ;
20406 PyObject
* obj3
= 0 ;
20407 PyObject
* obj4
= 0 ;
20408 PyObject
* obj5
= 0 ;
20409 PyObject
* obj6
= 0 ;
20410 PyObject
* obj7
= 0 ;
20411 PyObject
* obj8
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
20417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20418 if (SWIG_arg_fail(1)) SWIG_fail
;
20420 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20421 if (SWIG_arg_fail(2)) SWIG_fail
;
20424 arg3
= wxString_in_helper(obj2
);
20425 if (arg3
== NULL
) SWIG_fail
;
20429 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20430 if (SWIG_arg_fail(4)) SWIG_fail
;
20431 if (arg4
== NULL
) {
20432 SWIG_null_ref("wxBitmap");
20434 if (SWIG_arg_fail(4)) SWIG_fail
;
20438 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(5)) SWIG_fail
;
20440 if (arg5
== NULL
) {
20441 SWIG_null_ref("wxBitmap");
20443 if (SWIG_arg_fail(5)) SWIG_fail
;
20448 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
20449 if (SWIG_arg_fail(6)) SWIG_fail
;
20454 arg7
= wxString_in_helper(obj6
);
20455 if (arg7
== NULL
) SWIG_fail
;
20461 arg8
= wxString_in_helper(obj7
);
20462 if (arg8
== NULL
) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20509 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= NULL
;
20511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20514 wxString
*arg4
= 0 ;
20515 wxBitmap
*arg5
= 0 ;
20516 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
20517 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
20518 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
20519 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20521 wxString
const &arg9_defvalue
= wxPyEmptyString
;
20522 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
20523 PyObject
*arg10
= (PyObject
*) NULL
;
20524 wxToolBarToolBase
*result
;
20525 bool temp4
= false ;
20526 bool temp8
= false ;
20527 bool temp9
= false ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 PyObject
* obj2
= 0 ;
20531 PyObject
* obj3
= 0 ;
20532 PyObject
* obj4
= 0 ;
20533 PyObject
* obj5
= 0 ;
20534 PyObject
* obj6
= 0 ;
20535 PyObject
* obj7
= 0 ;
20536 PyObject
* obj8
= 0 ;
20537 PyObject
* obj9
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
20543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20547 if (SWIG_arg_fail(2)) SWIG_fail
;
20550 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20551 if (SWIG_arg_fail(3)) SWIG_fail
;
20554 arg4
= wxString_in_helper(obj3
);
20555 if (arg4
== NULL
) SWIG_fail
;
20559 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20560 if (SWIG_arg_fail(5)) SWIG_fail
;
20561 if (arg5
== NULL
) {
20562 SWIG_null_ref("wxBitmap");
20564 if (SWIG_arg_fail(5)) SWIG_fail
;
20568 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20569 if (SWIG_arg_fail(6)) SWIG_fail
;
20570 if (arg6
== NULL
) {
20571 SWIG_null_ref("wxBitmap");
20573 if (SWIG_arg_fail(6)) SWIG_fail
;
20578 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
20579 if (SWIG_arg_fail(7)) SWIG_fail
;
20584 arg8
= wxString_in_helper(obj7
);
20585 if (arg8
== NULL
) SWIG_fail
;
20591 arg9
= wxString_in_helper(obj8
);
20592 if (arg9
== NULL
) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20639 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= NULL
;
20641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20642 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
20643 wxToolBarToolBase
*result
;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "tool", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20654 if (SWIG_arg_fail(2)) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20671 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
= NULL
;
20673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20675 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
20676 wxToolBarToolBase
*result
;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 PyObject
* obj2
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self",(char *) "pos",(char *) "tool", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail
;
20688 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20689 if (SWIG_arg_fail(2)) SWIG_fail
;
20691 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(3)) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20709 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
= NULL
;
20711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20712 wxControl
*arg2
= (wxControl
*) 0 ;
20713 wxToolBarToolBase
*result
;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self",(char *) "control", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail
;
20723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20724 if (SWIG_arg_fail(2)) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20741 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= NULL
;
20743 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20745 wxControl
*arg3
= (wxControl
*) 0 ;
20746 wxToolBarToolBase
*result
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "pos",(char *) "control", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20758 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20759 if (SWIG_arg_fail(2)) SWIG_fail
;
20761 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(3)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20779 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= NULL
;
20781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "id", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20794 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20795 if (SWIG_arg_fail(2)) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= wxPyMake_wxObject(result
, 0);
20813 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
= NULL
;
20815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20816 wxToolBarToolBase
*result
;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20841 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= NULL
;
20843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20845 wxToolBarToolBase
*result
;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "pos", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail
;
20856 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20857 if (SWIG_arg_fail(2)) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20875 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= NULL
;
20877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20879 wxToolBarToolBase
*result
;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "id", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20891 if (SWIG_arg_fail(2)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20909 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= NULL
;
20911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "pos", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20924 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20925 if (SWIG_arg_fail(2)) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20943 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
= NULL
;
20945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self",(char *) "id", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
20955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20959 if (SWIG_arg_fail(2)) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (bool)(arg1
)->DeleteTool(arg2
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20977 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
= NULL
;
20979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
20986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->ClearTools();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21002 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
= NULL
;
21004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
21012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (bool)(arg1
)->Realize();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21030 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
= NULL
;
21032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 PyObject
* obj2
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self",(char *) "id",(char *) "enable", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21044 if (SWIG_arg_fail(1)) SWIG_fail
;
21046 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21047 if (SWIG_arg_fail(2)) SWIG_fail
;
21050 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21051 if (SWIG_arg_fail(3)) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 (arg1
)->EnableTool(arg2
,arg3
);
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 Py_INCREF(Py_None
); resultobj
= Py_None
;
21067 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
= NULL
;
21069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 PyObject
* obj2
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "id",(char *) "toggle", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21084 if (SWIG_arg_fail(2)) SWIG_fail
;
21087 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21088 if (SWIG_arg_fail(3)) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->ToggleTool(arg2
,arg3
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 Py_INCREF(Py_None
); resultobj
= Py_None
;
21104 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= NULL
;
21106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 PyObject
* obj2
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "id",(char *) "toggle", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21118 if (SWIG_arg_fail(1)) SWIG_fail
;
21120 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21121 if (SWIG_arg_fail(2)) SWIG_fail
;
21124 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21125 if (SWIG_arg_fail(3)) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 (arg1
)->SetToggle(arg2
,arg3
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 Py_INCREF(Py_None
); resultobj
= Py_None
;
21141 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
= NULL
;
21143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj1
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self",(char *) "id", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21157 if (SWIG_arg_fail(2)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
;
21173 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= NULL
;
21175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21177 PyObject
*arg3
= (PyObject
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 PyObject
* obj2
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "id",(char *) "clientData", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21190 if (SWIG_arg_fail(2)) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
= NULL
;
21209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "id", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail
;
21222 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21223 if (SWIG_arg_fail(2)) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_From_int(static_cast<int >(result
));
21241 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
= NULL
;
21243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "id", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
21253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21254 if (SWIG_arg_fail(1)) SWIG_fail
;
21256 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21257 if (SWIG_arg_fail(2)) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (bool)(arg1
)->GetToolState(arg2
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21275 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= NULL
;
21277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "id", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21288 if (SWIG_arg_fail(1)) SWIG_fail
;
21290 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21291 if (SWIG_arg_fail(2)) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
= NULL
;
21311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21313 wxString
*arg3
= 0 ;
21314 bool temp3
= false ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "id",(char *) "helpString", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21327 if (SWIG_arg_fail(2)) SWIG_fail
;
21330 arg3
= wxString_in_helper(obj2
);
21331 if (arg3
== NULL
) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21356 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= NULL
;
21358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "id", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21372 if (SWIG_arg_fail(2)) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (arg1
)->GetToolShortHelp(arg2
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21394 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= NULL
;
21396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21398 wxString
*arg3
= 0 ;
21399 bool temp3
= false ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 PyObject
* obj2
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "id",(char *) "helpString", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail
;
21411 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21412 if (SWIG_arg_fail(2)) SWIG_fail
;
21415 arg3
= wxString_in_helper(obj2
);
21416 if (arg3
== NULL
) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
= NULL
;
21443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self",(char *) "id", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21457 if (SWIG_arg_fail(2)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (arg1
)->GetToolLongHelp(arg2
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21479 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= NULL
;
21481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "x",(char *) "y", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21496 if (SWIG_arg_fail(2)) SWIG_fail
;
21499 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21500 if (SWIG_arg_fail(3)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->SetMargins(arg2
,arg3
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= NULL
;
21518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self",(char *) "size", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 (arg1
)->SetMargins((wxSize
const &)*arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 Py_INCREF(Py_None
); resultobj
= Py_None
;
21548 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
= NULL
;
21550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "packing", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
21559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21560 if (SWIG_arg_fail(1)) SWIG_fail
;
21562 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21563 if (SWIG_arg_fail(2)) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 (arg1
)->SetToolPacking(arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 Py_INCREF(Py_None
); resultobj
= Py_None
;
21579 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
= NULL
;
21581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "separation", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21594 if (SWIG_arg_fail(2)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->SetToolSeparation(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= NULL
;
21612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (arg1
)->GetToolMargins();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 wxSize
* resultptr
;
21631 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21640 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= NULL
;
21642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (arg1
)->GetMargins();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 wxSize
* resultptr
;
21661 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21670 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
= NULL
;
21672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (int)(arg1
)->GetToolPacking();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_From_int(static_cast<int >(result
));
21698 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
= NULL
;
21700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (int)(arg1
)->GetToolSeparation();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_From_int(static_cast<int >(result
));
21726 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= NULL
;
21728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "nRows", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
21737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21738 if (SWIG_arg_fail(1)) SWIG_fail
;
21740 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21741 if (SWIG_arg_fail(2)) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 (arg1
)->SetRows(arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
= NULL
;
21759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 PyObject
* obj2
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self",(char *) "rows",(char *) "cols", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail
;
21773 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21774 if (SWIG_arg_fail(2)) SWIG_fail
;
21777 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21778 if (SWIG_arg_fail(3)) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 Py_INCREF(Py_None
); resultobj
= Py_None
;
21794 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
= NULL
;
21796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (int)(arg1
)->GetMaxRows();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_From_int(static_cast<int >(result
));
21822 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
= NULL
;
21824 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21826 PyObject
* obj0
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (int)(arg1
)->GetMaxCols();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= SWIG_From_int(static_cast<int >(result
));
21850 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
= NULL
;
21852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "size", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail
;
21866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
= NULL
;
21884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
21892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (arg1
)->GetToolBitmapSize();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 wxSize
* resultptr
;
21903 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21912 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= NULL
;
21914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
21922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (arg1
)->GetToolSize();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 wxSize
* resultptr
;
21933 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21942 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
= NULL
;
21944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21947 wxToolBarToolBase
*result
;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "x",(char *) "y", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21960 if (SWIG_arg_fail(2)) SWIG_fail
;
21963 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21964 if (SWIG_arg_fail(3)) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21982 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
= NULL
;
21984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21986 wxToolBarToolBase
*result
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "toolid", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
21997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21998 if (SWIG_arg_fail(2)) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22016 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
= NULL
;
22018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->IsVertical();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
22046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22047 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
22049 return Py_BuildValue((char *)"");
22051 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
= NULL
;
22053 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 int arg2
= (int) -1 ;
22055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22059 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22060 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
22061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22065 bool temp6
= false ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 PyObject
* obj3
= 0 ;
22070 PyObject
* obj4
= 0 ;
22071 PyObject
* obj5
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail
;
22081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22099 arg5
= static_cast<long >(SWIG_As_long(obj4
));
22100 if (SWIG_arg_fail(5)) SWIG_fail
;
22105 arg6
= wxString_in_helper(obj5
);
22106 if (arg6
== NULL
) SWIG_fail
;
22111 if (!wxPyCheckForApp()) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22133 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= NULL
;
22136 char *kwnames
[] = {
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
22142 if (!wxPyCheckForApp()) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (wxToolBar
*)new wxToolBar();
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22156 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
= NULL
;
22158 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22159 wxWindow
*arg2
= (wxWindow
*) 0 ;
22160 int arg3
= (int) -1 ;
22161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22165 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22166 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
22167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22171 bool temp7
= false ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 PyObject
* obj2
= 0 ;
22175 PyObject
* obj3
= 0 ;
22176 PyObject
* obj4
= 0 ;
22177 PyObject
* obj5
= 0 ;
22178 PyObject
* obj6
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail
;
22186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22187 if (SWIG_arg_fail(2)) SWIG_fail
;
22190 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22191 if (SWIG_arg_fail(3)) SWIG_fail
;
22197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22208 arg6
= static_cast<long >(SWIG_As_long(obj5
));
22209 if (SWIG_arg_fail(6)) SWIG_fail
;
22214 arg7
= wxString_in_helper(obj6
);
22215 if (arg7
== NULL
) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22243 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
= NULL
;
22245 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22248 wxToolBarToolBase
*result
;
22249 PyObject
* obj0
= 0 ;
22250 PyObject
* obj1
= 0 ;
22251 PyObject
* obj2
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self",(char *) "x",(char *) "y", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail
;
22260 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22261 if (SWIG_arg_fail(2)) SWIG_fail
;
22264 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22265 if (SWIG_arg_fail(3)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22283 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= NULL
;
22285 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
22286 wxVisualAttributes result
;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "variant", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22295 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22300 if (!wxPyCheckForApp()) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 wxVisualAttributes
* resultptr
;
22309 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
22310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22318 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
22320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22321 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
22323 return Py_BuildValue((char *)"");
22325 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
22326 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
22331 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
22332 PyObject
*pyobj
= NULL
;
22336 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22338 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22345 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
= NULL
;
22347 wxColour
const &arg1_defvalue
= wxNullColour
;
22348 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
22349 wxColour
const &arg2_defvalue
= wxNullColour
;
22350 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
22351 wxFont
const &arg3_defvalue
= wxNullFont
;
22352 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
22353 wxListItemAttr
*result
;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 PyObject
* obj2
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22367 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
22373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22378 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22379 if (SWIG_arg_fail(3)) SWIG_fail
;
22380 if (arg3
== NULL
) {
22381 SWIG_null_ref("wxFont");
22383 if (SWIG_arg_fail(3)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
22400 static PyObject
*_wrap_delete_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
= NULL
;
22402 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItemAttr",kwnames
,&obj0
)) goto fail
;
22409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= NULL
;
22427 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22428 wxColour
*arg2
= 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "colText", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= NULL
;
22459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22460 wxColour
*arg2
= 0 ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "colBack", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail
;
22473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
= NULL
;
22491 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "font", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22504 if (SWIG_arg_fail(2)) SWIG_fail
;
22505 if (arg2
== NULL
) {
22506 SWIG_null_ref("wxFont");
22508 if (SWIG_arg_fail(2)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->SetFont((wxFont
const &)*arg2
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
= NULL
;
22526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
22534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (bool)(arg1
)->HasTextColour();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22552 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= NULL
;
22554 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (bool)(arg1
)->HasBackgroundColour();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22580 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
= NULL
;
22582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (bool)(arg1
)->HasFont();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22608 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
= NULL
;
22610 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
22618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (arg1
)->GetTextColour();
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22628 wxColour
* resultptr
;
22629 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22638 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
= NULL
;
22640 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22649 if (SWIG_arg_fail(1)) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (arg1
)->GetBackgroundColour();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 wxColour
* resultptr
;
22659 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22668 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= NULL
;
22670 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
22678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (arg1
)->GetFont();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 wxFont
* resultptr
;
22689 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22698 static PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
= NULL
;
22700 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22701 wxListItemAttr
*arg2
= 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "source", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
22709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail
;
22712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(2)) SWIG_fail
;
22714 if (arg2
== NULL
) {
22715 SWIG_null_ref("wxListItemAttr");
22717 if (SWIG_arg_fail(2)) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
= NULL
;
22735 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
22742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 wxListItemAttr_Destroy(arg1
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
22760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22761 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
22763 return Py_BuildValue((char *)"");
22765 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
= NULL
;
22767 wxListItem
*result
;
22768 char *kwnames
[] = {
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (wxListItem
*)new wxListItem();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= wxPyMake_wxObject(result
, (bool)1);
22789 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= NULL
;
22791 wxListItem
*arg1
= (wxListItem
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
22798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
= NULL
;
22816 wxListItem
*arg1
= (wxListItem
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 Py_INCREF(Py_None
); resultobj
= Py_None
;
22839 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
= NULL
;
22841 wxListItem
*arg1
= (wxListItem
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
22848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->ClearAttributes();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
= NULL
;
22866 wxListItem
*arg1
= (wxListItem
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "mask", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22876 if (SWIG_arg_fail(1)) SWIG_fail
;
22878 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22879 if (SWIG_arg_fail(2)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->SetMask(arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
= NULL
;
22897 wxListItem
*arg1
= (wxListItem
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "id", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail
;
22909 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22910 if (SWIG_arg_fail(2)) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->SetId(arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22926 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= NULL
;
22928 wxListItem
*arg1
= (wxListItem
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "col", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22940 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22941 if (SWIG_arg_fail(2)) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 (arg1
)->SetColumn(arg2
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 Py_INCREF(Py_None
); resultobj
= Py_None
;
22957 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
= NULL
;
22959 wxListItem
*arg1
= (wxListItem
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self",(char *) "state", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
22968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail
;
22971 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22972 if (SWIG_arg_fail(2)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->SetState(arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 Py_INCREF(Py_None
); resultobj
= Py_None
;
22988 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= NULL
;
22990 wxListItem
*arg1
= (wxListItem
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "stateMask", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23000 if (SWIG_arg_fail(1)) SWIG_fail
;
23002 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23003 if (SWIG_arg_fail(2)) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->SetStateMask(arg2
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 Py_INCREF(Py_None
); resultobj
= Py_None
;
23019 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
= NULL
;
23021 wxListItem
*arg1
= (wxListItem
*) 0 ;
23022 wxString
*arg2
= 0 ;
23023 bool temp2
= false ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "text", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
23031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail
;
23034 arg2
= wxString_in_helper(obj1
);
23035 if (arg2
== NULL
) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 (arg1
)->SetText((wxString
const &)*arg2
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
= NULL
;
23062 wxListItem
*arg1
= (wxListItem
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "image", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail
;
23074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23075 if (SWIG_arg_fail(2)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 (arg1
)->SetImage(arg2
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
= NULL
;
23093 wxListItem
*arg1
= (wxListItem
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "data", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23106 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetData(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
= NULL
;
23124 wxListItem
*arg1
= (wxListItem
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "width", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23134 if (SWIG_arg_fail(1)) SWIG_fail
;
23136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23137 if (SWIG_arg_fail(2)) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 (arg1
)->SetWidth(arg2
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 Py_INCREF(Py_None
); resultobj
= Py_None
;
23153 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
= NULL
;
23155 wxListItem
*arg1
= (wxListItem
*) 0 ;
23156 wxListColumnFormat arg2
;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self",(char *) "align", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
23164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23165 if (SWIG_arg_fail(1)) SWIG_fail
;
23167 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
23168 if (SWIG_arg_fail(2)) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->SetAlign(arg2
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= NULL
;
23186 wxListItem
*arg1
= (wxListItem
*) 0 ;
23187 wxColour
*arg2
= 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "colText", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23216 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
= NULL
;
23218 wxListItem
*arg1
= (wxListItem
*) 0 ;
23219 wxColour
*arg2
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "colBack", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail
;
23232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= NULL
;
23250 wxListItem
*arg1
= (wxListItem
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "font", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23260 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(2)) SWIG_fail
;
23264 if (arg2
== NULL
) {
23265 SWIG_null_ref("wxFont");
23267 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetFont((wxFont
const &)*arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= NULL
;
23285 wxListItem
*arg1
= (wxListItem
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
23293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (long)(arg1
)->GetMask();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_From_long(static_cast<long >(result
));
23311 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
= NULL
;
23313 wxListItem
*arg1
= (wxListItem
*) 0 ;
23315 PyObject
* obj0
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
23321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23322 if (SWIG_arg_fail(1)) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (long)(arg1
)->GetId();
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_From_long(static_cast<long >(result
));
23339 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= NULL
;
23341 wxListItem
*arg1
= (wxListItem
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
23349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (int)(arg1
)->GetColumn();
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_From_int(static_cast<int >(result
));
23367 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= NULL
;
23369 wxListItem
*arg1
= (wxListItem
*) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
23377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (long)(arg1
)->GetState();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_From_long(static_cast<long >(result
));
23395 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
= NULL
;
23397 wxListItem
*arg1
= (wxListItem
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
23405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 wxString
const &_result_ref
= (arg1
)->GetText();
23411 result
= (wxString
*) &_result_ref
;
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23421 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23430 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= NULL
;
23432 wxListItem
*arg1
= (wxListItem
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
23440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (int)(arg1
)->GetImage();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_From_int(static_cast<int >(result
));
23458 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= NULL
;
23460 wxListItem
*arg1
= (wxListItem
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (long)(arg1
)->GetData();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_long(static_cast<long >(result
));
23486 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
= NULL
;
23488 wxListItem
*arg1
= (wxListItem
*) 0 ;
23490 PyObject
* obj0
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (int)(arg1
)->GetWidth();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_From_int(static_cast<int >(result
));
23514 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
= NULL
;
23516 wxListItem
*arg1
= (wxListItem
*) 0 ;
23517 wxListColumnFormat result
;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
23524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_From_int((result
));
23540 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
= NULL
;
23542 wxListItem
*arg1
= (wxListItem
*) 0 ;
23543 wxListItemAttr
*result
;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
23550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23551 if (SWIG_arg_fail(1)) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
23566 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
= NULL
;
23568 wxListItem
*arg1
= (wxListItem
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (bool)(arg1
)->HasAttributes();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23594 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= NULL
;
23596 wxListItem
*arg1
= (wxListItem
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
23604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23605 if (SWIG_arg_fail(1)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= ((wxListItem
const *)arg1
)->GetTextColour();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 wxColour
* resultptr
;
23615 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23624 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
= NULL
;
23626 wxListItem
*arg1
= (wxListItem
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 wxColour
* resultptr
;
23645 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23654 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= NULL
;
23656 wxListItem
*arg1
= (wxListItem
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
23664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= ((wxListItem
const *)arg1
)->GetFont();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 wxFont
* resultptr
;
23675 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
23676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23684 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
= NULL
;
23686 wxListItem
*arg1
= (wxListItem
*) 0 ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "m_mask", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23696 if (SWIG_arg_fail(1)) SWIG_fail
;
23698 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23699 if (SWIG_arg_fail(2)) SWIG_fail
;
23701 if (arg1
) (arg1
)->m_mask
= arg2
;
23703 Py_INCREF(Py_None
); resultobj
= Py_None
;
23710 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
= NULL
;
23712 wxListItem
*arg1
= (wxListItem
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
23720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23721 if (SWIG_arg_fail(1)) SWIG_fail
;
23722 result
= (long) ((arg1
)->m_mask
);
23725 resultobj
= SWIG_From_long(static_cast<long >(result
));
23733 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= NULL
;
23735 wxListItem
*arg1
= (wxListItem
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self",(char *) "m_itemId", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail
;
23747 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23748 if (SWIG_arg_fail(2)) SWIG_fail
;
23750 if (arg1
) (arg1
)->m_itemId
= arg2
;
23752 Py_INCREF(Py_None
); resultobj
= Py_None
;
23759 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= NULL
;
23761 wxListItem
*arg1
= (wxListItem
*) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
23769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 result
= (long) ((arg1
)->m_itemId
);
23774 resultobj
= SWIG_From_long(static_cast<long >(result
));
23782 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= NULL
;
23784 wxListItem
*arg1
= (wxListItem
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "m_col", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23796 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23797 if (SWIG_arg_fail(2)) SWIG_fail
;
23799 if (arg1
) (arg1
)->m_col
= arg2
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= NULL
;
23810 wxListItem
*arg1
= (wxListItem
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
23818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail
;
23820 result
= (int) ((arg1
)->m_col
);
23823 resultobj
= SWIG_From_int(static_cast<int >(result
));
23831 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
= NULL
;
23833 wxListItem
*arg1
= (wxListItem
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 PyObject
* obj1
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self",(char *) "m_state", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail
;
23845 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23846 if (SWIG_arg_fail(2)) SWIG_fail
;
23848 if (arg1
) (arg1
)->m_state
= arg2
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
= NULL
;
23859 wxListItem
*arg1
= (wxListItem
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
23867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail
;
23869 result
= (long) ((arg1
)->m_state
);
23872 resultobj
= SWIG_From_long(static_cast<long >(result
));
23880 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= NULL
;
23882 wxListItem
*arg1
= (wxListItem
*) 0 ;
23884 PyObject
* obj0
= 0 ;
23885 PyObject
* obj1
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self",(char *) "m_stateMask", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail
;
23894 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23895 if (SWIG_arg_fail(2)) SWIG_fail
;
23897 if (arg1
) (arg1
)->m_stateMask
= arg2
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= NULL
;
23908 wxListItem
*arg1
= (wxListItem
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23918 result
= (long) ((arg1
)->m_stateMask
);
23921 resultobj
= SWIG_From_long(static_cast<long >(result
));
23929 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= NULL
;
23931 wxListItem
*arg1
= (wxListItem
*) 0 ;
23932 wxString
*arg2
= (wxString
*) 0 ;
23933 bool temp2
= false ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "m_text", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23942 if (SWIG_arg_fail(1)) SWIG_fail
;
23944 arg2
= wxString_in_helper(obj1
);
23945 if (arg2
== NULL
) SWIG_fail
;
23948 if (arg1
) (arg1
)->m_text
= *arg2
;
23950 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
= NULL
;
23967 wxListItem
*arg1
= (wxListItem
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
23975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail
;
23977 result
= (wxString
*)& ((arg1
)->m_text
);
23981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23992 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= NULL
;
23994 wxListItem
*arg1
= (wxListItem
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "m_image", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24009 if (arg1
) (arg1
)->m_image
= arg2
;
24011 Py_INCREF(Py_None
); resultobj
= Py_None
;
24018 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= NULL
;
24020 wxListItem
*arg1
= (wxListItem
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
24028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail
;
24030 result
= (int) ((arg1
)->m_image
);
24033 resultobj
= SWIG_From_int(static_cast<int >(result
));
24041 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
= NULL
;
24043 wxListItem
*arg1
= (wxListItem
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "m_data", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail
;
24055 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24056 if (SWIG_arg_fail(2)) SWIG_fail
;
24058 if (arg1
) (arg1
)->m_data
= arg2
;
24060 Py_INCREF(Py_None
); resultobj
= Py_None
;
24067 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= NULL
;
24069 wxListItem
*arg1
= (wxListItem
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
24077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail
;
24079 result
= (long) ((arg1
)->m_data
);
24082 resultobj
= SWIG_From_long(static_cast<long >(result
));
24090 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
= NULL
;
24092 wxListItem
*arg1
= (wxListItem
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "m_format", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24105 if (SWIG_arg_fail(2)) SWIG_fail
;
24107 if (arg1
) (arg1
)->m_format
= arg2
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
= NULL
;
24118 wxListItem
*arg1
= (wxListItem
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
24126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail
;
24128 result
= (int) ((arg1
)->m_format
);
24131 resultobj
= SWIG_From_int(static_cast<int >(result
));
24139 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= NULL
;
24141 wxListItem
*arg1
= (wxListItem
*) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "m_width", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24153 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24154 if (SWIG_arg_fail(2)) SWIG_fail
;
24156 if (arg1
) (arg1
)->m_width
= arg2
;
24158 Py_INCREF(Py_None
); resultobj
= Py_None
;
24165 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
= NULL
;
24167 wxListItem
*arg1
= (wxListItem
*) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
24175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24176 if (SWIG_arg_fail(1)) SWIG_fail
;
24177 result
= (int) ((arg1
)->m_width
);
24180 resultobj
= SWIG_From_int(static_cast<int >(result
));
24188 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
24190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24191 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
24193 return Py_BuildValue((char *)"");
24195 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= NULL
;
24197 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24198 int arg2
= (int) 0 ;
24199 wxListEvent
*result
;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "commandType",(char *) "id", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24215 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24216 if (SWIG_arg_fail(2)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
24233 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= NULL
;
24235 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "m_code", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24250 if (arg1
) (arg1
)->m_code
= arg2
;
24252 Py_INCREF(Py_None
); resultobj
= Py_None
;
24259 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= NULL
;
24261 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
24269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail
;
24271 result
= (int) ((arg1
)->m_code
);
24274 resultobj
= SWIG_From_int(static_cast<int >(result
));
24282 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
= NULL
;
24284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "m_oldItemIndex", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24294 if (SWIG_arg_fail(1)) SWIG_fail
;
24296 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24297 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
24301 Py_INCREF(Py_None
); resultobj
= Py_None
;
24308 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= NULL
;
24310 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 result
= (long) ((arg1
)->m_oldItemIndex
);
24323 resultobj
= SWIG_From_long(static_cast<long >(result
));
24331 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= NULL
;
24333 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self",(char *) "m_itemIndex", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24343 if (SWIG_arg_fail(1)) SWIG_fail
;
24345 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24346 if (SWIG_arg_fail(2)) SWIG_fail
;
24348 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
24350 Py_INCREF(Py_None
); resultobj
= Py_None
;
24357 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= NULL
;
24359 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24369 result
= (long) ((arg1
)->m_itemIndex
);
24372 resultobj
= SWIG_From_long(static_cast<long >(result
));
24380 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= NULL
;
24382 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self",(char *) "m_col", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24392 if (SWIG_arg_fail(1)) SWIG_fail
;
24394 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24395 if (SWIG_arg_fail(2)) SWIG_fail
;
24397 if (arg1
) (arg1
)->m_col
= arg2
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24406 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
= NULL
;
24408 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 char *kwnames
[] = {
24412 (char *) "self", NULL
24415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
24416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24417 if (SWIG_arg_fail(1)) SWIG_fail
;
24418 result
= (int) ((arg1
)->m_col
);
24421 resultobj
= SWIG_From_int(static_cast<int >(result
));
24429 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
= NULL
;
24431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24432 wxPoint
*arg2
= (wxPoint
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self",(char *) "m_pointDrag", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
24443 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
24446 Py_INCREF(Py_None
); resultobj
= Py_None
;
24453 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
= NULL
;
24455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
24463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24464 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
24467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
24474 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
= NULL
;
24476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24477 wxListItem
*result
;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
24484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail
;
24486 result
= (wxListItem
*)& ((arg1
)->m_item
);
24489 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24497 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
= NULL
;
24499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (int)(arg1
)->GetKeyCode();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_From_int(static_cast<int >(result
));
24525 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
= NULL
;
24527 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24529 PyObject
* obj0
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= (long)(arg1
)->GetIndex();
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_From_long(static_cast<long >(result
));
24553 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24554 PyObject
*resultobj
= NULL
;
24555 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
24563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24564 if (SWIG_arg_fail(1)) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (int)(arg1
)->GetColumn();
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_From_int(static_cast<int >(result
));
24581 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= NULL
;
24583 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (arg1
)->GetPoint();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 wxPoint
* resultptr
;
24602 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24611 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
= NULL
;
24613 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24622 if (SWIG_arg_fail(1)) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 wxString
const &_result_ref
= (arg1
)->GetLabel();
24627 result
= (wxString
*) &_result_ref
;
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24646 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= NULL
;
24648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 wxString
const &_result_ref
= (arg1
)->GetText();
24662 result
= (wxString
*) &_result_ref
;
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24681 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= NULL
;
24683 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
24691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (int)(arg1
)->GetImage();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_From_int(static_cast<int >(result
));
24709 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= NULL
;
24711 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (long)(arg1
)->GetData();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_From_long(static_cast<long >(result
));
24737 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= NULL
;
24739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
24747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24748 if (SWIG_arg_fail(1)) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (long)(arg1
)->GetMask();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_From_long(static_cast<long >(result
));
24765 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
= NULL
;
24767 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24768 wxListItem
*result
;
24769 PyObject
* obj0
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxListItem
const &_result_ref
= (arg1
)->GetItem();
24781 result
= (wxListItem
*) &_result_ref
;
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
24794 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
= NULL
;
24796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (long)(arg1
)->GetCacheFrom();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_From_long(static_cast<long >(result
));
24822 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= NULL
;
24824 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
24832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24833 if (SWIG_arg_fail(1)) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (long)(arg1
)->GetCacheTo();
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_From_long(static_cast<long >(result
));
24850 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= NULL
;
24852 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24878 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= NULL
;
24880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "editCancelled", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24893 if (SWIG_arg_fail(2)) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->SetEditCanceled(arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
24911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
24914 return Py_BuildValue((char *)"");
24916 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= NULL
;
24918 wxWindow
*arg1
= (wxWindow
*) 0 ;
24919 int arg2
= (int) -1 ;
24920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24922 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24923 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24924 long arg5
= (long) wxLC_ICON
;
24925 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24926 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24927 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24929 wxPyListCtrl
*result
;
24932 bool temp7
= false ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 PyObject
* obj2
= 0 ;
24936 PyObject
* obj3
= 0 ;
24937 PyObject
* obj4
= 0 ;
24938 PyObject
* obj5
= 0 ;
24939 PyObject
* obj6
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24950 if (SWIG_arg_fail(2)) SWIG_fail
;
24956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24967 arg5
= static_cast<long >(SWIG_As_long(obj4
));
24968 if (SWIG_arg_fail(5)) SWIG_fail
;
24973 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24974 if (SWIG_arg_fail(6)) SWIG_fail
;
24975 if (arg6
== NULL
) {
24976 SWIG_null_ref("wxValidator");
24978 if (SWIG_arg_fail(6)) SWIG_fail
;
24983 arg7
= wxString_in_helper(obj6
);
24984 if (arg7
== NULL
) SWIG_fail
;
24989 if (!wxPyCheckForApp()) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25011 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
= NULL
;
25013 wxPyListCtrl
*result
;
25014 char *kwnames
[] = {
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
25020 if (!wxPyCheckForApp()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (wxPyListCtrl
*)new wxPyListCtrl();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25034 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= NULL
;
25036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25037 wxWindow
*arg2
= (wxWindow
*) 0 ;
25038 int arg3
= (int) -1 ;
25039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25043 long arg6
= (long) wxLC_ICON
;
25044 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25045 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25046 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
25047 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25051 bool temp8
= false ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 PyObject
* obj3
= 0 ;
25056 PyObject
* obj4
= 0 ;
25057 PyObject
* obj5
= 0 ;
25058 PyObject
* obj6
= 0 ;
25059 PyObject
* obj7
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(2)) SWIG_fail
;
25071 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25072 if (SWIG_arg_fail(3)) SWIG_fail
;
25078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25089 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25090 if (SWIG_arg_fail(6)) SWIG_fail
;
25095 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(7)) SWIG_fail
;
25097 if (arg7
== NULL
) {
25098 SWIG_null_ref("wxValidator");
25100 if (SWIG_arg_fail(7)) SWIG_fail
;
25105 arg8
= wxString_in_helper(obj7
);
25106 if (arg8
== NULL
) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25134 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
= NULL
;
25136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25137 PyObject
*arg2
= (PyObject
*) 0 ;
25138 PyObject
*arg3
= (PyObject
*) 0 ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 PyObject
* obj2
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self",(char *) "self",(char *) "_class", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25148 if (SWIG_arg_fail(1)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 Py_INCREF(Py_None
); resultobj
= Py_None
;
25165 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
= NULL
;
25167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25168 wxColour
*arg2
= 0 ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "col", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25179 if (SWIG_arg_fail(1)) SWIG_fail
;
25182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25200 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
= NULL
;
25202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25203 wxColour
*arg2
= 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "col", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail
;
25217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= NULL
;
25237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25239 wxListItem
*result
;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self",(char *) "col", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail
;
25250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25251 if (SWIG_arg_fail(2)) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25269 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= NULL
;
25271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25273 wxListItem
*arg3
= 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 PyObject
* obj2
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self",(char *) "col",(char *) "item", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail
;
25286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25287 if (SWIG_arg_fail(2)) SWIG_fail
;
25290 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(3)) SWIG_fail
;
25292 if (arg3
== NULL
) {
25293 SWIG_null_ref("wxListItem");
25295 if (SWIG_arg_fail(3)) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25313 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
= NULL
;
25315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "col", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25329 if (SWIG_arg_fail(2)) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_From_int(static_cast<int >(result
));
25347 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= NULL
;
25349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 PyObject
* obj2
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "col",(char *) "width", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail
;
25364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25365 if (SWIG_arg_fail(2)) SWIG_fail
;
25368 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25369 if (SWIG_arg_fail(3)) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25387 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
= NULL
;
25389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
25397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= SWIG_From_int(static_cast<int >(result
));
25415 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
= NULL
;
25417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
25425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 wxRect
* resultptr
;
25436 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25445 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
= NULL
;
25447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25449 int arg3
= (int) 0 ;
25450 wxListItem
*result
;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 PyObject
* obj2
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "itemId",(char *) "col", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail
;
25462 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25463 if (SWIG_arg_fail(2)) SWIG_fail
;
25467 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25468 if (SWIG_arg_fail(3)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25487 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= NULL
;
25489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25490 wxListItem
*arg2
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "info", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(2)) SWIG_fail
;
25504 if (arg2
== NULL
) {
25505 SWIG_null_ref("wxListItem");
25507 if (SWIG_arg_fail(2)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->SetItem(*arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= NULL
;
25527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25530 wxString
*arg4
= 0 ;
25531 int arg5
= (int) -1 ;
25533 bool temp4
= false ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 PyObject
* obj2
= 0 ;
25537 PyObject
* obj3
= 0 ;
25538 PyObject
* obj4
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25548 if (SWIG_arg_fail(2)) SWIG_fail
;
25551 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25552 if (SWIG_arg_fail(3)) SWIG_fail
;
25555 arg4
= wxString_in_helper(obj3
);
25556 if (arg4
== NULL
) SWIG_fail
;
25561 arg5
= static_cast<int >(SWIG_As_int(obj4
));
25562 if (SWIG_arg_fail(5)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_From_long(static_cast<long >(result
));
25589 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= NULL
;
25591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 PyObject
* obj2
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25604 if (SWIG_arg_fail(1)) SWIG_fail
;
25606 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25607 if (SWIG_arg_fail(2)) SWIG_fail
;
25610 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25611 if (SWIG_arg_fail(3)) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= SWIG_From_int(static_cast<int >(result
));
25629 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
= NULL
;
25631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 PyObject
* obj2
= 0 ;
25639 PyObject
* obj3
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail
;
25648 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25649 if (SWIG_arg_fail(2)) SWIG_fail
;
25652 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25653 if (SWIG_arg_fail(3)) SWIG_fail
;
25656 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25657 if (SWIG_arg_fail(4)) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25675 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
= NULL
;
25677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25680 int arg4
= (int) -1 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 PyObject
* obj2
= 0 ;
25685 PyObject
* obj3
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25692 if (SWIG_arg_fail(1)) SWIG_fail
;
25694 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25695 if (SWIG_arg_fail(2)) SWIG_fail
;
25698 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25699 if (SWIG_arg_fail(3)) SWIG_fail
;
25703 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25704 if (SWIG_arg_fail(4)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25723 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= NULL
;
25725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "item", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25739 if (SWIG_arg_fail(2)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25761 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
= NULL
;
25763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25765 wxString
*arg3
= 0 ;
25766 bool temp3
= false ;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 PyObject
* obj2
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self",(char *) "item",(char *) "str", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25776 if (SWIG_arg_fail(1)) SWIG_fail
;
25778 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25779 if (SWIG_arg_fail(2)) SWIG_fail
;
25782 arg3
= wxString_in_helper(obj2
);
25783 if (arg3
== NULL
) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 Py_INCREF(Py_None
); resultobj
= Py_None
;
25808 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= NULL
;
25810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "item", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_From_long(static_cast<long >(result
));
25842 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
= NULL
;
25844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 PyObject
* obj2
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "item",(char *) "data", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25859 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25860 if (SWIG_arg_fail(2)) SWIG_fail
;
25863 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25864 if (SWIG_arg_fail(3)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25882 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= NULL
;
25884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "item", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail
;
25897 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25898 if (SWIG_arg_fail(2)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25908 wxPoint
* resultptr
;
25909 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
25910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25918 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
= NULL
;
25920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25922 int arg3
= (int) wxLIST_RECT_BOUNDS
;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 PyObject
* obj2
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "item",(char *) "code", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25936 if (SWIG_arg_fail(2)) SWIG_fail
;
25940 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25941 if (SWIG_arg_fail(3)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 wxRect
* resultptr
;
25953 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25962 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
= NULL
;
25964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25966 wxPoint
*arg3
= 0 ;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 PyObject
* obj2
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "item",(char *) "pos", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail
;
25980 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25981 if (SWIG_arg_fail(2)) SWIG_fail
;
25985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26003 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
= NULL
;
26005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
26013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_From_int(static_cast<int >(result
));
26031 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= NULL
;
26033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_From_int(static_cast<int >(result
));
26059 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
= NULL
;
26061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26063 PyObject
* obj0
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26079 wxSize
* resultptr
;
26080 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
26081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26089 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
= NULL
;
26091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26093 bool arg3
= (bool) false ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail
;
26105 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26106 if (SWIG_arg_fail(2)) SWIG_fail
;
26110 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26111 if (SWIG_arg_fail(3)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetItemSpacing(arg2
,arg3
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= NULL
;
26130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= SWIG_From_int(static_cast<int >(result
));
26156 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
= NULL
;
26158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 wxColour
* resultptr
;
26177 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26186 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
= NULL
;
26188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26189 wxColour
*arg2
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "col", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26202 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 Py_INCREF(Py_None
); resultobj
= Py_None
;
26218 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
= NULL
;
26220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_From_long(static_cast<long >(result
));
26246 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= NULL
;
26248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26250 bool arg3
= (bool) true ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 PyObject
* obj2
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "style",(char *) "add", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26263 if (SWIG_arg_fail(2)) SWIG_fail
;
26267 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26268 if (SWIG_arg_fail(3)) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 (arg1
)->SetSingleStyle(arg2
,arg3
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 Py_INCREF(Py_None
); resultobj
= Py_None
;
26285 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
= NULL
;
26287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self",(char *) "style", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail
;
26299 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26300 if (SWIG_arg_fail(2)) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 (arg1
)->SetWindowStyleFlag(arg2
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 Py_INCREF(Py_None
); resultobj
= Py_None
;
26316 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
= NULL
;
26318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26320 int arg3
= (int) wxLIST_NEXT_ALL
;
26321 int arg4
= (int) wxLIST_STATE_DONTCARE
;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 PyObject
* obj2
= 0 ;
26326 PyObject
* obj3
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26333 if (SWIG_arg_fail(1)) SWIG_fail
;
26335 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26336 if (SWIG_arg_fail(2)) SWIG_fail
;
26340 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26341 if (SWIG_arg_fail(3)) SWIG_fail
;
26346 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26347 if (SWIG_arg_fail(4)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_From_long(static_cast<long >(result
));
26366 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= NULL
;
26368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26370 wxImageList
*result
;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "which", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26379 if (SWIG_arg_fail(1)) SWIG_fail
;
26381 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26382 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26400 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= NULL
;
26402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26403 wxImageList
*arg2
= (wxImageList
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 PyObject
* obj2
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "imageList",(char *) "which", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
26416 if (SWIG_arg_fail(2)) SWIG_fail
;
26418 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26419 if (SWIG_arg_fail(3)) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 (arg1
)->SetImageList(arg2
,arg3
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 Py_INCREF(Py_None
); resultobj
= Py_None
;
26435 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
= NULL
;
26437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26438 wxImageList
*arg2
= (wxImageList
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 PyObject
* obj2
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "imageList",(char *) "which", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26451 if (SWIG_arg_fail(2)) SWIG_fail
;
26453 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26454 if (SWIG_arg_fail(3)) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 (arg1
)->AssignImageList(arg2
,arg3
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 Py_INCREF(Py_None
); resultobj
= Py_None
;
26470 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
= NULL
;
26472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
26480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26481 if (SWIG_arg_fail(1)) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26498 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= NULL
;
26500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
26508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26526 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
= NULL
;
26528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "item", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26540 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26541 if (SWIG_arg_fail(2)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 (arg1
)->RefreshItem(arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 Py_INCREF(Py_None
); resultobj
= Py_None
;
26557 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= NULL
;
26559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail
;
26573 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26574 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26578 if (SWIG_arg_fail(3)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->RefreshItems(arg2
,arg3
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26594 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
= NULL
;
26596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26597 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "flag", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26611 if (SWIG_arg_fail(2)) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (bool)(arg1
)->Arrange(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26630 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
= NULL
;
26632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self",(char *) "item", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail
;
26645 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26646 if (SWIG_arg_fail(2)) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (bool)(arg1
)->DeleteItem(arg2
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26664 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
= NULL
;
26666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26675 if (SWIG_arg_fail(1)) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (bool)(arg1
)->DeleteAllItems();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26692 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= NULL
;
26694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "col", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
26704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26708 if (SWIG_arg_fail(2)) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (bool)(arg1
)->DeleteColumn(arg2
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26726 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
= NULL
;
26728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
26736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= (bool)(arg1
)->DeleteAllColumns();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26754 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
= NULL
;
26756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
26763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->ClearAll();
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26779 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= NULL
;
26781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char *kwnames
[] = {
26786 (char *) "self",(char *) "item", NULL
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26791 if (SWIG_arg_fail(1)) SWIG_fail
;
26793 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26794 if (SWIG_arg_fail(2)) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 (arg1
)->EditLabel(arg2
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 Py_INCREF(Py_None
); resultobj
= Py_None
;
26810 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
= NULL
;
26812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self",(char *) "item", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26823 if (SWIG_arg_fail(1)) SWIG_fail
;
26825 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26826 if (SWIG_arg_fail(2)) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (bool)(arg1
)->EnsureVisible(arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26844 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= NULL
;
26846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26848 wxString
*arg3
= 0 ;
26849 bool arg4
= (bool) false ;
26851 bool temp3
= false ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 PyObject
* obj2
= 0 ;
26855 PyObject
* obj3
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26865 if (SWIG_arg_fail(2)) SWIG_fail
;
26868 arg3
= wxString_in_helper(obj2
);
26869 if (arg3
== NULL
) SWIG_fail
;
26874 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
26875 if (SWIG_arg_fail(4)) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_From_long(static_cast<long >(result
));
26902 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= NULL
;
26904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "start",(char *) "data", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26919 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26920 if (SWIG_arg_fail(2)) SWIG_fail
;
26923 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26924 if (SWIG_arg_fail(3)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_From_long(static_cast<long >(result
));
26942 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
= NULL
;
26944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26946 wxPoint
*arg3
= 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 PyObject
* obj2
= 0 ;
26953 PyObject
* obj3
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26960 if (SWIG_arg_fail(1)) SWIG_fail
;
26962 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26963 if (SWIG_arg_fail(2)) SWIG_fail
;
26967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26970 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26971 if (SWIG_arg_fail(4)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_From_long(static_cast<long >(result
));
26989 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= NULL
;
26991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26992 wxPoint
*arg2
= 0 ;
26998 PyObject
* obj0
= 0 ;
26999 PyObject
* obj1
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self",(char *) "point", NULL
27004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27007 if (SWIG_arg_fail(1)) SWIG_fail
;
27010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= SWIG_From_long(static_cast<long >(result
));
27022 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27023 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27030 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
= NULL
;
27032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27033 wxListItem
*arg2
= 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "info", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail
;
27045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(2)) SWIG_fail
;
27047 if (arg2
== NULL
) {
27048 SWIG_null_ref("wxListItem");
27050 if (SWIG_arg_fail(2)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (long)(arg1
)->InsertItem(*arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_From_long(static_cast<long >(result
));
27068 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
= NULL
;
27070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27072 wxString
*arg3
= 0 ;
27073 int arg4
= (int) -1 ;
27075 bool temp3
= false ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 PyObject
* obj2
= 0 ;
27079 PyObject
* obj3
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail
;
27088 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27089 if (SWIG_arg_fail(2)) SWIG_fail
;
27092 arg3
= wxString_in_helper(obj2
);
27093 if (arg3
== NULL
) SWIG_fail
;
27098 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27099 if (SWIG_arg_fail(4)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= SWIG_From_long(static_cast<long >(result
));
27126 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= NULL
;
27128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 PyObject
* obj2
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail
;
27143 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27144 if (SWIG_arg_fail(2)) SWIG_fail
;
27147 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27148 if (SWIG_arg_fail(3)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_From_long(static_cast<long >(result
));
27166 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
= NULL
;
27168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27170 wxString
*arg3
= 0 ;
27173 bool temp3
= false ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(1)) SWIG_fail
;
27186 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27187 if (SWIG_arg_fail(2)) SWIG_fail
;
27190 arg3
= wxString_in_helper(obj2
);
27191 if (arg3
== NULL
) SWIG_fail
;
27195 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27196 if (SWIG_arg_fail(4)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_From_long(static_cast<long >(result
));
27222 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
= NULL
;
27224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27226 wxListItem
*arg3
= 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 PyObject
* obj2
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "col",(char *) "info", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27240 if (SWIG_arg_fail(2)) SWIG_fail
;
27243 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(3)) SWIG_fail
;
27245 if (arg3
== NULL
) {
27246 SWIG_null_ref("wxListItem");
27248 if (SWIG_arg_fail(3)) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_From_long(static_cast<long >(result
));
27266 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27267 PyObject
*resultobj
= NULL
;
27268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27270 wxString
*arg3
= 0 ;
27271 int arg4
= (int) wxLIST_FORMAT_LEFT
;
27272 int arg5
= (int) -1 ;
27274 bool temp3
= false ;
27275 PyObject
* obj0
= 0 ;
27276 PyObject
* obj1
= 0 ;
27277 PyObject
* obj2
= 0 ;
27278 PyObject
* obj3
= 0 ;
27279 PyObject
* obj4
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail
;
27288 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27289 if (SWIG_arg_fail(2)) SWIG_fail
;
27292 arg3
= wxString_in_helper(obj2
);
27293 if (arg3
== NULL
) SWIG_fail
;
27298 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27299 if (SWIG_arg_fail(4)) SWIG_fail
;
27304 arg5
= static_cast<int >(SWIG_As_int(obj4
));
27305 if (SWIG_arg_fail(5)) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= SWIG_From_long(static_cast<long >(result
));
27332 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
= NULL
;
27334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "count", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail
;
27346 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27347 if (SWIG_arg_fail(2)) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 (arg1
)->SetItemCount(arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
= NULL
;
27365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 PyObject
* obj2
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "dx",(char *) "dy", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail
;
27380 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27381 if (SWIG_arg_fail(2)) SWIG_fail
;
27384 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27385 if (SWIG_arg_fail(3)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27403 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
= NULL
;
27405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27407 wxColour
*arg3
= 0 ;
27409 PyObject
* obj0
= 0 ;
27410 PyObject
* obj1
= 0 ;
27411 PyObject
* obj2
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self",(char *) "item",(char *) "col", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail
;
27420 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27421 if (SWIG_arg_fail(2)) SWIG_fail
;
27425 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
27431 wxPyEndAllowThreads(__tstate
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27434 Py_INCREF(Py_None
); resultobj
= Py_None
;
27441 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
= NULL
;
27443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self",(char *) "item", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27457 if (SWIG_arg_fail(2)) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 wxColour
* resultptr
;
27468 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27477 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= NULL
;
27479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27481 wxColour
*arg3
= 0 ;
27483 PyObject
* obj0
= 0 ;
27484 PyObject
* obj1
= 0 ;
27485 PyObject
* obj2
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self",(char *) "item",(char *) "col", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27492 if (SWIG_arg_fail(1)) SWIG_fail
;
27494 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27495 if (SWIG_arg_fail(2)) SWIG_fail
;
27499 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
= NULL
;
27517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "item", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 wxColour
* resultptr
;
27542 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27551 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= NULL
;
27553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 PyObject
* obj2
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self",(char *) "item",(char *) "f", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27565 if (SWIG_arg_fail(1)) SWIG_fail
;
27567 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27568 if (SWIG_arg_fail(2)) SWIG_fail
;
27571 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
27572 if (SWIG_arg_fail(3)) SWIG_fail
;
27573 if (arg3
== NULL
) {
27574 SWIG_null_ref("wxFont");
27576 if (SWIG_arg_fail(3)) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 Py_INCREF(Py_None
); resultobj
= Py_None
;
27592 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= NULL
;
27594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "item", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27607 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27608 if (SWIG_arg_fail(2)) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27618 wxFont
* resultptr
;
27619 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
27620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27628 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
= NULL
;
27630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27631 PyObject
*arg2
= (PyObject
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "func", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
27640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27641 if (SWIG_arg_fail(1)) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27659 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= NULL
;
27661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27663 PyObject
* obj0
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
27669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27670 if (SWIG_arg_fail(1)) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= wxPyMake_wxObject(result
, 0);
27687 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
= NULL
;
27689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
27690 wxVisualAttributes result
;
27691 PyObject
* obj0
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "variant", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27699 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
27700 if (SWIG_arg_fail(1)) SWIG_fail
;
27704 if (!wxPyCheckForApp()) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 wxVisualAttributes
* resultptr
;
27713 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
27714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27722 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27725 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
27727 return Py_BuildValue((char *)"");
27729 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
= NULL
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 int arg2
= (int) -1 ;
27733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27737 long arg5
= (long) wxLC_REPORT
;
27738 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27739 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27740 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
27741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27742 wxListView
*result
;
27745 bool temp7
= false ;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 PyObject
* obj2
= 0 ;
27749 PyObject
* obj3
= 0 ;
27750 PyObject
* obj4
= 0 ;
27751 PyObject
* obj5
= 0 ;
27752 PyObject
* obj6
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27759 if (SWIG_arg_fail(1)) SWIG_fail
;
27762 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27763 if (SWIG_arg_fail(2)) SWIG_fail
;
27769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27775 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27780 arg5
= static_cast<long >(SWIG_As_long(obj4
));
27781 if (SWIG_arg_fail(5)) SWIG_fail
;
27786 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27787 if (SWIG_arg_fail(6)) SWIG_fail
;
27788 if (arg6
== NULL
) {
27789 SWIG_null_ref("wxValidator");
27791 if (SWIG_arg_fail(6)) SWIG_fail
;
27796 arg7
= wxString_in_helper(obj6
);
27797 if (arg7
== NULL
) SWIG_fail
;
27802 if (!wxPyCheckForApp()) SWIG_fail
;
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27824 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
= NULL
;
27826 wxListView
*result
;
27827 char *kwnames
[] = {
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
27833 if (!wxPyCheckForApp()) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (wxListView
*)new wxListView();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27847 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
= NULL
;
27849 wxListView
*arg1
= (wxListView
*) 0 ;
27850 wxWindow
*arg2
= (wxWindow
*) 0 ;
27851 int arg3
= (int) -1 ;
27852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27856 long arg6
= (long) wxLC_REPORT
;
27857 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27858 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27859 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
27860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27864 bool temp8
= false ;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 PyObject
* obj3
= 0 ;
27869 PyObject
* obj4
= 0 ;
27870 PyObject
* obj5
= 0 ;
27871 PyObject
* obj6
= 0 ;
27872 PyObject
* obj7
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail
;
27880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27881 if (SWIG_arg_fail(2)) SWIG_fail
;
27884 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27885 if (SWIG_arg_fail(3)) SWIG_fail
;
27891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27902 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27903 if (SWIG_arg_fail(6)) SWIG_fail
;
27908 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(7)) SWIG_fail
;
27910 if (arg7
== NULL
) {
27911 SWIG_null_ref("wxValidator");
27913 if (SWIG_arg_fail(7)) SWIG_fail
;
27918 arg8
= wxString_in_helper(obj7
);
27919 if (arg8
== NULL
) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27947 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27948 PyObject
*resultobj
= NULL
;
27949 wxListView
*arg1
= (wxListView
*) 0 ;
27951 bool arg3
= (bool) true ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 PyObject
* obj2
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self",(char *) "n",(char *) "on", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27961 if (SWIG_arg_fail(1)) SWIG_fail
;
27963 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27964 if (SWIG_arg_fail(2)) SWIG_fail
;
27968 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
27969 if (SWIG_arg_fail(3)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->Select(arg2
,arg3
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 Py_INCREF(Py_None
); resultobj
= Py_None
;
27986 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
= NULL
;
27988 wxListView
*arg1
= (wxListView
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "index", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
27997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail
;
28000 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28001 if (SWIG_arg_fail(2)) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->Focus(arg2
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
= NULL
;
28019 wxListView
*arg1
= (wxListView
*) 0 ;
28021 PyObject
* obj0
= 0 ;
28022 char *kwnames
[] = {
28023 (char *) "self", NULL
28026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
28027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= SWIG_From_long(static_cast<long >(result
));
28045 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
= NULL
;
28047 wxListView
*arg1
= (wxListView
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "item", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28060 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28061 if (SWIG_arg_fail(2)) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_From_long(static_cast<long >(result
));
28079 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
= NULL
;
28081 wxListView
*arg1
= (wxListView
*) 0 ;
28083 PyObject
* obj0
= 0 ;
28084 char *kwnames
[] = {
28085 (char *) "self", NULL
28088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
28089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28090 if (SWIG_arg_fail(1)) SWIG_fail
;
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_From_long(static_cast<long >(result
));
28107 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= NULL
;
28109 wxListView
*arg1
= (wxListView
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "index", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28123 if (SWIG_arg_fail(2)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)(arg1
)->IsSelected(arg2
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28141 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
= NULL
;
28143 wxListView
*arg1
= (wxListView
*) 0 ;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 PyObject
* obj2
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "col",(char *) "image", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28157 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28158 if (SWIG_arg_fail(2)) SWIG_fail
;
28161 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28162 if (SWIG_arg_fail(3)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->SetColumnImage(arg2
,arg3
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 Py_INCREF(Py_None
); resultobj
= Py_None
;
28178 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
= NULL
;
28180 wxListView
*arg1
= (wxListView
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 PyObject
* obj1
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "col", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28193 if (SWIG_arg_fail(2)) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 (arg1
)->ClearColumnImage(arg2
);
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 Py_INCREF(Py_None
); resultobj
= Py_None
;
28209 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
28211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28212 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
28214 return Py_BuildValue((char *)"");
28216 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
28217 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
28222 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
28223 PyObject
*pyobj
= NULL
;
28227 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28229 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28236 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
= NULL
;
28238 wxTreeItemId
*result
;
28239 char *kwnames
[] = {
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (wxTreeItemId
*)new wxTreeItemId();
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
28258 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
= NULL
;
28260 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28261 PyObject
* obj0
= 0 ;
28262 char *kwnames
[] = {
28263 (char *) "self", NULL
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
28267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28268 if (SWIG_arg_fail(1)) SWIG_fail
;
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 Py_INCREF(Py_None
); resultobj
= Py_None
;
28283 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= NULL
;
28285 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28287 PyObject
* obj0
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
28293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28294 if (SWIG_arg_fail(1)) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28311 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
= NULL
;
28313 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28314 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "other", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail
;
28325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28326 if (SWIG_arg_fail(2)) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28343 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
= NULL
;
28345 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28346 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 char *kwnames
[] = {
28351 (char *) "self",(char *) "other", NULL
28354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28356 if (SWIG_arg_fail(1)) SWIG_fail
;
28357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28358 if (SWIG_arg_fail(2)) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28375 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
= NULL
;
28377 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28378 void *arg2
= (void *) 0 ;
28379 PyObject
* obj0
= 0 ;
28380 PyObject
* obj1
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self",(char *) "m_pItem", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28387 if (SWIG_arg_fail(1)) SWIG_fail
;
28389 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
28390 SWIG_arg_fail(2);SWIG_fail
;
28393 if (arg1
) (arg1
)->m_pItem
= arg2
;
28395 Py_INCREF(Py_None
); resultobj
= Py_None
;
28402 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
= NULL
;
28404 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
28412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail
;
28414 result
= (void *) ((arg1
)->m_pItem
);
28416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
28423 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
28425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28426 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
28428 return Py_BuildValue((char *)"");
28430 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
= NULL
;
28432 PyObject
*arg1
= (PyObject
*) NULL
;
28433 wxPyTreeItemData
*result
;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "obj", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
28457 static PyObject
*_wrap_delete_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
= NULL
;
28459 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemData",kwnames
,&obj0
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 Py_INCREF(Py_None
); resultobj
= Py_None
;
28482 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
= NULL
;
28484 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
28492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (PyObject
*)(arg1
)->GetData();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= result
;
28508 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
= NULL
;
28510 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28511 PyObject
*arg2
= (PyObject
*) 0 ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "obj", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 (arg1
)->SetData(arg2
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 Py_INCREF(Py_None
); resultobj
= Py_None
;
28536 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= NULL
;
28538 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28539 wxTreeItemId
*result
;
28540 PyObject
* obj0
= 0 ;
28541 char *kwnames
[] = {
28542 (char *) "self", NULL
28545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
28546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28547 if (SWIG_arg_fail(1)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
28552 result
= (wxTreeItemId
*) &_result_ref
;
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
28565 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
= NULL
;
28567 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28568 wxTreeItemId
*arg2
= 0 ;
28569 PyObject
* obj0
= 0 ;
28570 PyObject
* obj1
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "self",(char *) "id", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail
;
28579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28580 if (SWIG_arg_fail(2)) SWIG_fail
;
28581 if (arg2
== NULL
) {
28582 SWIG_null_ref("wxTreeItemId");
28584 if (SWIG_arg_fail(2)) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 Py_INCREF(Py_None
); resultobj
= Py_None
;
28600 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= NULL
;
28602 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 wxPyTreeItemData_Destroy(arg1
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 Py_INCREF(Py_None
); resultobj
= Py_None
;
28625 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
28627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28628 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
28630 return Py_BuildValue((char *)"");
28632 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
= NULL
;
28634 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28635 int arg2
= (int) 0 ;
28636 wxTreeEvent
*result
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "commandType",(char *) "id", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28646 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
28647 if (SWIG_arg_fail(1)) SWIG_fail
;
28652 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28653 if (SWIG_arg_fail(2)) SWIG_fail
;
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
28670 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= NULL
;
28672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28673 wxTreeItemId result
;
28674 PyObject
* obj0
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
28680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28681 if (SWIG_arg_fail(1)) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28690 wxTreeItemId
* resultptr
;
28691 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28700 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= NULL
;
28702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28703 wxTreeItemId
*arg2
= 0 ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self",(char *) "item", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28715 if (SWIG_arg_fail(2)) SWIG_fail
;
28716 if (arg2
== NULL
) {
28717 SWIG_null_ref("wxTreeItemId");
28719 if (SWIG_arg_fail(2)) SWIG_fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 Py_INCREF(Py_None
); resultobj
= Py_None
;
28735 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
= NULL
;
28737 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28738 wxTreeItemId result
;
28739 PyObject
* obj0
= 0 ;
28740 char *kwnames
[] = {
28741 (char *) "self", NULL
28744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
28745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(1)) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28755 wxTreeItemId
* resultptr
;
28756 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28765 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
= NULL
;
28767 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28768 wxTreeItemId
*arg2
= 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self",(char *) "item", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28780 if (SWIG_arg_fail(2)) SWIG_fail
;
28781 if (arg2
== NULL
) {
28782 SWIG_null_ref("wxTreeItemId");
28784 if (SWIG_arg_fail(2)) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 Py_INCREF(Py_None
); resultobj
= Py_None
;
28800 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
= NULL
;
28802 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
28810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 wxPoint
* resultptr
;
28821 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
28822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28830 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
= NULL
;
28832 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28833 wxPoint
*arg2
= 0 ;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self",(char *) "pt", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail
;
28846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 Py_INCREF(Py_None
); resultobj
= Py_None
;
28862 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
= NULL
;
28864 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28865 wxKeyEvent
*result
;
28866 PyObject
* obj0
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self", NULL
28871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
28872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28873 if (SWIG_arg_fail(1)) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
28878 result
= (wxKeyEvent
*) &_result_ref
;
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
28891 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
= NULL
;
28893 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28895 PyObject
* obj0
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "self", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
28901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28902 if (SWIG_arg_fail(1)) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_From_int(static_cast<int >(result
));
28919 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
= NULL
;
28921 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28922 wxKeyEvent
*arg2
= 0 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self",(char *) "evt", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28931 if (SWIG_arg_fail(1)) SWIG_fail
;
28933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
28934 if (SWIG_arg_fail(2)) SWIG_fail
;
28935 if (arg2
== NULL
) {
28936 SWIG_null_ref("wxKeyEvent");
28938 if (SWIG_arg_fail(2)) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 Py_INCREF(Py_None
); resultobj
= Py_None
;
28954 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= NULL
;
28956 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28958 PyObject
* obj0
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
28964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
28970 result
= (wxString
*) &_result_ref
;
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28980 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28989 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
= NULL
;
28991 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28992 wxString
*arg2
= 0 ;
28993 bool temp2
= false ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self",(char *) "label", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29002 if (SWIG_arg_fail(1)) SWIG_fail
;
29004 arg2
= wxString_in_helper(obj1
);
29005 if (arg2
== NULL
) SWIG_fail
;
29009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29010 (arg1
)->SetLabel((wxString
const &)*arg2
);
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 Py_INCREF(Py_None
); resultobj
= Py_None
;
29030 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= NULL
;
29032 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29034 PyObject
* obj0
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29058 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
= NULL
;
29060 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "editCancelled", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
29069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
29073 if (SWIG_arg_fail(2)) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 (arg1
)->SetEditCanceled(arg2
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 Py_INCREF(Py_None
); resultobj
= Py_None
;
29089 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
= NULL
;
29091 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29092 wxString
*arg2
= 0 ;
29093 bool temp2
= false ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self",(char *) "toolTip", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
29101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail
;
29104 arg2
= wxString_in_helper(obj1
);
29105 if (arg2
== NULL
) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->SetToolTip((wxString
const &)*arg2
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= NULL
;
29132 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
29140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29141 if (SWIG_arg_fail(1)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (arg1
)->GetToolTip();
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29162 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
29164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29165 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
29167 return Py_BuildValue((char *)"");
29169 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
= NULL
;
29171 wxWindow
*arg1
= (wxWindow
*) 0 ;
29172 int arg2
= (int) -1 ;
29173 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29174 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29175 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29176 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29177 long arg5
= (long) wxTR_DEFAULT_STYLE
;
29178 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29179 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29180 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
29181 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29182 wxPyTreeCtrl
*result
;
29185 bool temp7
= false ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 PyObject
* obj2
= 0 ;
29189 PyObject
* obj3
= 0 ;
29190 PyObject
* obj4
= 0 ;
29191 PyObject
* obj5
= 0 ;
29192 PyObject
* obj6
= 0 ;
29193 char *kwnames
[] = {
29194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29199 if (SWIG_arg_fail(1)) SWIG_fail
;
29202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29203 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29220 arg5
= static_cast<long >(SWIG_As_long(obj4
));
29221 if (SWIG_arg_fail(5)) SWIG_fail
;
29226 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29227 if (SWIG_arg_fail(6)) SWIG_fail
;
29228 if (arg6
== NULL
) {
29229 SWIG_null_ref("wxValidator");
29231 if (SWIG_arg_fail(6)) SWIG_fail
;
29236 arg7
= wxString_in_helper(obj6
);
29237 if (arg7
== NULL
) SWIG_fail
;
29242 if (!wxPyCheckForApp()) SWIG_fail
;
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29264 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
= NULL
;
29266 wxPyTreeCtrl
*result
;
29267 char *kwnames
[] = {
29271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
29273 if (!wxPyCheckForApp()) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29287 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
= NULL
;
29289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29290 wxWindow
*arg2
= (wxWindow
*) 0 ;
29291 int arg3
= (int) -1 ;
29292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29296 long arg6
= (long) wxTR_DEFAULT_STYLE
;
29297 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29298 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29299 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
29300 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29304 bool temp8
= false ;
29305 PyObject
* obj0
= 0 ;
29306 PyObject
* obj1
= 0 ;
29307 PyObject
* obj2
= 0 ;
29308 PyObject
* obj3
= 0 ;
29309 PyObject
* obj4
= 0 ;
29310 PyObject
* obj5
= 0 ;
29311 PyObject
* obj6
= 0 ;
29312 PyObject
* obj7
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
29318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29319 if (SWIG_arg_fail(1)) SWIG_fail
;
29320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29321 if (SWIG_arg_fail(2)) SWIG_fail
;
29324 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29325 if (SWIG_arg_fail(3)) SWIG_fail
;
29331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29342 arg6
= static_cast<long >(SWIG_As_long(obj5
));
29343 if (SWIG_arg_fail(6)) SWIG_fail
;
29348 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29349 if (SWIG_arg_fail(7)) SWIG_fail
;
29350 if (arg7
== NULL
) {
29351 SWIG_null_ref("wxValidator");
29353 if (SWIG_arg_fail(7)) SWIG_fail
;
29358 arg8
= wxString_in_helper(obj7
);
29359 if (arg8
== NULL
) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29387 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
= NULL
;
29389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29390 PyObject
*arg2
= (PyObject
*) 0 ;
29391 PyObject
*arg3
= (PyObject
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self",(char *) "self",(char *) "_class", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29401 if (SWIG_arg_fail(1)) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 Py_INCREF(Py_None
); resultobj
= Py_None
;
29418 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
= NULL
;
29420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
29428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29429 if (SWIG_arg_fail(1)) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29446 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
= NULL
;
29448 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29449 unsigned int result
;
29450 PyObject
* obj0
= 0 ;
29451 char *kwnames
[] = {
29452 (char *) "self", NULL
29455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
29456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29457 if (SWIG_arg_fail(1)) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29474 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= NULL
;
29476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29477 unsigned int arg2
;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self",(char *) "indent", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
29485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail
;
29488 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29489 if (SWIG_arg_fail(2)) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 (arg1
)->SetIndent(arg2
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
= NULL
;
29507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29508 unsigned int result
;
29509 PyObject
* obj0
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
29515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail
;
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29533 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
= NULL
;
29535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29536 unsigned int arg2
;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self",(char *) "spacing", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
29544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29545 if (SWIG_arg_fail(1)) SWIG_fail
;
29547 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29548 if (SWIG_arg_fail(2)) SWIG_fail
;
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 (arg1
)->SetSpacing(arg2
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 Py_INCREF(Py_None
); resultobj
= Py_None
;
29564 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
= NULL
;
29566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29567 wxImageList
*result
;
29568 PyObject
* obj0
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
29574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29592 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
= NULL
;
29594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29595 wxImageList
*result
;
29596 PyObject
* obj0
= 0 ;
29597 char *kwnames
[] = {
29598 (char *) "self", NULL
29601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
29602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29603 if (SWIG_arg_fail(1)) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29620 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= NULL
;
29622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29623 wxImageList
*arg2
= (wxImageList
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self",(char *) "imageList", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail
;
29633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29634 if (SWIG_arg_fail(2)) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 (arg1
)->SetImageList(arg2
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 Py_INCREF(Py_None
); resultobj
= Py_None
;
29649 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
= NULL
;
29651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29652 wxImageList
*arg2
= (wxImageList
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "imageList", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 (arg1
)->SetStateImageList(arg2
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 Py_INCREF(Py_None
); resultobj
= Py_None
;
29678 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
= NULL
;
29680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29681 wxImageList
*arg2
= (wxImageList
*) 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "self",(char *) "imageList", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29690 if (SWIG_arg_fail(1)) SWIG_fail
;
29691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29692 if (SWIG_arg_fail(2)) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 (arg1
)->AssignImageList(arg2
);
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29700 Py_INCREF(Py_None
); resultobj
= Py_None
;
29707 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= NULL
;
29709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29710 wxImageList
*arg2
= (wxImageList
*) 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "imageList", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail
;
29720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29721 if (SWIG_arg_fail(2)) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 (arg1
)->AssignStateImageList(arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 Py_INCREF(Py_None
); resultobj
= Py_None
;
29736 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= NULL
;
29738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29739 wxTreeItemId
*arg2
= 0 ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 char *kwnames
[] = {
29744 (char *) "self",(char *) "item", NULL
29747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
29748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29749 if (SWIG_arg_fail(1)) SWIG_fail
;
29751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29752 if (SWIG_arg_fail(2)) SWIG_fail
;
29753 if (arg2
== NULL
) {
29754 SWIG_null_ref("wxTreeItemId");
29756 if (SWIG_arg_fail(2)) SWIG_fail
;
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29778 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
= NULL
;
29780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29781 wxTreeItemId
*arg2
= 0 ;
29782 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 PyObject
* obj2
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self",(char *) "item",(char *) "which", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail
;
29795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29796 if (SWIG_arg_fail(2)) SWIG_fail
;
29797 if (arg2
== NULL
) {
29798 SWIG_null_ref("wxTreeItemId");
29800 if (SWIG_arg_fail(2)) SWIG_fail
;
29804 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
29805 if (SWIG_arg_fail(3)) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_From_int(static_cast<int >(result
));
29824 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
= NULL
;
29826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29827 wxTreeItemId
*arg2
= 0 ;
29828 wxPyTreeItemData
*result
;
29829 PyObject
* obj0
= 0 ;
29830 PyObject
* obj1
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self",(char *) "item", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
29836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29837 if (SWIG_arg_fail(1)) SWIG_fail
;
29839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29840 if (SWIG_arg_fail(2)) SWIG_fail
;
29841 if (arg2
== NULL
) {
29842 SWIG_null_ref("wxTreeItemId");
29844 if (SWIG_arg_fail(2)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
29860 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
= NULL
;
29862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29863 wxTreeItemId
*arg2
= 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self",(char *) "item", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
29872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29873 if (SWIG_arg_fail(1)) SWIG_fail
;
29875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29876 if (SWIG_arg_fail(2)) SWIG_fail
;
29877 if (arg2
== NULL
) {
29878 SWIG_null_ref("wxTreeItemId");
29880 if (SWIG_arg_fail(2)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= result
;
29896 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
= NULL
;
29898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29899 wxTreeItemId
*arg2
= 0 ;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 char *kwnames
[] = {
29904 (char *) "self",(char *) "item", NULL
29907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(1)) SWIG_fail
;
29911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29912 if (SWIG_arg_fail(2)) SWIG_fail
;
29913 if (arg2
== NULL
) {
29914 SWIG_null_ref("wxTreeItemId");
29916 if (SWIG_arg_fail(2)) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 wxColour
* resultptr
;
29927 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
29928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29936 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
= NULL
;
29938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29939 wxTreeItemId
*arg2
= 0 ;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "item", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail
;
29951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29953 if (arg2
== NULL
) {
29954 SWIG_null_ref("wxTreeItemId");
29956 if (SWIG_arg_fail(2)) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 wxColour
* resultptr
;
29967 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
29968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29976 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
= NULL
;
29978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29979 wxTreeItemId
*arg2
= 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "item", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29993 if (arg2
== NULL
) {
29994 SWIG_null_ref("wxTreeItemId");
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 wxFont
* resultptr
;
30007 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
30008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30016 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
= NULL
;
30018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30019 wxTreeItemId
*arg2
= 0 ;
30020 wxString
*arg3
= 0 ;
30021 bool temp3
= false ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 char *kwnames
[] = {
30026 (char *) "self",(char *) "item",(char *) "text", NULL
30029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail
;
30033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30034 if (SWIG_arg_fail(2)) SWIG_fail
;
30035 if (arg2
== NULL
) {
30036 SWIG_null_ref("wxTreeItemId");
30038 if (SWIG_arg_fail(2)) SWIG_fail
;
30041 arg3
= wxString_in_helper(obj2
);
30042 if (arg3
== NULL
) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 Py_INCREF(Py_None
); resultobj
= Py_None
;
30067 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30068 PyObject
*resultobj
= NULL
;
30069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30070 wxTreeItemId
*arg2
= 0 ;
30072 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 PyObject
* obj2
= 0 ;
30076 PyObject
* obj3
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail
;
30085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(2)) SWIG_fail
;
30087 if (arg2
== NULL
) {
30088 SWIG_null_ref("wxTreeItemId");
30090 if (SWIG_arg_fail(2)) SWIG_fail
;
30093 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30094 if (SWIG_arg_fail(3)) SWIG_fail
;
30098 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
30099 if (SWIG_arg_fail(4)) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 Py_INCREF(Py_None
); resultobj
= Py_None
;
30116 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
= NULL
;
30118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30119 wxTreeItemId
*arg2
= 0 ;
30120 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
30121 PyObject
* obj0
= 0 ;
30122 PyObject
* obj1
= 0 ;
30123 PyObject
* obj2
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self",(char *) "item",(char *) "data", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
30139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30140 if (SWIG_arg_fail(3)) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 Py_INCREF(Py_None
); resultobj
= Py_None
;
30155 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= NULL
;
30157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30158 wxTreeItemId
*arg2
= 0 ;
30159 PyObject
*arg3
= (PyObject
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 PyObject
* obj2
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self",(char *) "item",(char *) "obj", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(1)) SWIG_fail
;
30171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30172 if (SWIG_arg_fail(2)) SWIG_fail
;
30173 if (arg2
== NULL
) {
30174 SWIG_null_ref("wxTreeItemId");
30176 if (SWIG_arg_fail(2)) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 Py_INCREF(Py_None
); resultobj
= Py_None
;
30193 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= NULL
;
30195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30196 wxTreeItemId
*arg2
= 0 ;
30197 bool arg3
= (bool) true ;
30198 PyObject
* obj0
= 0 ;
30199 PyObject
* obj1
= 0 ;
30200 PyObject
* obj2
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "item",(char *) "has", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail
;
30209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30210 if (SWIG_arg_fail(2)) SWIG_fail
;
30211 if (arg2
== NULL
) {
30212 SWIG_null_ref("wxTreeItemId");
30214 if (SWIG_arg_fail(2)) SWIG_fail
;
30218 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30219 if (SWIG_arg_fail(3)) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 Py_INCREF(Py_None
); resultobj
= Py_None
;
30236 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
= NULL
;
30238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30239 wxTreeItemId
*arg2
= 0 ;
30240 bool arg3
= (bool) true ;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 PyObject
* obj2
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self",(char *) "item",(char *) "bold", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail
;
30252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30253 if (SWIG_arg_fail(2)) SWIG_fail
;
30254 if (arg2
== NULL
) {
30255 SWIG_null_ref("wxTreeItemId");
30257 if (SWIG_arg_fail(2)) SWIG_fail
;
30261 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30262 if (SWIG_arg_fail(3)) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 Py_INCREF(Py_None
); resultobj
= Py_None
;
30279 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= NULL
;
30281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30282 wxTreeItemId
*arg2
= 0 ;
30283 bool arg3
= (bool) true ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "item",(char *) "highlight", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30296 if (SWIG_arg_fail(2)) SWIG_fail
;
30297 if (arg2
== NULL
) {
30298 SWIG_null_ref("wxTreeItemId");
30300 if (SWIG_arg_fail(2)) SWIG_fail
;
30304 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30305 if (SWIG_arg_fail(3)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
= NULL
;
30324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30325 wxTreeItemId
*arg2
= 0 ;
30326 wxColour
*arg3
= 0 ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 PyObject
* obj2
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "item",(char *) "col", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail
;
30339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30340 if (SWIG_arg_fail(2)) SWIG_fail
;
30341 if (arg2
== NULL
) {
30342 SWIG_null_ref("wxTreeItemId");
30344 if (SWIG_arg_fail(2)) SWIG_fail
;
30348 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 Py_INCREF(Py_None
); resultobj
= Py_None
;
30364 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
= NULL
;
30366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30367 wxTreeItemId
*arg2
= 0 ;
30368 wxColour
*arg3
= 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 PyObject
* obj2
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "item",(char *) "col", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30382 if (SWIG_arg_fail(2)) SWIG_fail
;
30383 if (arg2
== NULL
) {
30384 SWIG_null_ref("wxTreeItemId");
30386 if (SWIG_arg_fail(2)) SWIG_fail
;
30390 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 Py_INCREF(Py_None
); resultobj
= Py_None
;
30406 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
= NULL
;
30408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30409 wxTreeItemId
*arg2
= 0 ;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 PyObject
* obj2
= 0 ;
30414 char *kwnames
[] = {
30415 (char *) "self",(char *) "item",(char *) "font", NULL
30418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail
;
30422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail
;
30424 if (arg2
== NULL
) {
30425 SWIG_null_ref("wxTreeItemId");
30427 if (SWIG_arg_fail(2)) SWIG_fail
;
30430 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30431 if (SWIG_arg_fail(3)) SWIG_fail
;
30432 if (arg3
== NULL
) {
30433 SWIG_null_ref("wxFont");
30435 if (SWIG_arg_fail(3)) SWIG_fail
;
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 Py_INCREF(Py_None
); resultobj
= Py_None
;
30451 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= NULL
;
30453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30454 wxTreeItemId
*arg2
= 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self",(char *) "item", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30464 if (SWIG_arg_fail(1)) SWIG_fail
;
30466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(2)) SWIG_fail
;
30468 if (arg2
== NULL
) {
30469 SWIG_null_ref("wxTreeItemId");
30471 if (SWIG_arg_fail(2)) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30489 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= NULL
;
30491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30492 wxTreeItemId
*arg2
= 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char *kwnames
[] = {
30497 (char *) "self",(char *) "item", NULL
30500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail
;
30504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30505 if (SWIG_arg_fail(2)) SWIG_fail
;
30506 if (arg2
== NULL
) {
30507 SWIG_null_ref("wxTreeItemId");
30509 if (SWIG_arg_fail(2)) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30527 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
= NULL
;
30529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30530 wxTreeItemId
*arg2
= 0 ;
30532 PyObject
* obj0
= 0 ;
30533 PyObject
* obj1
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self",(char *) "item", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
30539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30540 if (SWIG_arg_fail(1)) SWIG_fail
;
30542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30543 if (SWIG_arg_fail(2)) SWIG_fail
;
30544 if (arg2
== NULL
) {
30545 SWIG_null_ref("wxTreeItemId");
30547 if (SWIG_arg_fail(2)) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30565 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
= NULL
;
30567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30568 wxTreeItemId
*arg2
= 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self",(char *) "item", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
30577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30578 if (SWIG_arg_fail(1)) SWIG_fail
;
30580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30581 if (SWIG_arg_fail(2)) SWIG_fail
;
30582 if (arg2
== NULL
) {
30583 SWIG_null_ref("wxTreeItemId");
30585 if (SWIG_arg_fail(2)) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30603 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
= NULL
;
30605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30606 wxTreeItemId
*arg2
= 0 ;
30608 PyObject
* obj0
= 0 ;
30609 PyObject
* obj1
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self",(char *) "item", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
30615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail
;
30618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 if (arg2
== NULL
) {
30621 SWIG_null_ref("wxTreeItemId");
30623 if (SWIG_arg_fail(2)) SWIG_fail
;
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30641 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
= NULL
;
30643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30644 wxTreeItemId
*arg2
= 0 ;
30645 bool arg3
= (bool) true ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 PyObject
* obj2
= 0 ;
30650 char *kwnames
[] = {
30651 (char *) "self",(char *) "item",(char *) "recursively", NULL
30654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30656 if (SWIG_arg_fail(1)) SWIG_fail
;
30658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30659 if (SWIG_arg_fail(2)) SWIG_fail
;
30660 if (arg2
== NULL
) {
30661 SWIG_null_ref("wxTreeItemId");
30663 if (SWIG_arg_fail(2)) SWIG_fail
;
30667 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30668 if (SWIG_arg_fail(3)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
30687 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
= NULL
;
30689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30690 wxTreeItemId result
;
30691 PyObject
* obj0
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
30697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30707 wxTreeItemId
* resultptr
;
30708 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30717 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
= NULL
;
30719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30720 wxTreeItemId result
;
30721 PyObject
* obj0
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30737 wxTreeItemId
* resultptr
;
30738 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30747 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
= NULL
;
30749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
30757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= result
;
30773 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
= NULL
;
30775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30776 wxTreeItemId
*arg2
= 0 ;
30777 wxTreeItemId result
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "item", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30786 if (SWIG_arg_fail(1)) SWIG_fail
;
30788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30789 if (SWIG_arg_fail(2)) SWIG_fail
;
30790 if (arg2
== NULL
) {
30791 SWIG_null_ref("wxTreeItemId");
30793 if (SWIG_arg_fail(2)) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30803 wxTreeItemId
* resultptr
;
30804 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30813 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
= NULL
;
30815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30816 wxTreeItemId
*arg2
= 0 ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self",(char *) "item", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail
;
30828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30829 if (SWIG_arg_fail(2)) SWIG_fail
;
30830 if (arg2
== NULL
) {
30831 SWIG_null_ref("wxTreeItemId");
30833 if (SWIG_arg_fail(2)) SWIG_fail
;
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= result
;
30849 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
= NULL
;
30851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30852 wxTreeItemId
*arg2
= 0 ;
30853 void *arg3
= (void *) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 PyObject
* obj2
= 0 ;
30858 char *kwnames
[] = {
30859 (char *) "self",(char *) "item",(char *) "cookie", NULL
30862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30864 if (SWIG_arg_fail(1)) SWIG_fail
;
30866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30867 if (SWIG_arg_fail(2)) SWIG_fail
;
30868 if (arg2
== NULL
) {
30869 SWIG_null_ref("wxTreeItemId");
30871 if (SWIG_arg_fail(2)) SWIG_fail
;
30874 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
30875 SWIG_arg_fail(3);SWIG_fail
;
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= result
;
30892 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
= NULL
;
30894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30895 wxTreeItemId
*arg2
= 0 ;
30896 wxTreeItemId result
;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char *kwnames
[] = {
30900 (char *) "self",(char *) "item", NULL
30903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30905 if (SWIG_arg_fail(1)) SWIG_fail
;
30907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30908 if (SWIG_arg_fail(2)) SWIG_fail
;
30909 if (arg2
== NULL
) {
30910 SWIG_null_ref("wxTreeItemId");
30912 if (SWIG_arg_fail(2)) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30922 wxTreeItemId
* resultptr
;
30923 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30932 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= NULL
;
30934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30935 wxTreeItemId
*arg2
= 0 ;
30936 wxTreeItemId result
;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "item", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
30944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(1)) SWIG_fail
;
30947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30949 if (arg2
== NULL
) {
30950 SWIG_null_ref("wxTreeItemId");
30952 if (SWIG_arg_fail(2)) SWIG_fail
;
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30956 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30962 wxTreeItemId
* resultptr
;
30963 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30972 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
= NULL
;
30974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30975 wxTreeItemId
*arg2
= 0 ;
30976 wxTreeItemId result
;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self",(char *) "item", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
30984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30985 if (SWIG_arg_fail(1)) SWIG_fail
;
30987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30988 if (SWIG_arg_fail(2)) SWIG_fail
;
30989 if (arg2
== NULL
) {
30990 SWIG_null_ref("wxTreeItemId");
30992 if (SWIG_arg_fail(2)) SWIG_fail
;
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31002 wxTreeItemId
* resultptr
;
31003 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31012 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
= NULL
;
31014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31015 wxTreeItemId result
;
31016 PyObject
* obj0
= 0 ;
31017 char *kwnames
[] = {
31018 (char *) "self", NULL
31021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31032 wxTreeItemId
* resultptr
;
31033 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31042 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
= NULL
;
31044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31045 wxTreeItemId
*arg2
= 0 ;
31046 wxTreeItemId result
;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "self",(char *) "item", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail
;
31057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(2)) SWIG_fail
;
31059 if (arg2
== NULL
) {
31060 SWIG_null_ref("wxTreeItemId");
31062 if (SWIG_arg_fail(2)) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31072 wxTreeItemId
* resultptr
;
31073 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31082 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31083 PyObject
*resultobj
= NULL
;
31084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31085 wxTreeItemId
*arg2
= 0 ;
31086 wxTreeItemId result
;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "item", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31095 if (SWIG_arg_fail(1)) SWIG_fail
;
31097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31098 if (SWIG_arg_fail(2)) SWIG_fail
;
31099 if (arg2
== NULL
) {
31100 SWIG_null_ref("wxTreeItemId");
31102 if (SWIG_arg_fail(2)) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31112 wxTreeItemId
* resultptr
;
31113 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31122 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
= NULL
;
31124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31125 wxString
*arg2
= 0 ;
31126 int arg3
= (int) -1 ;
31127 int arg4
= (int) -1 ;
31128 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
31129 wxTreeItemId result
;
31130 bool temp2
= false ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 PyObject
* obj2
= 0 ;
31134 PyObject
* obj3
= 0 ;
31135 PyObject
* obj4
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31142 if (SWIG_arg_fail(1)) SWIG_fail
;
31144 arg2
= wxString_in_helper(obj1
);
31145 if (arg2
== NULL
) SWIG_fail
;
31150 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31151 if (SWIG_arg_fail(3)) SWIG_fail
;
31156 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31157 if (SWIG_arg_fail(4)) SWIG_fail
;
31161 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31162 if (SWIG_arg_fail(5)) SWIG_fail
;
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31166 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31172 wxTreeItemId
* resultptr
;
31173 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31190 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
= NULL
;
31192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31193 wxTreeItemId
*arg2
= 0 ;
31194 wxString
*arg3
= 0 ;
31195 int arg4
= (int) -1 ;
31196 int arg5
= (int) -1 ;
31197 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31198 wxTreeItemId result
;
31199 bool temp3
= false ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 PyObject
* obj2
= 0 ;
31203 PyObject
* obj3
= 0 ;
31204 PyObject
* obj4
= 0 ;
31205 PyObject
* obj5
= 0 ;
31206 char *kwnames
[] = {
31207 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31212 if (SWIG_arg_fail(1)) SWIG_fail
;
31214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(2)) SWIG_fail
;
31216 if (arg2
== NULL
) {
31217 SWIG_null_ref("wxTreeItemId");
31219 if (SWIG_arg_fail(2)) SWIG_fail
;
31222 arg3
= wxString_in_helper(obj2
);
31223 if (arg3
== NULL
) SWIG_fail
;
31228 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31229 if (SWIG_arg_fail(4)) SWIG_fail
;
31234 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31235 if (SWIG_arg_fail(5)) SWIG_fail
;
31239 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31240 if (SWIG_arg_fail(6)) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31250 wxTreeItemId
* resultptr
;
31251 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31268 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
= NULL
;
31270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31271 wxTreeItemId
*arg2
= 0 ;
31272 wxTreeItemId
*arg3
= 0 ;
31273 wxString
*arg4
= 0 ;
31274 int arg5
= (int) -1 ;
31275 int arg6
= (int) -1 ;
31276 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31277 wxTreeItemId result
;
31278 bool temp4
= false ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 PyObject
* obj2
= 0 ;
31282 PyObject
* obj3
= 0 ;
31283 PyObject
* obj4
= 0 ;
31284 PyObject
* obj5
= 0 ;
31285 PyObject
* obj6
= 0 ;
31286 char *kwnames
[] = {
31287 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31292 if (SWIG_arg_fail(1)) SWIG_fail
;
31294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31295 if (SWIG_arg_fail(2)) SWIG_fail
;
31296 if (arg2
== NULL
) {
31297 SWIG_null_ref("wxTreeItemId");
31299 if (SWIG_arg_fail(2)) SWIG_fail
;
31302 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31303 if (SWIG_arg_fail(3)) SWIG_fail
;
31304 if (arg3
== NULL
) {
31305 SWIG_null_ref("wxTreeItemId");
31307 if (SWIG_arg_fail(3)) SWIG_fail
;
31310 arg4
= wxString_in_helper(obj3
);
31311 if (arg4
== NULL
) SWIG_fail
;
31316 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31317 if (SWIG_arg_fail(5)) SWIG_fail
;
31322 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31323 if (SWIG_arg_fail(6)) SWIG_fail
;
31327 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31328 if (SWIG_arg_fail(7)) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31338 wxTreeItemId
* resultptr
;
31339 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31356 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
= NULL
;
31358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31359 wxTreeItemId
*arg2
= 0 ;
31361 wxString
*arg4
= 0 ;
31362 int arg5
= (int) -1 ;
31363 int arg6
= (int) -1 ;
31364 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31365 wxTreeItemId result
;
31366 bool temp4
= 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 char *kwnames
[] = {
31375 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail
;
31382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31383 if (SWIG_arg_fail(2)) SWIG_fail
;
31384 if (arg2
== NULL
) {
31385 SWIG_null_ref("wxTreeItemId");
31387 if (SWIG_arg_fail(2)) SWIG_fail
;
31390 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
31391 if (SWIG_arg_fail(3)) SWIG_fail
;
31394 arg4
= wxString_in_helper(obj3
);
31395 if (arg4
== NULL
) SWIG_fail
;
31400 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31401 if (SWIG_arg_fail(5)) SWIG_fail
;
31406 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31407 if (SWIG_arg_fail(6)) SWIG_fail
;
31411 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31412 if (SWIG_arg_fail(7)) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31422 wxTreeItemId
* resultptr
;
31423 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31440 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
= NULL
;
31442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31443 wxTreeItemId
*arg2
= 0 ;
31444 wxString
*arg3
= 0 ;
31445 int arg4
= (int) -1 ;
31446 int arg5
= (int) -1 ;
31447 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31448 wxTreeItemId result
;
31449 bool temp3
= false ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 PyObject
* obj2
= 0 ;
31453 PyObject
* obj3
= 0 ;
31454 PyObject
* obj4
= 0 ;
31455 PyObject
* obj5
= 0 ;
31456 char *kwnames
[] = {
31457 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31462 if (SWIG_arg_fail(1)) SWIG_fail
;
31464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31465 if (SWIG_arg_fail(2)) SWIG_fail
;
31466 if (arg2
== NULL
) {
31467 SWIG_null_ref("wxTreeItemId");
31469 if (SWIG_arg_fail(2)) SWIG_fail
;
31472 arg3
= wxString_in_helper(obj2
);
31473 if (arg3
== NULL
) SWIG_fail
;
31478 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31479 if (SWIG_arg_fail(4)) SWIG_fail
;
31484 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31485 if (SWIG_arg_fail(5)) SWIG_fail
;
31489 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31490 if (SWIG_arg_fail(6)) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31500 wxTreeItemId
* resultptr
;
31501 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31518 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31519 PyObject
*resultobj
= NULL
;
31520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31521 wxTreeItemId
*arg2
= 0 ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 char *kwnames
[] = {
31525 (char *) "self",(char *) "item", NULL
31528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31530 if (SWIG_arg_fail(1)) SWIG_fail
;
31532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31533 if (SWIG_arg_fail(2)) SWIG_fail
;
31534 if (arg2
== NULL
) {
31535 SWIG_null_ref("wxTreeItemId");
31537 if (SWIG_arg_fail(2)) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= NULL
;
31555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31556 wxTreeItemId
*arg2
= 0 ;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self",(char *) "item", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31568 if (SWIG_arg_fail(2)) SWIG_fail
;
31569 if (arg2
== NULL
) {
31570 SWIG_null_ref("wxTreeItemId");
31572 if (SWIG_arg_fail(2)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 Py_INCREF(Py_None
); resultobj
= Py_None
;
31588 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= NULL
;
31590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
31597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31598 if (SWIG_arg_fail(1)) SWIG_fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 (arg1
)->DeleteAllItems();
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 Py_INCREF(Py_None
); resultobj
= Py_None
;
31613 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= NULL
;
31615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31616 wxTreeItemId
*arg2
= 0 ;
31617 PyObject
* obj0
= 0 ;
31618 PyObject
* obj1
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self",(char *) "item", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
31624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31625 if (SWIG_arg_fail(1)) SWIG_fail
;
31627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31628 if (SWIG_arg_fail(2)) SWIG_fail
;
31629 if (arg2
== NULL
) {
31630 SWIG_null_ref("wxTreeItemId");
31632 if (SWIG_arg_fail(2)) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 Py_INCREF(Py_None
); resultobj
= Py_None
;
31648 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31649 PyObject
*resultobj
= NULL
;
31650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31651 wxTreeItemId
*arg2
= 0 ;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char *kwnames
[] = {
31655 (char *) "self",(char *) "item", NULL
31658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
31659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31660 if (SWIG_arg_fail(1)) SWIG_fail
;
31662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31663 if (SWIG_arg_fail(2)) SWIG_fail
;
31664 if (arg2
== NULL
) {
31665 SWIG_null_ref("wxTreeItemId");
31667 if (SWIG_arg_fail(2)) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 Py_INCREF(Py_None
); resultobj
= Py_None
;
31683 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
= NULL
;
31685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31686 wxTreeItemId
*arg2
= 0 ;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "item", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31699 if (arg2
== NULL
) {
31700 SWIG_null_ref("wxTreeItemId");
31702 if (SWIG_arg_fail(2)) SWIG_fail
;
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 Py_INCREF(Py_None
); resultobj
= Py_None
;
31718 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
= NULL
;
31720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31721 wxTreeItemId
*arg2
= 0 ;
31722 PyObject
* obj0
= 0 ;
31723 PyObject
* obj1
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self",(char *) "item", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
31729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail
;
31732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31733 if (SWIG_arg_fail(2)) SWIG_fail
;
31734 if (arg2
== NULL
) {
31735 SWIG_null_ref("wxTreeItemId");
31737 if (SWIG_arg_fail(2)) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 Py_INCREF(Py_None
); resultobj
= Py_None
;
31753 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
= NULL
;
31755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
31762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31763 if (SWIG_arg_fail(1)) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 (arg1
)->Unselect();
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 Py_INCREF(Py_None
); resultobj
= Py_None
;
31778 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31779 PyObject
*resultobj
= NULL
;
31780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31781 wxTreeItemId
*arg2
= 0 ;
31782 PyObject
* obj0
= 0 ;
31783 PyObject
* obj1
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self",(char *) "item", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31790 if (SWIG_arg_fail(1)) SWIG_fail
;
31792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31793 if (SWIG_arg_fail(2)) SWIG_fail
;
31794 if (arg2
== NULL
) {
31795 SWIG_null_ref("wxTreeItemId");
31797 if (SWIG_arg_fail(2)) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31806 Py_INCREF(Py_None
); resultobj
= Py_None
;
31813 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= NULL
;
31815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 char *kwnames
[] = {
31818 (char *) "self", NULL
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
31822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 (arg1
)->UnselectAll();
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 Py_INCREF(Py_None
); resultobj
= Py_None
;
31838 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
= NULL
;
31840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31841 wxTreeItemId
*arg2
= 0 ;
31842 bool arg3
= (bool) true ;
31843 PyObject
* obj0
= 0 ;
31844 PyObject
* obj1
= 0 ;
31845 PyObject
* obj2
= 0 ;
31846 char *kwnames
[] = {
31847 (char *) "self",(char *) "item",(char *) "select", NULL
31850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31852 if (SWIG_arg_fail(1)) SWIG_fail
;
31854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31855 if (SWIG_arg_fail(2)) SWIG_fail
;
31856 if (arg2
== NULL
) {
31857 SWIG_null_ref("wxTreeItemId");
31859 if (SWIG_arg_fail(2)) SWIG_fail
;
31863 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
31864 if (SWIG_arg_fail(3)) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 Py_INCREF(Py_None
); resultobj
= Py_None
;
31881 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
= NULL
;
31883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31884 wxTreeItemId
*arg2
= 0 ;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 char *kwnames
[] = {
31888 (char *) "self",(char *) "item", NULL
31891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31893 if (SWIG_arg_fail(1)) SWIG_fail
;
31895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31896 if (SWIG_arg_fail(2)) SWIG_fail
;
31897 if (arg2
== NULL
) {
31898 SWIG_null_ref("wxTreeItemId");
31900 if (SWIG_arg_fail(2)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 Py_INCREF(Py_None
); resultobj
= Py_None
;
31916 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= NULL
;
31918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31919 wxTreeItemId
*arg2
= 0 ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self",(char *) "item", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31928 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31931 if (SWIG_arg_fail(2)) SWIG_fail
;
31932 if (arg2
== NULL
) {
31933 SWIG_null_ref("wxTreeItemId");
31935 if (SWIG_arg_fail(2)) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 Py_INCREF(Py_None
); resultobj
= Py_None
;
31951 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
= NULL
;
31953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31954 wxTreeItemId
*arg2
= 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self",(char *) "item", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
31962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail
;
31965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31966 if (SWIG_arg_fail(2)) SWIG_fail
;
31967 if (arg2
== NULL
) {
31968 SWIG_null_ref("wxTreeItemId");
31970 if (SWIG_arg_fail(2)) SWIG_fail
;
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31979 Py_INCREF(Py_None
); resultobj
= Py_None
;
31986 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31987 PyObject
*resultobj
= NULL
;
31988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31989 wxTreeItemId
*arg2
= 0 ;
31990 PyObject
* obj0
= 0 ;
31991 PyObject
* obj1
= 0 ;
31992 char *kwnames
[] = {
31993 (char *) "self",(char *) "item", NULL
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31998 if (SWIG_arg_fail(1)) SWIG_fail
;
32000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32001 if (SWIG_arg_fail(2)) SWIG_fail
;
32002 if (arg2
== NULL
) {
32003 SWIG_null_ref("wxTreeItemId");
32005 if (SWIG_arg_fail(2)) SWIG_fail
;
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 Py_INCREF(Py_None
); resultobj
= Py_None
;
32021 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
= NULL
;
32023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32024 wxTextCtrl
*result
;
32025 PyObject
* obj0
= 0 ;
32026 char *kwnames
[] = {
32027 (char *) "self", NULL
32030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
32031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= wxPyMake_wxObject(result
, 0);
32049 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
= NULL
;
32051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32052 wxTreeItemId
*arg2
= 0 ;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 char *kwnames
[] = {
32056 (char *) "self",(char *) "item", NULL
32059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
32060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32061 if (SWIG_arg_fail(1)) SWIG_fail
;
32063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32064 if (SWIG_arg_fail(2)) SWIG_fail
;
32065 if (arg2
== NULL
) {
32066 SWIG_null_ref("wxTreeItemId");
32068 if (SWIG_arg_fail(2)) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 Py_INCREF(Py_None
); resultobj
= Py_None
;
32084 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= NULL
;
32086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32087 wxPoint
*arg2
= 0 ;
32089 wxTreeItemId result
;
32093 PyObject
* obj0
= 0 ;
32094 PyObject
* obj1
= 0 ;
32095 char *kwnames
[] = {
32096 (char *) "self",(char *) "point", NULL
32099 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
32101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32102 if (SWIG_arg_fail(1)) SWIG_fail
;
32105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32115 wxTreeItemId
* resultptr
;
32116 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32119 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32120 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32127 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= NULL
;
32129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32130 wxTreeItemId
*arg2
= 0 ;
32131 bool arg3
= (bool) false ;
32133 PyObject
* obj0
= 0 ;
32134 PyObject
* obj1
= 0 ;
32135 PyObject
* obj2
= 0 ;
32136 char *kwnames
[] = {
32137 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32142 if (SWIG_arg_fail(1)) SWIG_fail
;
32144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32145 if (SWIG_arg_fail(2)) SWIG_fail
;
32146 if (arg2
== NULL
) {
32147 SWIG_null_ref("wxTreeItemId");
32149 if (SWIG_arg_fail(2)) SWIG_fail
;
32153 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32154 if (SWIG_arg_fail(3)) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= result
;
32171 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
= NULL
;
32173 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32174 wxVisualAttributes result
;
32175 PyObject
* obj0
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "variant", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32183 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
32184 if (SWIG_arg_fail(1)) SWIG_fail
;
32188 if (!wxPyCheckForApp()) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32196 wxVisualAttributes
* resultptr
;
32197 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32206 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
32208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32209 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
32211 return Py_BuildValue((char *)"");
32213 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
32214 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
32219 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
32220 PyObject
*pyobj
= NULL
;
32224 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32226 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32233 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
= NULL
;
32235 wxWindow
*arg1
= (wxWindow
*) 0 ;
32236 int arg2
= (int) (int)-1 ;
32237 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
32238 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32243 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32244 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32246 int arg8
= (int) 0 ;
32247 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
32248 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
32249 wxGenericDirCtrl
*result
;
32250 bool temp3
= false ;
32253 bool temp7
= false ;
32254 bool temp9
= false ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 PyObject
* obj2
= 0 ;
32258 PyObject
* obj3
= 0 ;
32259 PyObject
* obj4
= 0 ;
32260 PyObject
* obj5
= 0 ;
32261 PyObject
* obj6
= 0 ;
32262 PyObject
* obj7
= 0 ;
32263 PyObject
* obj8
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
32269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail
;
32273 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32274 if (SWIG_arg_fail(2)) SWIG_fail
;
32279 arg3
= wxString_in_helper(obj2
);
32280 if (arg3
== NULL
) SWIG_fail
;
32287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32298 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32299 if (SWIG_arg_fail(6)) SWIG_fail
;
32304 arg7
= wxString_in_helper(obj6
);
32305 if (arg7
== NULL
) SWIG_fail
;
32311 arg8
= static_cast<int >(SWIG_As_int(obj7
));
32312 if (SWIG_arg_fail(8)) SWIG_fail
;
32317 arg9
= wxString_in_helper(obj8
);
32318 if (arg9
== NULL
) SWIG_fail
;
32323 if (!wxPyCheckForApp()) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32361 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
= NULL
;
32363 wxGenericDirCtrl
*result
;
32364 char *kwnames
[] = {
32368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
32370 if (!wxPyCheckForApp()) SWIG_fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32384 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
= NULL
;
32386 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32387 wxWindow
*arg2
= (wxWindow
*) 0 ;
32388 int arg3
= (int) (int)-1 ;
32389 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
32390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
32392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
32393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
32394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
32395 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32396 wxString
const &arg8_defvalue
= wxPyEmptyString
;
32397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32398 int arg9
= (int) 0 ;
32399 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
32400 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
32402 bool temp4
= false ;
32405 bool temp8
= false ;
32406 bool temp10
= false ;
32407 PyObject
* obj0
= 0 ;
32408 PyObject
* obj1
= 0 ;
32409 PyObject
* obj2
= 0 ;
32410 PyObject
* obj3
= 0 ;
32411 PyObject
* obj4
= 0 ;
32412 PyObject
* obj5
= 0 ;
32413 PyObject
* obj6
= 0 ;
32414 PyObject
* obj7
= 0 ;
32415 PyObject
* obj8
= 0 ;
32416 PyObject
* obj9
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(2)) SWIG_fail
;
32428 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32429 if (SWIG_arg_fail(3)) SWIG_fail
;
32434 arg4
= wxString_in_helper(obj3
);
32435 if (arg4
== NULL
) SWIG_fail
;
32442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
32448 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
32453 arg7
= static_cast<long >(SWIG_As_long(obj6
));
32454 if (SWIG_arg_fail(7)) SWIG_fail
;
32459 arg8
= wxString_in_helper(obj7
);
32460 if (arg8
== NULL
) SWIG_fail
;
32466 arg9
= static_cast<int >(SWIG_As_int(obj8
));
32467 if (SWIG_arg_fail(9)) SWIG_fail
;
32472 arg10
= wxString_in_helper(obj9
);
32473 if (arg10
== NULL
) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32517 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
= NULL
;
32519 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32520 wxString
*arg2
= 0 ;
32522 bool temp2
= false ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 char *kwnames
[] = {
32526 (char *) "self",(char *) "path", NULL
32529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32531 if (SWIG_arg_fail(1)) SWIG_fail
;
32533 arg2
= wxString_in_helper(obj1
);
32534 if (arg2
== NULL
) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32561 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
= NULL
;
32563 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 char *kwnames
[] = {
32567 (char *) "self", NULL
32570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
32571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32572 if (SWIG_arg_fail(1)) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32593 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
= NULL
;
32595 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32596 wxString
*arg2
= 0 ;
32597 bool temp2
= false ;
32598 PyObject
* obj0
= 0 ;
32599 PyObject
* obj1
= 0 ;
32600 char *kwnames
[] = {
32601 (char *) "self",(char *) "path", NULL
32604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32606 if (SWIG_arg_fail(1)) SWIG_fail
;
32608 arg2
= wxString_in_helper(obj1
);
32609 if (arg2
== NULL
) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 Py_INCREF(Py_None
); resultobj
= Py_None
;
32634 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
= NULL
;
32636 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32638 PyObject
* obj0
= 0 ;
32639 char *kwnames
[] = {
32640 (char *) "self", NULL
32643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
32644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32666 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32667 PyObject
*resultobj
= NULL
;
32668 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32670 PyObject
* obj0
= 0 ;
32671 char *kwnames
[] = {
32672 (char *) "self", NULL
32675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
32676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32677 if (SWIG_arg_fail(1)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32698 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= NULL
;
32700 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32701 wxString
*arg2
= 0 ;
32702 bool temp2
= false ;
32703 PyObject
* obj0
= 0 ;
32704 PyObject
* obj1
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self",(char *) "path", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail
;
32713 arg2
= wxString_in_helper(obj1
);
32714 if (arg2
== NULL
) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 (arg1
)->SetPath((wxString
const &)*arg2
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 Py_INCREF(Py_None
); resultobj
= Py_None
;
32739 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
= NULL
;
32741 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "show", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
32754 if (SWIG_arg_fail(2)) SWIG_fail
;
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 (arg1
)->ShowHidden(arg2
);
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32763 Py_INCREF(Py_None
); resultobj
= Py_None
;
32770 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32771 PyObject
*resultobj
= NULL
;
32772 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 char *kwnames
[] = {
32776 (char *) "self", NULL
32779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
32780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32781 if (SWIG_arg_fail(1)) SWIG_fail
;
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 result
= (bool)(arg1
)->GetShowHidden();
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32798 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
= NULL
;
32800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32802 PyObject
* obj0
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
32808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32830 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
= NULL
;
32832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32833 wxString
*arg2
= 0 ;
32834 bool temp2
= false ;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 char *kwnames
[] = {
32838 (char *) "self",(char *) "filter", NULL
32841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
32842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail
;
32845 arg2
= wxString_in_helper(obj1
);
32846 if (arg2
== NULL
) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 (arg1
)->SetFilter((wxString
const &)*arg2
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 Py_INCREF(Py_None
); resultobj
= Py_None
;
32871 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
= NULL
;
32873 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32875 PyObject
* obj0
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "self", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
32881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32882 if (SWIG_arg_fail(1)) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32891 resultobj
= SWIG_From_int(static_cast<int >(result
));
32899 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32900 PyObject
*resultobj
= NULL
;
32901 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 char *kwnames
[] = {
32906 (char *) "self",(char *) "n", NULL
32909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
32910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail
;
32913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32914 if (SWIG_arg_fail(2)) SWIG_fail
;
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 (arg1
)->SetFilterIndex(arg2
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 Py_INCREF(Py_None
); resultobj
= Py_None
;
32930 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
= NULL
;
32932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32933 wxTreeItemId result
;
32934 PyObject
* obj0
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
32940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail
;
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= (arg1
)->GetRootId();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32950 wxTreeItemId
* resultptr
;
32951 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32960 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
= NULL
;
32962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32963 wxPyTreeCtrl
*result
;
32964 PyObject
* obj0
= 0 ;
32965 char *kwnames
[] = {
32966 (char *) "self", NULL
32969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
32970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32971 if (SWIG_arg_fail(1)) SWIG_fail
;
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= wxPyMake_wxObject(result
, 0);
32988 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
= NULL
;
32990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32991 wxDirFilterListCtrl
*result
;
32992 PyObject
* obj0
= 0 ;
32993 char *kwnames
[] = {
32994 (char *) "self", NULL
32997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
32998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32999 if (SWIG_arg_fail(1)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
33014 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
= NULL
;
33016 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33017 wxTreeItemId arg2
;
33018 wxString
*arg3
= 0 ;
33020 wxTreeItemId result
;
33021 bool temp3
= false ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 PyObject
* obj2
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "parentId",(char *) "path", NULL
33031 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
33032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33034 if (SWIG_arg_fail(1)) SWIG_fail
;
33036 wxTreeItemId
* argp
;
33037 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
33038 if (SWIG_arg_fail(2)) SWIG_fail
;
33039 if (argp
== NULL
) {
33040 SWIG_null_ref("wxTreeItemId");
33042 if (SWIG_arg_fail(2)) SWIG_fail
;
33046 arg3
= wxString_in_helper(obj2
);
33047 if (arg3
== NULL
) SWIG_fail
;
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33058 wxTreeItemId
* resultptr
;
33059 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33062 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
33063 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
33078 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
= NULL
;
33080 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33081 PyObject
* obj0
= 0 ;
33082 char *kwnames
[] = {
33083 (char *) "self", NULL
33086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
33087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33088 if (SWIG_arg_fail(1)) SWIG_fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 (arg1
)->DoResize();
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 Py_INCREF(Py_None
); resultobj
= Py_None
;
33103 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
= NULL
;
33105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33106 PyObject
* obj0
= 0 ;
33107 char *kwnames
[] = {
33108 (char *) "self", NULL
33111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
33112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33113 if (SWIG_arg_fail(1)) SWIG_fail
;
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33116 (arg1
)->ReCreateTree();
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 Py_INCREF(Py_None
); resultobj
= Py_None
;
33128 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
33130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33131 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
33133 return Py_BuildValue((char *)"");
33135 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= NULL
;
33137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33138 int arg2
= (int) (int)-1 ;
33139 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33140 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33141 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33142 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33143 long arg5
= (long) 0 ;
33144 wxDirFilterListCtrl
*result
;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 PyObject
* obj2
= 0 ;
33150 PyObject
* obj3
= 0 ;
33151 PyObject
* obj4
= 0 ;
33152 char *kwnames
[] = {
33153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33158 if (SWIG_arg_fail(1)) SWIG_fail
;
33161 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33162 if (SWIG_arg_fail(2)) SWIG_fail
;
33168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33179 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33180 if (SWIG_arg_fail(5)) SWIG_fail
;
33184 if (!wxPyCheckForApp()) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33198 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= NULL
;
33200 wxDirFilterListCtrl
*result
;
33201 char *kwnames
[] = {
33205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
33207 if (!wxPyCheckForApp()) SWIG_fail
;
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33221 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
= NULL
;
33223 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33224 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
33225 int arg3
= (int) (int)-1 ;
33226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33230 long arg6
= (long) 0 ;
33234 PyObject
* obj0
= 0 ;
33235 PyObject
* obj1
= 0 ;
33236 PyObject
* obj2
= 0 ;
33237 PyObject
* obj3
= 0 ;
33238 PyObject
* obj4
= 0 ;
33239 PyObject
* obj5
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33246 if (SWIG_arg_fail(1)) SWIG_fail
;
33247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33248 if (SWIG_arg_fail(2)) SWIG_fail
;
33251 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
33252 if (SWIG_arg_fail(3)) SWIG_fail
;
33258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33269 arg6
= static_cast<long >(SWIG_As_long(obj5
));
33270 if (SWIG_arg_fail(6)) SWIG_fail
;
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33289 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
= NULL
;
33291 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33292 wxString
*arg2
= 0 ;
33294 bool temp2
= false ;
33295 PyObject
* obj0
= 0 ;
33296 PyObject
* obj1
= 0 ;
33297 PyObject
* obj2
= 0 ;
33298 char *kwnames
[] = {
33299 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33304 if (SWIG_arg_fail(1)) SWIG_fail
;
33306 arg2
= wxString_in_helper(obj1
);
33307 if (arg2
== NULL
) SWIG_fail
;
33311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33312 if (SWIG_arg_fail(3)) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 Py_INCREF(Py_None
); resultobj
= Py_None
;
33336 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
33338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33339 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
33341 return Py_BuildValue((char *)"");
33343 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
= NULL
;
33345 wxWindow
*arg1
= (wxWindow
*) 0 ;
33346 int arg2
= (int) (int)-1 ;
33347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33351 long arg5
= (long) 0 ;
33352 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33353 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33354 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33356 wxPyControl
*result
;
33359 bool temp7
= false ;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 PyObject
* obj2
= 0 ;
33363 PyObject
* obj3
= 0 ;
33364 PyObject
* obj4
= 0 ;
33365 PyObject
* obj5
= 0 ;
33366 PyObject
* obj6
= 0 ;
33367 char *kwnames
[] = {
33368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33373 if (SWIG_arg_fail(1)) SWIG_fail
;
33376 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33377 if (SWIG_arg_fail(2)) SWIG_fail
;
33383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33389 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33394 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33395 if (SWIG_arg_fail(5)) SWIG_fail
;
33400 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(6)) SWIG_fail
;
33402 if (arg6
== NULL
) {
33403 SWIG_null_ref("wxValidator");
33405 if (SWIG_arg_fail(6)) SWIG_fail
;
33410 arg7
= wxString_in_helper(obj6
);
33411 if (arg7
== NULL
) SWIG_fail
;
33416 if (!wxPyCheckForApp()) SWIG_fail
;
33417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33418 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33438 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
= NULL
;
33440 wxPyControl
*result
;
33441 char *kwnames
[] = {
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
33447 if (!wxPyCheckForApp()) SWIG_fail
;
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 result
= (wxPyControl
*)new wxPyControl();
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33461 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33462 PyObject
*resultobj
= NULL
;
33463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33464 PyObject
*arg2
= (PyObject
*) 0 ;
33465 PyObject
*arg3
= (PyObject
*) 0 ;
33466 PyObject
* obj0
= 0 ;
33467 PyObject
* obj1
= 0 ;
33468 PyObject
* obj2
= 0 ;
33469 char *kwnames
[] = {
33470 (char *) "self",(char *) "self",(char *) "_class", NULL
33473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33475 if (SWIG_arg_fail(1)) SWIG_fail
;
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 Py_INCREF(Py_None
); resultobj
= Py_None
;
33492 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33493 PyObject
*resultobj
= NULL
;
33494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self",(char *) "size", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail
;
33508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 Py_INCREF(Py_None
); resultobj
= Py_None
;
33524 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33525 PyObject
*resultobj
= NULL
;
33526 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33527 wxDC
*arg2
= (wxDC
*) 0 ;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 char *kwnames
[] = {
33532 (char *) "self",(char *) "dc", NULL
33535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33537 if (SWIG_arg_fail(1)) SWIG_fail
;
33538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33539 if (SWIG_arg_fail(2)) SWIG_fail
;
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33556 static PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
= NULL
;
33558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33563 PyObject
* obj0
= 0 ;
33564 PyObject
* obj1
= 0 ;
33565 PyObject
* obj2
= 0 ;
33566 PyObject
* obj3
= 0 ;
33567 PyObject
* obj4
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail
;
33576 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33577 if (SWIG_arg_fail(2)) SWIG_fail
;
33580 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33581 if (SWIG_arg_fail(3)) SWIG_fail
;
33584 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33585 if (SWIG_arg_fail(4)) SWIG_fail
;
33588 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33589 if (SWIG_arg_fail(5)) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33598 Py_INCREF(Py_None
); resultobj
= Py_None
;
33605 static PyObject
*_wrap_PyControl_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= NULL
;
33607 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33612 int arg6
= (int) wxSIZE_AUTO
;
33613 PyObject
* obj0
= 0 ;
33614 PyObject
* obj1
= 0 ;
33615 PyObject
* obj2
= 0 ;
33616 PyObject
* obj3
= 0 ;
33617 PyObject
* obj4
= 0 ;
33618 PyObject
* obj5
= 0 ;
33619 char *kwnames
[] = {
33620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33625 if (SWIG_arg_fail(1)) SWIG_fail
;
33627 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33628 if (SWIG_arg_fail(2)) SWIG_fail
;
33631 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33632 if (SWIG_arg_fail(3)) SWIG_fail
;
33635 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33636 if (SWIG_arg_fail(4)) SWIG_fail
;
33639 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33640 if (SWIG_arg_fail(5)) SWIG_fail
;
33644 arg6
= static_cast<int >(SWIG_As_int(obj5
));
33645 if (SWIG_arg_fail(6)) SWIG_fail
;
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33655 Py_INCREF(Py_None
); resultobj
= Py_None
;
33662 static PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33663 PyObject
*resultobj
= NULL
;
33664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 PyObject
* obj2
= 0 ;
33670 char *kwnames
[] = {
33671 (char *) "self",(char *) "width",(char *) "height", NULL
33674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33676 if (SWIG_arg_fail(1)) SWIG_fail
;
33678 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33679 if (SWIG_arg_fail(2)) SWIG_fail
;
33682 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33683 if (SWIG_arg_fail(3)) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 (arg1
)->DoSetClientSize(arg2
,arg3
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 Py_INCREF(Py_None
); resultobj
= Py_None
;
33699 static PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= NULL
;
33701 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 PyObject
* obj2
= 0 ;
33707 char *kwnames
[] = {
33708 (char *) "self",(char *) "x",(char *) "y", NULL
33711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33713 if (SWIG_arg_fail(1)) SWIG_fail
;
33715 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33716 if (SWIG_arg_fail(2)) SWIG_fail
;
33719 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33720 if (SWIG_arg_fail(3)) SWIG_fail
;
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 Py_INCREF(Py_None
); resultobj
= Py_None
;
33736 static PyObject
*_wrap_PyControl_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
= NULL
;
33738 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33739 int *arg2
= (int *) 0 ;
33740 int *arg3
= (int *) 0 ;
33745 PyObject
* obj0
= 0 ;
33746 char *kwnames
[] = {
33747 (char *) "self", NULL
33750 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33751 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetSize",kwnames
,&obj0
)) goto fail
;
33753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 Py_INCREF(Py_None
); resultobj
= Py_None
;
33763 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33764 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33765 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33766 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33773 static PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
= NULL
;
33775 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33776 int *arg2
= (int *) 0 ;
33777 int *arg3
= (int *) 0 ;
33782 PyObject
* obj0
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "self", NULL
33787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
33790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33791 if (SWIG_arg_fail(1)) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 Py_INCREF(Py_None
); resultobj
= Py_None
;
33800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33803 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33810 static PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
= NULL
;
33812 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33813 int *arg2
= (int *) 0 ;
33814 int *arg3
= (int *) 0 ;
33819 PyObject
* obj0
= 0 ;
33820 char *kwnames
[] = {
33821 (char *) "self", NULL
33824 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33825 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetPosition",kwnames
,&obj0
)) goto fail
;
33827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33828 if (SWIG_arg_fail(1)) SWIG_fail
;
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 Py_INCREF(Py_None
); resultobj
= Py_None
;
33837 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33838 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33839 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33840 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33847 static PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
= NULL
;
33849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33851 PyObject
* obj0
= 0 ;
33852 char *kwnames
[] = {
33853 (char *) "self", NULL
33856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
33857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33858 if (SWIG_arg_fail(1)) SWIG_fail
;
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33867 wxSize
* resultptr
;
33868 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
33869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33877 static PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
= NULL
;
33879 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33881 PyObject
* obj0
= 0 ;
33882 char *kwnames
[] = {
33883 (char *) "self", NULL
33886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
33887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33888 if (SWIG_arg_fail(1)) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33897 wxSize
* resultptr
;
33898 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
33899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33907 static PyObject
*_wrap_PyControl_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
= NULL
;
33909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33910 PyObject
* obj0
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_InitDialog",kwnames
,&obj0
)) goto fail
;
33916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 (arg1
)->InitDialog();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33925 Py_INCREF(Py_None
); resultobj
= Py_None
;
33932 static PyObject
*_wrap_PyControl_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
= NULL
;
33934 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 char *kwnames
[] = {
33938 (char *) "self", NULL
33941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
33942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33943 if (SWIG_arg_fail(1)) SWIG_fail
;
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 result
= (bool)(arg1
)->TransferDataToWindow();
33948 wxPyEndAllowThreads(__tstate
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33960 static PyObject
*_wrap_PyControl_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33961 PyObject
*resultobj
= NULL
;
33962 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33964 PyObject
* obj0
= 0 ;
33965 char *kwnames
[] = {
33966 (char *) "self", NULL
33969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
33970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33971 if (SWIG_arg_fail(1)) SWIG_fail
;
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 result
= (bool)(arg1
)->TransferDataFromWindow();
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33988 static PyObject
*_wrap_PyControl_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= NULL
;
33990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33992 PyObject
* obj0
= 0 ;
33993 char *kwnames
[] = {
33994 (char *) "self", NULL
33997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_Validate",kwnames
,&obj0
)) goto fail
;
33998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33999 if (SWIG_arg_fail(1)) SWIG_fail
;
34001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34002 result
= (bool)(arg1
)->Validate();
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34016 static PyObject
*_wrap_PyControl_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
= NULL
;
34018 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34020 PyObject
* obj0
= 0 ;
34021 char *kwnames
[] = {
34022 (char *) "self", NULL
34025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
34026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34027 if (SWIG_arg_fail(1)) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocus();
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34044 static PyObject
*_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
= NULL
;
34046 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34048 PyObject
* obj0
= 0 ;
34049 char *kwnames
[] = {
34050 (char *) "self", NULL
34053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
34054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34055 if (SWIG_arg_fail(1)) SWIG_fail
;
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocusFromKeyboard();
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34072 static PyObject
*_wrap_PyControl_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34073 PyObject
*resultobj
= NULL
;
34074 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34076 PyObject
* obj0
= 0 ;
34077 char *kwnames
[] = {
34078 (char *) "self", NULL
34081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetMaxSize",kwnames
,&obj0
)) goto fail
;
34082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34083 if (SWIG_arg_fail(1)) SWIG_fail
;
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 result
= ((wxPyControl
const *)arg1
)->GetMaxSize();
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34092 wxSize
* resultptr
;
34093 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34102 static PyObject
*_wrap_PyControl_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
= NULL
;
34104 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34105 wxWindow
*arg2
= (wxWindow
*) 0 ;
34106 PyObject
* obj0
= 0 ;
34107 PyObject
* obj1
= 0 ;
34108 char *kwnames
[] = {
34109 (char *) "self",(char *) "child", NULL
34112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34114 if (SWIG_arg_fail(1)) SWIG_fail
;
34115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34116 if (SWIG_arg_fail(2)) SWIG_fail
;
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 (arg1
)->AddChild(arg2
);
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34124 Py_INCREF(Py_None
); resultobj
= Py_None
;
34131 static PyObject
*_wrap_PyControl_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
= NULL
;
34133 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34134 wxWindow
*arg2
= (wxWindow
*) 0 ;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 char *kwnames
[] = {
34138 (char *) "self",(char *) "child", NULL
34141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34143 if (SWIG_arg_fail(1)) SWIG_fail
;
34144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34145 if (SWIG_arg_fail(2)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 (arg1
)->RemoveChild(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 Py_INCREF(Py_None
); resultobj
= Py_None
;
34160 static PyObject
*_wrap_PyControl_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
= NULL
;
34162 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34164 PyObject
* obj0
= 0 ;
34165 char *kwnames
[] = {
34166 (char *) "self", NULL
34169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
34170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail
;
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 result
= (bool)((wxPyControl
const *)arg1
)->ShouldInheritColours();
34176 wxPyEndAllowThreads(__tstate
);
34177 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34188 static PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= NULL
;
34190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34191 wxVisualAttributes result
;
34192 PyObject
* obj0
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (arg1
)->GetDefaultAttributes();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34208 wxVisualAttributes
* resultptr
;
34209 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
34210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34218 static PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
= NULL
;
34220 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34221 PyObject
* obj0
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
34227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34228 if (SWIG_arg_fail(1)) SWIG_fail
;
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->OnInternalIdle();
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 Py_INCREF(Py_None
); resultobj
= Py_None
;
34243 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
34245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34246 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
34248 return Py_BuildValue((char *)"");
34250 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= NULL
;
34252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
34253 int arg2
= (int) 0 ;
34254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34256 wxHelpEvent
*result
;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 PyObject
* obj2
= 0 ;
34261 char *kwnames
[] = {
34262 (char *) "type",(char *) "winid",(char *) "pt", NULL
34265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34268 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
34269 if (SWIG_arg_fail(1)) SWIG_fail
;
34274 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34275 if (SWIG_arg_fail(2)) SWIG_fail
;
34281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
34288 wxPyEndAllowThreads(__tstate
);
34289 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
34298 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34299 PyObject
*resultobj
= NULL
;
34300 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34302 PyObject
* obj0
= 0 ;
34303 char *kwnames
[] = {
34304 (char *) "self", NULL
34307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
34308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34309 if (SWIG_arg_fail(1)) SWIG_fail
;
34311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
34314 wxPyEndAllowThreads(__tstate
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34318 wxPoint
* resultptr
;
34319 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
34320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34328 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
= NULL
;
34330 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34331 wxPoint
*arg2
= 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "pos", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail
;
34344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34353 Py_INCREF(Py_None
); resultobj
= Py_None
;
34360 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34361 PyObject
*resultobj
= NULL
;
34362 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 char *kwnames
[] = {
34366 (char *) "self", NULL
34369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
34370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34371 if (SWIG_arg_fail(1)) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
34376 result
= (wxString
*) &_result_ref
;
34379 wxPyEndAllowThreads(__tstate
);
34380 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34386 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34395 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
= NULL
;
34397 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34398 wxString
*arg2
= 0 ;
34399 bool temp2
= false ;
34400 PyObject
* obj0
= 0 ;
34401 PyObject
* obj1
= 0 ;
34402 char *kwnames
[] = {
34403 (char *) "self",(char *) "link", NULL
34406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
34407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34408 if (SWIG_arg_fail(1)) SWIG_fail
;
34410 arg2
= wxString_in_helper(obj1
);
34411 if (arg2
== NULL
) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->SetLink((wxString
const &)*arg2
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 Py_INCREF(Py_None
); resultobj
= Py_None
;
34436 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= NULL
;
34438 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34440 PyObject
* obj0
= 0 ;
34441 char *kwnames
[] = {
34442 (char *) "self", NULL
34445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
34446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34447 if (SWIG_arg_fail(1)) SWIG_fail
;
34449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
34452 result
= (wxString
*) &_result_ref
;
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34462 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34471 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
= NULL
;
34473 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34474 wxString
*arg2
= 0 ;
34475 bool temp2
= false ;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 char *kwnames
[] = {
34479 (char *) "self",(char *) "target", NULL
34482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
34483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34484 if (SWIG_arg_fail(1)) SWIG_fail
;
34486 arg2
= wxString_in_helper(obj1
);
34487 if (arg2
== NULL
) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 (arg1
)->SetTarget((wxString
const &)*arg2
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 Py_INCREF(Py_None
); resultobj
= Py_None
;
34512 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
34514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34515 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
34517 return Py_BuildValue((char *)"");
34519 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34520 PyObject
*resultobj
= NULL
;
34521 wxWindow
*arg1
= (wxWindow
*) NULL
;
34522 bool arg2
= (bool) true ;
34523 wxContextHelp
*result
;
34524 PyObject
* obj0
= 0 ;
34525 PyObject
* obj1
= 0 ;
34526 char *kwnames
[] = {
34527 (char *) "window",(char *) "doNow", NULL
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34533 if (SWIG_arg_fail(1)) SWIG_fail
;
34537 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
34538 if (SWIG_arg_fail(2)) SWIG_fail
;
34542 if (!wxPyCheckForApp()) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
34556 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
= NULL
;
34558 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 char *kwnames
[] = {
34561 (char *) "self", NULL
34564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
34565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34566 if (SWIG_arg_fail(1)) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 Py_INCREF(Py_None
); resultobj
= Py_None
;
34581 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
= NULL
;
34583 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34584 wxWindow
*arg2
= (wxWindow
*) NULL
;
34586 PyObject
* obj0
= 0 ;
34587 PyObject
* obj1
= 0 ;
34588 char *kwnames
[] = {
34589 (char *) "self",(char *) "window", NULL
34592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34594 if (SWIG_arg_fail(1)) SWIG_fail
;
34596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34597 if (SWIG_arg_fail(2)) SWIG_fail
;
34600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34601 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
34603 wxPyEndAllowThreads(__tstate
);
34604 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34615 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
= NULL
;
34617 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
34625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail
;
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (bool)(arg1
)->EndContextHelp();
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34643 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
34645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34646 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
34648 return Py_BuildValue((char *)"");
34650 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
= NULL
;
34652 wxWindow
*arg1
= (wxWindow
*) 0 ;
34653 int arg2
= (int) wxID_CONTEXT_HELP
;
34654 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34655 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34656 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34657 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34658 long arg5
= (long) wxBU_AUTODRAW
;
34659 wxContextHelpButton
*result
;
34662 PyObject
* obj0
= 0 ;
34663 PyObject
* obj1
= 0 ;
34664 PyObject
* obj2
= 0 ;
34665 PyObject
* obj3
= 0 ;
34666 PyObject
* obj4
= 0 ;
34667 char *kwnames
[] = {
34668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34673 if (SWIG_arg_fail(1)) SWIG_fail
;
34676 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34677 if (SWIG_arg_fail(2)) SWIG_fail
;
34683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34694 arg5
= static_cast<long >(SWIG_As_long(obj4
));
34695 if (SWIG_arg_fail(5)) SWIG_fail
;
34699 if (!wxPyCheckForApp()) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
34713 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
34715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34716 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
34718 return Py_BuildValue((char *)"");
34720 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
= NULL
;
34722 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34723 wxHelpProvider
*result
;
34724 PyObject
* obj0
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "helpProvider", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
34730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
34731 if (SWIG_arg_fail(1)) SWIG_fail
;
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 1);
34746 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= NULL
;
34748 wxHelpProvider
*result
;
34749 char *kwnames
[] = {
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 result
= (wxHelpProvider
*)wxHelpProvider::Get();
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
34768 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
= NULL
;
34770 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34771 wxWindow
*arg2
= (wxWindow
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 PyObject
* obj1
= 0 ;
34775 char *kwnames
[] = {
34776 (char *) "self",(char *) "window", NULL
34779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34781 if (SWIG_arg_fail(1)) SWIG_fail
;
34782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34783 if (SWIG_arg_fail(2)) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34804 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
= NULL
;
34806 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34807 wxWindow
*arg2
= (wxWindow
*) 0 ;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self",(char *) "window", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34817 if (SWIG_arg_fail(1)) SWIG_fail
;
34818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34819 if (SWIG_arg_fail(2)) SWIG_fail
;
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 result
= (bool)(arg1
)->ShowHelp(arg2
);
34824 wxPyEndAllowThreads(__tstate
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34836 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34837 PyObject
*resultobj
= NULL
;
34838 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34839 wxWindow
*arg2
= (wxWindow
*) 0 ;
34840 wxString
*arg3
= 0 ;
34841 bool temp3
= false ;
34842 PyObject
* obj0
= 0 ;
34843 PyObject
* obj1
= 0 ;
34844 PyObject
* obj2
= 0 ;
34845 char *kwnames
[] = {
34846 (char *) "self",(char *) "window",(char *) "text", NULL
34849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34851 if (SWIG_arg_fail(1)) SWIG_fail
;
34852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34853 if (SWIG_arg_fail(2)) SWIG_fail
;
34855 arg3
= wxString_in_helper(obj2
);
34856 if (arg3
== NULL
) SWIG_fail
;
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
34863 wxPyEndAllowThreads(__tstate
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 Py_INCREF(Py_None
); resultobj
= Py_None
;
34881 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34882 PyObject
*resultobj
= NULL
;
34883 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34885 wxString
*arg3
= 0 ;
34886 bool temp3
= false ;
34887 PyObject
* obj0
= 0 ;
34888 PyObject
* obj1
= 0 ;
34889 PyObject
* obj2
= 0 ;
34890 char *kwnames
[] = {
34891 (char *) "self",(char *) "id",(char *) "text", NULL
34894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34896 if (SWIG_arg_fail(1)) SWIG_fail
;
34898 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34899 if (SWIG_arg_fail(2)) SWIG_fail
;
34902 arg3
= wxString_in_helper(obj2
);
34903 if (arg3
== NULL
) SWIG_fail
;
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 Py_INCREF(Py_None
); resultobj
= Py_None
;
34928 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34929 PyObject
*resultobj
= NULL
;
34930 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34931 wxWindow
*arg2
= (wxWindow
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "window", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34940 if (SWIG_arg_fail(1)) SWIG_fail
;
34941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34942 if (SWIG_arg_fail(2)) SWIG_fail
;
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 (arg1
)->RemoveHelp(arg2
);
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 Py_INCREF(Py_None
); resultobj
= Py_None
;
34957 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34958 PyObject
*resultobj
= NULL
;
34959 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34960 PyObject
* obj0
= 0 ;
34961 char *kwnames
[] = {
34962 (char *) "self", NULL
34965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
34966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34967 if (SWIG_arg_fail(1)) SWIG_fail
;
34969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34970 wxHelpProvider_Destroy(arg1
);
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 Py_INCREF(Py_None
); resultobj
= Py_None
;
34982 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34985 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
34987 return Py_BuildValue((char *)"");
34989 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
= NULL
;
34991 wxSimpleHelpProvider
*result
;
34992 char *kwnames
[] = {
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
35011 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35014 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
35016 return Py_BuildValue((char *)"");
35018 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
= NULL
;
35020 wxBitmap
*arg1
= 0 ;
35021 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35022 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35023 wxGenericDragImage
*result
;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 char *kwnames
[] = {
35027 (char *) "image",(char *) "cursor", NULL
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
35032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35033 if (SWIG_arg_fail(1)) SWIG_fail
;
35034 if (arg1
== NULL
) {
35035 SWIG_null_ref("wxBitmap");
35037 if (SWIG_arg_fail(1)) SWIG_fail
;
35041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35042 if (SWIG_arg_fail(2)) SWIG_fail
;
35043 if (arg2
== NULL
) {
35044 SWIG_null_ref("wxCursor");
35046 if (SWIG_arg_fail(2)) SWIG_fail
;
35050 if (!wxPyCheckForApp()) SWIG_fail
;
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35064 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
= NULL
;
35067 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35068 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35069 wxGenericDragImage
*result
;
35070 PyObject
* obj0
= 0 ;
35071 PyObject
* obj1
= 0 ;
35072 char *kwnames
[] = {
35073 (char *) "image",(char *) "cursor", NULL
35076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
35078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
35079 if (SWIG_arg_fail(1)) SWIG_fail
;
35080 if (arg1
== NULL
) {
35081 SWIG_null_ref("wxIcon");
35083 if (SWIG_arg_fail(1)) SWIG_fail
;
35087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35088 if (SWIG_arg_fail(2)) SWIG_fail
;
35089 if (arg2
== NULL
) {
35090 SWIG_null_ref("wxCursor");
35092 if (SWIG_arg_fail(2)) SWIG_fail
;
35096 if (!wxPyCheckForApp()) SWIG_fail
;
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35110 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= NULL
;
35112 wxString
*arg1
= 0 ;
35113 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35114 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35115 wxGenericDragImage
*result
;
35116 bool temp1
= false ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 char *kwnames
[] = {
35120 (char *) "str",(char *) "cursor", NULL
35123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
35125 arg1
= wxString_in_helper(obj0
);
35126 if (arg1
== NULL
) SWIG_fail
;
35131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35132 if (SWIG_arg_fail(2)) SWIG_fail
;
35133 if (arg2
== NULL
) {
35134 SWIG_null_ref("wxCursor");
35136 if (SWIG_arg_fail(2)) SWIG_fail
;
35140 if (!wxPyCheckForApp()) SWIG_fail
;
35141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
35144 wxPyEndAllowThreads(__tstate
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35162 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
= NULL
;
35164 wxPyTreeCtrl
*arg1
= 0 ;
35165 wxTreeItemId
*arg2
= 0 ;
35166 wxGenericDragImage
*result
;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "treeCtrl",(char *) "id", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35176 if (SWIG_arg_fail(1)) SWIG_fail
;
35177 if (arg1
== NULL
) {
35178 SWIG_null_ref("wxPyTreeCtrl");
35180 if (SWIG_arg_fail(1)) SWIG_fail
;
35183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
35184 if (SWIG_arg_fail(2)) SWIG_fail
;
35185 if (arg2
== NULL
) {
35186 SWIG_null_ref("wxTreeItemId");
35188 if (SWIG_arg_fail(2)) SWIG_fail
;
35191 if (!wxPyCheckForApp()) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35205 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= NULL
;
35207 wxPyListCtrl
*arg1
= 0 ;
35209 wxGenericDragImage
*result
;
35210 PyObject
* obj0
= 0 ;
35211 PyObject
* obj1
= 0 ;
35212 char *kwnames
[] = {
35213 (char *) "listCtrl",(char *) "id", NULL
35216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35219 if (SWIG_arg_fail(1)) SWIG_fail
;
35220 if (arg1
== NULL
) {
35221 SWIG_null_ref("wxPyListCtrl");
35223 if (SWIG_arg_fail(1)) SWIG_fail
;
35226 arg2
= static_cast<long >(SWIG_As_long(obj1
));
35227 if (SWIG_arg_fail(2)) SWIG_fail
;
35230 if (!wxPyCheckForApp()) SWIG_fail
;
35231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35244 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35245 PyObject
*resultobj
= NULL
;
35246 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35247 PyObject
* obj0
= 0 ;
35248 char *kwnames
[] = {
35249 (char *) "self", NULL
35252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
35253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35254 if (SWIG_arg_fail(1)) SWIG_fail
;
35256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35262 Py_INCREF(Py_None
); resultobj
= Py_None
;
35269 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35270 PyObject
*resultobj
= NULL
;
35271 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35272 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 char *kwnames
[] = {
35276 (char *) "self",(char *) "bitmap", NULL
35279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35281 if (SWIG_arg_fail(1)) SWIG_fail
;
35282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35283 if (SWIG_arg_fail(2)) SWIG_fail
;
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 (arg1
)->SetBackingBitmap(arg2
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 Py_INCREF(Py_None
); resultobj
= Py_None
;
35298 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= NULL
;
35300 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35301 wxPoint
*arg2
= 0 ;
35302 wxWindow
*arg3
= (wxWindow
*) 0 ;
35303 bool arg4
= (bool) false ;
35304 wxRect
*arg5
= (wxRect
*) NULL
;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 PyObject
* obj2
= 0 ;
35310 PyObject
* obj3
= 0 ;
35311 PyObject
* obj4
= 0 ;
35312 char *kwnames
[] = {
35313 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35318 if (SWIG_arg_fail(1)) SWIG_fail
;
35321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35323 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35324 if (SWIG_arg_fail(3)) SWIG_fail
;
35327 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35328 if (SWIG_arg_fail(4)) SWIG_fail
;
35332 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
35333 if (SWIG_arg_fail(5)) SWIG_fail
;
35336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35337 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35351 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= NULL
;
35353 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35354 wxPoint
*arg2
= 0 ;
35355 wxWindow
*arg3
= (wxWindow
*) 0 ;
35356 wxWindow
*arg4
= (wxWindow
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 PyObject
* obj2
= 0 ;
35362 PyObject
* obj3
= 0 ;
35363 char *kwnames
[] = {
35364 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35369 if (SWIG_arg_fail(1)) SWIG_fail
;
35372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35374 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35375 if (SWIG_arg_fail(3)) SWIG_fail
;
35376 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35377 if (SWIG_arg_fail(4)) SWIG_fail
;
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35394 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
= NULL
;
35396 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35398 PyObject
* obj0
= 0 ;
35399 char *kwnames
[] = {
35400 (char *) "self", NULL
35403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
35404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35405 if (SWIG_arg_fail(1)) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= (bool)(arg1
)->EndDrag();
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35422 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35423 PyObject
*resultobj
= NULL
;
35424 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35425 wxPoint
*arg2
= 0 ;
35428 PyObject
* obj0
= 0 ;
35429 PyObject
* obj1
= 0 ;
35430 char *kwnames
[] = {
35431 (char *) "self",(char *) "pt", NULL
35434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
35435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35436 if (SWIG_arg_fail(1)) SWIG_fail
;
35439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35457 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
= NULL
;
35459 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35461 PyObject
* obj0
= 0 ;
35462 char *kwnames
[] = {
35463 (char *) "self", NULL
35466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
35467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35468 if (SWIG_arg_fail(1)) SWIG_fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (bool)(arg1
)->Show();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35485 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
= NULL
;
35487 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35489 PyObject
* obj0
= 0 ;
35490 char *kwnames
[] = {
35491 (char *) "self", NULL
35494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
35495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35496 if (SWIG_arg_fail(1)) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= (bool)(arg1
)->Hide();
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35513 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= NULL
;
35515 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35516 wxPoint
*arg2
= 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 char *kwnames
[] = {
35522 (char *) "self",(char *) "pos", NULL
35525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
35526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35527 if (SWIG_arg_fail(1)) SWIG_fail
;
35530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 wxRect
* resultptr
;
35541 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
35542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35550 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35551 PyObject
*resultobj
= NULL
;
35552 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35554 wxPoint
*arg3
= 0 ;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 PyObject
* obj2
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self",(char *) "dc",(char *) "pos", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35566 if (SWIG_arg_fail(1)) SWIG_fail
;
35568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35569 if (SWIG_arg_fail(2)) SWIG_fail
;
35570 if (arg2
== NULL
) {
35571 SWIG_null_ref("wxDC");
35573 if (SWIG_arg_fail(2)) SWIG_fail
;
35577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35595 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= NULL
;
35597 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35599 wxMemoryDC
*arg3
= 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 PyObject
* obj2
= 0 ;
35608 PyObject
* obj3
= 0 ;
35609 PyObject
* obj4
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35616 if (SWIG_arg_fail(1)) SWIG_fail
;
35618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35619 if (SWIG_arg_fail(2)) SWIG_fail
;
35620 if (arg2
== NULL
) {
35621 SWIG_null_ref("wxDC");
35623 if (SWIG_arg_fail(2)) SWIG_fail
;
35626 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
35627 if (SWIG_arg_fail(3)) SWIG_fail
;
35628 if (arg3
== NULL
) {
35629 SWIG_null_ref("wxMemoryDC");
35631 if (SWIG_arg_fail(3)) SWIG_fail
;
35635 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35639 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35657 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35658 PyObject
*resultobj
= NULL
;
35659 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35660 wxPoint
*arg2
= 0 ;
35661 wxPoint
*arg3
= 0 ;
35667 PyObject
* obj0
= 0 ;
35668 PyObject
* obj1
= 0 ;
35669 PyObject
* obj2
= 0 ;
35670 PyObject
* obj3
= 0 ;
35671 PyObject
* obj4
= 0 ;
35672 char *kwnames
[] = {
35673 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35678 if (SWIG_arg_fail(1)) SWIG_fail
;
35681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35685 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35688 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35689 if (SWIG_arg_fail(4)) SWIG_fail
;
35692 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
35693 if (SWIG_arg_fail(5)) SWIG_fail
;
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35711 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
35713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35714 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
35716 return Py_BuildValue((char *)"");
35718 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
35719 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
35724 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
35725 PyObject
*pyobj
= NULL
;
35729 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35731 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35738 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
= NULL
;
35740 wxWindow
*arg1
= (wxWindow
*) 0 ;
35741 int arg2
= (int) -1 ;
35742 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
35743 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
35744 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
35745 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
35746 wxSize
const &arg5_defvalue
= wxDefaultSize
;
35747 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
35748 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
35749 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
35750 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
35751 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
35752 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
35753 wxDatePickerCtrl
*result
;
35756 bool temp8
= false ;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 PyObject
* obj2
= 0 ;
35760 PyObject
* obj3
= 0 ;
35761 PyObject
* obj4
= 0 ;
35762 PyObject
* obj5
= 0 ;
35763 PyObject
* obj6
= 0 ;
35764 PyObject
* obj7
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
35770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35771 if (SWIG_arg_fail(1)) SWIG_fail
;
35774 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35775 if (SWIG_arg_fail(2)) SWIG_fail
;
35780 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35781 if (SWIG_arg_fail(3)) SWIG_fail
;
35782 if (arg3
== NULL
) {
35783 SWIG_null_ref("wxDateTime");
35785 if (SWIG_arg_fail(3)) SWIG_fail
;
35791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
35802 arg6
= static_cast<long >(SWIG_As_long(obj5
));
35803 if (SWIG_arg_fail(6)) SWIG_fail
;
35808 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35809 if (SWIG_arg_fail(7)) SWIG_fail
;
35810 if (arg7
== NULL
) {
35811 SWIG_null_ref("wxValidator");
35813 if (SWIG_arg_fail(7)) SWIG_fail
;
35818 arg8
= wxString_in_helper(obj7
);
35819 if (arg8
== NULL
) SWIG_fail
;
35824 if (!wxPyCheckForApp()) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
35846 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35847 PyObject
*resultobj
= NULL
;
35848 wxDatePickerCtrl
*result
;
35849 char *kwnames
[] = {
35853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
35855 if (!wxPyCheckForApp()) SWIG_fail
;
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
35869 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= NULL
;
35871 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35872 wxWindow
*arg2
= (wxWindow
*) 0 ;
35873 int arg3
= (int) -1 ;
35874 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
35875 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
35876 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
35877 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
35878 wxSize
const &arg6_defvalue
= wxDefaultSize
;
35879 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
35880 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
35881 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
35882 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
35883 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
35884 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
35888 bool temp9
= false ;
35889 PyObject
* obj0
= 0 ;
35890 PyObject
* obj1
= 0 ;
35891 PyObject
* obj2
= 0 ;
35892 PyObject
* obj3
= 0 ;
35893 PyObject
* obj4
= 0 ;
35894 PyObject
* obj5
= 0 ;
35895 PyObject
* obj6
= 0 ;
35896 PyObject
* obj7
= 0 ;
35897 PyObject
* obj8
= 0 ;
35898 char *kwnames
[] = {
35899 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
35903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35904 if (SWIG_arg_fail(1)) SWIG_fail
;
35905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35906 if (SWIG_arg_fail(2)) SWIG_fail
;
35909 arg3
= static_cast<int >(SWIG_As_int(obj2
));
35910 if (SWIG_arg_fail(3)) SWIG_fail
;
35915 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35916 if (SWIG_arg_fail(4)) SWIG_fail
;
35917 if (arg4
== NULL
) {
35918 SWIG_null_ref("wxDateTime");
35920 if (SWIG_arg_fail(4)) SWIG_fail
;
35926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
35932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
35937 arg7
= static_cast<long >(SWIG_As_long(obj6
));
35938 if (SWIG_arg_fail(7)) SWIG_fail
;
35943 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35944 if (SWIG_arg_fail(8)) SWIG_fail
;
35945 if (arg8
== NULL
) {
35946 SWIG_null_ref("wxValidator");
35948 if (SWIG_arg_fail(8)) SWIG_fail
;
35953 arg9
= wxString_in_helper(obj8
);
35954 if (arg9
== NULL
) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35982 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35983 PyObject
*resultobj
= NULL
;
35984 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35985 wxDateTime
*arg2
= 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 char *kwnames
[] = {
35989 (char *) "self",(char *) "dt", NULL
35992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
35993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35994 if (SWIG_arg_fail(1)) SWIG_fail
;
35996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35997 if (SWIG_arg_fail(2)) SWIG_fail
;
35998 if (arg2
== NULL
) {
35999 SWIG_null_ref("wxDateTime");
36001 if (SWIG_arg_fail(2)) SWIG_fail
;
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 Py_INCREF(Py_None
); resultobj
= Py_None
;
36017 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= NULL
;
36019 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36021 PyObject
* obj0
= 0 ;
36022 char *kwnames
[] = {
36023 (char *) "self", NULL
36026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
36027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36028 if (SWIG_arg_fail(1)) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36037 wxDateTime
* resultptr
;
36038 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36047 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
= NULL
;
36049 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36050 wxDateTime
*arg2
= 0 ;
36051 wxDateTime
*arg3
= 0 ;
36052 PyObject
* obj0
= 0 ;
36053 PyObject
* obj1
= 0 ;
36054 PyObject
* obj2
= 0 ;
36055 char *kwnames
[] = {
36056 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36061 if (SWIG_arg_fail(1)) SWIG_fail
;
36063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36064 if (SWIG_arg_fail(2)) SWIG_fail
;
36065 if (arg2
== NULL
) {
36066 SWIG_null_ref("wxDateTime");
36068 if (SWIG_arg_fail(2)) SWIG_fail
;
36071 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36072 if (SWIG_arg_fail(3)) SWIG_fail
;
36073 if (arg3
== NULL
) {
36074 SWIG_null_ref("wxDateTime");
36076 if (SWIG_arg_fail(3)) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 Py_INCREF(Py_None
); resultobj
= Py_None
;
36092 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
= NULL
;
36094 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36096 PyObject
* obj0
= 0 ;
36097 char *kwnames
[] = {
36098 (char *) "self", NULL
36101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
36102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36103 if (SWIG_arg_fail(1)) SWIG_fail
;
36105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36106 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36112 wxDateTime
* resultptr
;
36113 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36122 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
= NULL
;
36124 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36126 PyObject
* obj0
= 0 ;
36127 char *kwnames
[] = {
36128 (char *) "self", NULL
36131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
36132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36133 if (SWIG_arg_fail(1)) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36142 wxDateTime
* resultptr
;
36143 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36152 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
36154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36155 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
36157 return Py_BuildValue((char *)"");
36159 static PyMethodDef SwigMethods
[] = {
36160 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36161 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
36167 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36168 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36171 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
36182 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
36194 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
36200 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36222 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
36231 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36235 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
36245 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36248 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36249 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
36250 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36256 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
36257 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36260 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
36263 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
36271 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36291 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36292 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
36294 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36296 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
36302 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36316 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
36333 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36336 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36343 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36353 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36387 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
36389 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36392 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
36394 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36398 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
36406 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
36419 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
36431 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
36435 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
36453 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
36460 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
36486 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
36494 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_GetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
) _wrap_BookCtrlBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
36521 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
36527 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
36538 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
36540 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
36545 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
36547 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
36553 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
36555 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"new_PreTreebook", (PyCFunction
) _wrap_new_PreTreebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"Treebook_InsertPage", (PyCFunction
) _wrap_Treebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"Treebook_AddPage", (PyCFunction
) _wrap_Treebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"Treebook_DeletePage", (PyCFunction
) _wrap_Treebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
) _wrap_Treebook_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
36569 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
36571 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"new_PreToolbook", (PyCFunction
) _wrap_new_PreToolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"Toolbook_GetToolBar", (PyCFunction
) _wrap_Toolbook_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"Toolbook_Realize", (PyCFunction
) _wrap_Toolbook_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
36577 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
36579 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
36609 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
36654 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
36660 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"delete_ListItemAttr", (PyCFunction
) _wrap_delete_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
36674 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
36726 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
36753 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
36826 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
36838 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
36846 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"delete_TreeItemData", (PyCFunction
) _wrap_delete_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
36854 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
36871 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
36947 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
36969 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
36974 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"PyControl_DoGetSize", (PyCFunction
) _wrap_PyControl_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"PyControl_DoGetClientSize", (PyCFunction
) _wrap_PyControl_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"PyControl_DoGetPosition", (PyCFunction
) _wrap_PyControl_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"PyControl_DoGetBestSize", (PyCFunction
) _wrap_PyControl_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"PyControl_InitDialog", (PyCFunction
) _wrap_PyControl_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"PyControl_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"PyControl_Validate", (PyCFunction
) _wrap_PyControl_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"PyControl_AcceptsFocus", (PyCFunction
) _wrap_PyControl_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"PyControl_GetMaxSize", (PyCFunction
) _wrap_PyControl_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"PyControl_AddChild", (PyCFunction
) _wrap_PyControl_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"PyControl_RemoveChild", (PyCFunction
) _wrap_PyControl_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"PyControl_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"PyControl_OnInternalIdle", (PyCFunction
) _wrap_PyControl_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
37001 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
37009 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
37014 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
37016 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
37025 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
37027 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
37045 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
37054 { NULL
, NULL
, 0, NULL
}
37058 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37063 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37064 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37066 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37067 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37069 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37070 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37072 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37073 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37075 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
37076 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37078 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
37079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37081 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37082 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37084 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37085 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37087 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37090 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
37091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37093 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37094 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37096 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37099 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
37100 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37102 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
37103 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37105 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
37106 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37108 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
37109 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37111 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
37112 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37114 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
37115 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37117 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
37118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
37120 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37121 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37123 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37126 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37127 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37129 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37130 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37132 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37133 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37135 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37136 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37138 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37139 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37141 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37142 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37144 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37147 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37148 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37150 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37151 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37153 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37156 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37157 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37159 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37160 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37162 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37163 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37165 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37166 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37168 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37169 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37171 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37172 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37174 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37177 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37178 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37180 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37181 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37183 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37186 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37189 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37190 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37192 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37193 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37195 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37196 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37198 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
37199 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37201 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
37202 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
37204 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
37205 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37207 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
37208 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37210 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37211 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37213 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
37214 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37216 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
37217 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37219 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
37220 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
37222 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
37223 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
37225 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
37226 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
37228 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
37229 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
37231 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
37232 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
37234 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
37235 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
37237 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
37238 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
37240 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
37241 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37243 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
37244 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
37246 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
37247 return (void *)((wxControl
*) ((wxComboBox
*) x
));
37249 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
37250 return (void *)((wxControl
*) ((wxPyControl
*) x
));
37252 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
37253 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
37255 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
37256 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
37258 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37259 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37261 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
37262 return (void *)((wxControl
*) ((wxGauge
*) x
));
37264 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
37265 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
37267 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
37268 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37270 static void *_p_wxListbookTo_p_wxControl(void *x
) {
37271 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
37273 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
37274 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
37276 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
37277 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
37279 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
37280 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
37282 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
37283 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37285 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
37286 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37288 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
37289 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37291 static void *_p_wxListViewTo_p_wxControl(void *x
) {
37292 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
37294 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
37295 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
37297 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
37298 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
37300 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
37301 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
37303 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
37304 return (void *)((wxControl
*) ((wxStaticText
*) x
));
37306 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
37307 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
37309 static void *_p_wxSliderTo_p_wxControl(void *x
) {
37310 return (void *)((wxControl
*) ((wxSlider
*) x
));
37312 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
37313 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
37315 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
37316 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
37318 static void *_p_wxButtonTo_p_wxControl(void *x
) {
37319 return (void *)((wxControl
*) ((wxButton
*) x
));
37321 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
37322 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
37324 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
37325 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37327 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
37328 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
37330 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
37331 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
37333 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
37334 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
37336 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
37337 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37339 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
37340 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37342 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
37343 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37345 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
37346 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
37348 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
37349 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37351 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
37352 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37354 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
37355 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37357 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
37358 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37360 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
37361 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37363 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
37364 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37366 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
37367 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37369 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
37370 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
37372 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
37373 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
37375 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
37376 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
37378 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
37379 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
37381 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37384 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
37385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37387 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37388 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37390 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37391 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37393 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
37394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37396 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37397 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37399 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
37400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37402 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
37403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37405 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
37406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37408 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37409 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37411 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37412 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37414 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
37415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37417 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
37418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37420 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
37421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37423 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
37424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37426 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
37427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37429 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37430 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37432 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
37433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37435 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
37436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37438 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37441 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
37442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37444 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
37445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37447 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
37448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37450 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
37451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37453 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
37454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37456 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
37457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37459 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
37460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37462 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
37463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37465 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
37466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37468 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
37469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37471 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
37472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37474 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
37475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37477 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
37478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37480 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
37481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37483 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
37484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37486 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
37487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37489 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
37490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37492 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
37493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37495 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
37496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37498 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
37499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37501 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
37502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37504 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
37505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37507 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
37508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37510 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
37511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37513 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
37514 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
37516 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
37517 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
37519 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
37520 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37522 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
37523 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37525 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
37526 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
37528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37529 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37531 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
37532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37534 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37535 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37537 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37538 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37540 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37543 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37544 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37546 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
37547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37549 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37550 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37552 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37553 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37555 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37556 return (void *)((wxObject
*) ((wxSizer
*) x
));
37558 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37559 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37561 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
37562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37564 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
37565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37567 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37570 static void *_p_wxEventTo_p_wxObject(void *x
) {
37571 return (void *)((wxObject
*) ((wxEvent
*) x
));
37573 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37574 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37576 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37577 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37579 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37580 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37582 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
37583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37585 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
37586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37588 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
37589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37591 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37592 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37594 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37595 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37597 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37598 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37600 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37601 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37603 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37604 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37606 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37607 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37609 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
37610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37612 static void *_p_wxControlTo_p_wxObject(void *x
) {
37613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37615 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
37616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37618 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
37619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37621 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
37622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37624 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
37625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37627 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
37628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37630 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37631 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37633 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
37634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37636 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37637 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37639 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37640 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37642 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
37643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37645 static void *_p_wxListViewTo_p_wxObject(void *x
) {
37646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37648 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
37649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37651 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
37652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37654 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37655 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37657 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37660 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
37661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37663 static void *_p_wxListbookTo_p_wxObject(void *x
) {
37664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37666 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37667 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37669 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
37670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37672 static void *_p_wxSliderTo_p_wxObject(void *x
) {
37673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37675 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37676 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37678 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37681 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37682 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37684 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37687 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37688 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37690 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37691 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37693 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37694 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37696 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37697 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37699 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37700 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37702 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37703 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37705 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
37706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37708 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
37709 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
37711 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
37712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37714 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37717 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37720 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37723 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37726 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37729 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37730 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37732 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37733 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37735 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37736 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37738 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37741 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37744 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37745 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37747 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37750 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37753 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37754 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37756 static void *_p_wxListEventTo_p_wxObject(void *x
) {
37757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37759 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
37760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37762 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
37763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37765 static void *_p_wxButtonTo_p_wxObject(void *x
) {
37766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37768 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
37769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37771 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
37772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37774 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
37775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37777 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37778 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37780 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37781 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37783 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
37784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37786 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
37787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37789 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
37790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37792 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
37793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
37795 static void *_p_wxListItemTo_p_wxObject(void *x
) {
37796 return (void *)((wxObject
*) ((wxListItem
*) x
));
37798 static void *_p_wxImageTo_p_wxObject(void *x
) {
37799 return (void *)((wxObject
*) ((wxImage
*) x
));
37801 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37802 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37804 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
37805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37807 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
37808 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
37810 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
37811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37813 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
37814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37816 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
37817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37819 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
37820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37822 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
37823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37825 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
37826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37832 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37834 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37835 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37837 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37840 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37843 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37846 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37847 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37852 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37853 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37855 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37858 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37859 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37861 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37862 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37864 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37865 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37867 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
37868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37870 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
37871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37873 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37876 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37877 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37879 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
37880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37882 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37883 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37885 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37886 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37888 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37891 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
37892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37894 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37897 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
37898 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
37900 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
37901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37903 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37906 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37907 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37909 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37910 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37912 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
37913 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
37915 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
37916 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37918 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
37919 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
37921 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
37922 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
37924 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
37925 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37927 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37928 return (void *)((wxWindow
*) ((wxControl
*) x
));
37930 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
37931 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
37933 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
37934 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
37936 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
37937 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
37939 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
37940 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37942 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
37943 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
37945 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
37946 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
37948 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
37949 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
37951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37952 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37954 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
37955 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
37957 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
37958 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
37960 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
37961 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37963 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
37964 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37966 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
37967 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
37969 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
37970 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
37972 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
37973 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
37975 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
37976 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37978 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
37979 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37981 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
37982 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37984 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
37985 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37987 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
37988 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37990 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
37991 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
37993 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
37994 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
37996 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
37997 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
37999 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
38000 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
38002 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
38003 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
38005 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
38006 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
38008 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
38009 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
38011 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
38012 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
38014 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
38015 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38017 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
38018 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38020 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
38021 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
38023 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
38024 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
38026 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38027 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38029 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38030 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38032 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38033 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38035 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38036 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38038 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38039 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38041 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
38042 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38044 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
38045 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
38047 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
38048 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
38050 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
38051 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38053 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
38054 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38056 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
38057 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38059 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
38060 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38062 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
38063 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38065 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
38066 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38068 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
38069 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38071 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
38072 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38074 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
38075 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
38077 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
38078 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38080 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
38081 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
38083 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
38084 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38086 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
38087 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38089 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
38090 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38092 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
38093 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
38095 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
38096 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38098 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
38099 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38101 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
38102 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38104 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
38105 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
38107 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
38108 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
38110 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
38111 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
38113 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
38114 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
38116 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
38117 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
38118 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38119 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
38120 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
38121 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38122 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38123 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38124 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
38125 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38126 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38127 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38128 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38129 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38130 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38131 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
38132 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38133 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38134 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38135 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38136 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38137 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
38138 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38139 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38140 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38141 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
38142 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38143 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38144 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38145 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
38146 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38147 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38148 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38149 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38150 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
38151 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38152 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38153 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
38154 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38155 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38156 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38157 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38158 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38159 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
38160 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
38161 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
38162 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38163 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38164 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
38165 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
38166 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38167 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38168 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
38169 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
38170 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
38171 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
38172 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
38173 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38174 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38175 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38176 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38177 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38178 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38179 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
38180 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
38181 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38182 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38183 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38184 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
38185 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
38186 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
38187 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
38188 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
38189 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38190 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38191 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38192 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38193 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38194 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38195 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38196 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38197 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38198 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38199 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38200 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38201 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38202 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
38203 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38204 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38205 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38206 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38207 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38208 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38209 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38210 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
38211 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38212 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
38213 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
38214 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38215 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38216 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
38217 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
38218 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
38219 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
38220 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38221 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
38222 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
38223 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
38224 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
38225 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
38226 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
38227 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
38228 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
38229 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
38230 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
38231 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
38232 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
38233 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
38234 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
38235 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
38236 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
38237 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38238 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38239 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
38240 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
38241 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38242 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38243 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38244 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38245 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38246 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38247 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38248 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38249 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
38250 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38251 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38252 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
38253 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38254 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38255 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38256 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38257 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38258 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38259 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38260 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38261 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
38262 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38263 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38264 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38265 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38266 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38267 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38268 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38269 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38270 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38271 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38272 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38273 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38274 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38275 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38276 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38277 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38278 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38279 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38280 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38281 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38283 static swig_type_info
*swig_type_initial
[] = {
38286 &_swigt__p_form_ops_t
,
38289 &_swigt__p_unsigned_char
,
38290 &_swigt__p_unsigned_int
,
38291 &_swigt__p_unsigned_long
,
38293 &_swigt__p_wxANIHandler
,
38294 &_swigt__p_wxAcceleratorTable
,
38295 &_swigt__p_wxActivateEvent
,
38296 &_swigt__p_wxArrayInt
,
38297 &_swigt__p_wxArrayString
,
38298 &_swigt__p_wxBMPHandler
,
38299 &_swigt__p_wxBitmap
,
38300 &_swigt__p_wxBitmapButton
,
38301 &_swigt__p_wxBookCtrlBase
,
38302 &_swigt__p_wxBookCtrlBaseEvent
,
38303 &_swigt__p_wxBoxSizer
,
38304 &_swigt__p_wxButton
,
38305 &_swigt__p_wxCURHandler
,
38306 &_swigt__p_wxCheckBox
,
38307 &_swigt__p_wxCheckListBox
,
38308 &_swigt__p_wxChildFocusEvent
,
38309 &_swigt__p_wxChoice
,
38310 &_swigt__p_wxChoicebook
,
38311 &_swigt__p_wxChoicebookEvent
,
38312 &_swigt__p_wxCloseEvent
,
38313 &_swigt__p_wxColour
,
38314 &_swigt__p_wxComboBox
,
38315 &_swigt__p_wxCommandEvent
,
38316 &_swigt__p_wxContextHelp
,
38317 &_swigt__p_wxContextHelpButton
,
38318 &_swigt__p_wxContextMenuEvent
,
38319 &_swigt__p_wxControl
,
38320 &_swigt__p_wxControlWithItems
,
38321 &_swigt__p_wxCursor
,
38323 &_swigt__p_wxDateEvent
,
38324 &_swigt__p_wxDatePickerCtrl
,
38325 &_swigt__p_wxDateTime
,
38326 &_swigt__p_wxDirFilterListCtrl
,
38327 &_swigt__p_wxDisplayChangedEvent
,
38328 &_swigt__p_wxDropFilesEvent
,
38329 &_swigt__p_wxDuplexMode
,
38330 &_swigt__p_wxEraseEvent
,
38331 &_swigt__p_wxEvent
,
38332 &_swigt__p_wxEvtHandler
,
38333 &_swigt__p_wxFSFile
,
38334 &_swigt__p_wxFileSystem
,
38335 &_swigt__p_wxFlexGridSizer
,
38336 &_swigt__p_wxFocusEvent
,
38338 &_swigt__p_wxGBSizerItem
,
38339 &_swigt__p_wxGIFHandler
,
38340 &_swigt__p_wxGauge
,
38341 &_swigt__p_wxGenericDirCtrl
,
38342 &_swigt__p_wxGenericDragImage
,
38343 &_swigt__p_wxGridBagSizer
,
38344 &_swigt__p_wxGridSizer
,
38345 &_swigt__p_wxHelpEvent
,
38346 &_swigt__p_wxHelpProvider
,
38347 &_swigt__p_wxICOHandler
,
38349 &_swigt__p_wxIconizeEvent
,
38350 &_swigt__p_wxIdleEvent
,
38351 &_swigt__p_wxImage
,
38352 &_swigt__p_wxImageHandler
,
38353 &_swigt__p_wxImageList
,
38354 &_swigt__p_wxIndividualLayoutConstraint
,
38355 &_swigt__p_wxInitDialogEvent
,
38356 &_swigt__p_wxItemContainer
,
38357 &_swigt__p_wxJPEGHandler
,
38358 &_swigt__p_wxKeyEvent
,
38359 &_swigt__p_wxLayoutConstraints
,
38360 &_swigt__p_wxListBox
,
38361 &_swigt__p_wxListEvent
,
38362 &_swigt__p_wxListItem
,
38363 &_swigt__p_wxListItemAttr
,
38364 &_swigt__p_wxListView
,
38365 &_swigt__p_wxListbook
,
38366 &_swigt__p_wxListbookEvent
,
38367 &_swigt__p_wxMaximizeEvent
,
38368 &_swigt__p_wxMemoryDC
,
38370 &_swigt__p_wxMenuBar
,
38371 &_swigt__p_wxMenuEvent
,
38372 &_swigt__p_wxMenuItem
,
38373 &_swigt__p_wxMouseCaptureChangedEvent
,
38374 &_swigt__p_wxMouseEvent
,
38375 &_swigt__p_wxMoveEvent
,
38376 &_swigt__p_wxNavigationKeyEvent
,
38377 &_swigt__p_wxNcPaintEvent
,
38378 &_swigt__p_wxNotebook
,
38379 &_swigt__p_wxNotebookEvent
,
38380 &_swigt__p_wxNotifyEvent
,
38381 &_swigt__p_wxObject
,
38382 &_swigt__p_wxPCXHandler
,
38383 &_swigt__p_wxPNGHandler
,
38384 &_swigt__p_wxPNMHandler
,
38385 &_swigt__p_wxPaintEvent
,
38386 &_swigt__p_wxPaletteChangedEvent
,
38387 &_swigt__p_wxPaperSize
,
38388 &_swigt__p_wxPoint
,
38389 &_swigt__p_wxPyApp
,
38390 &_swigt__p_wxPyCommandEvent
,
38391 &_swigt__p_wxPyControl
,
38392 &_swigt__p_wxPyEvent
,
38393 &_swigt__p_wxPyImageHandler
,
38394 &_swigt__p_wxPyListCtrl
,
38395 &_swigt__p_wxPySizer
,
38396 &_swigt__p_wxPyTreeCtrl
,
38397 &_swigt__p_wxPyTreeItemData
,
38398 &_swigt__p_wxPyValidator
,
38399 &_swigt__p_wxQueryNewPaletteEvent
,
38400 &_swigt__p_wxRadioBox
,
38401 &_swigt__p_wxRadioButton
,
38403 &_swigt__p_wxScrollBar
,
38404 &_swigt__p_wxScrollEvent
,
38405 &_swigt__p_wxScrollWinEvent
,
38406 &_swigt__p_wxSetCursorEvent
,
38407 &_swigt__p_wxShowEvent
,
38408 &_swigt__p_wxSimpleHelpProvider
,
38410 &_swigt__p_wxSizeEvent
,
38411 &_swigt__p_wxSizer
,
38412 &_swigt__p_wxSizerItem
,
38413 &_swigt__p_wxSlider
,
38414 &_swigt__p_wxSpinButton
,
38415 &_swigt__p_wxSpinCtrl
,
38416 &_swigt__p_wxSpinEvent
,
38417 &_swigt__p_wxStaticBitmap
,
38418 &_swigt__p_wxStaticBox
,
38419 &_swigt__p_wxStaticBoxSizer
,
38420 &_swigt__p_wxStaticLine
,
38421 &_swigt__p_wxStaticText
,
38422 &_swigt__p_wxStdDialogButtonSizer
,
38423 &_swigt__p_wxString
,
38424 &_swigt__p_wxSysColourChangedEvent
,
38425 &_swigt__p_wxTIFFHandler
,
38426 &_swigt__p_wxTextAttr
,
38427 &_swigt__p_wxTextCtrl
,
38428 &_swigt__p_wxTextUrlEvent
,
38429 &_swigt__p_wxToggleButton
,
38430 &_swigt__p_wxToolBar
,
38431 &_swigt__p_wxToolBarBase
,
38432 &_swigt__p_wxToolBarToolBase
,
38433 &_swigt__p_wxToolbook
,
38434 &_swigt__p_wxToolbookEvent
,
38435 &_swigt__p_wxTreeCtrl
,
38436 &_swigt__p_wxTreeEvent
,
38437 &_swigt__p_wxTreeItemId
,
38438 &_swigt__p_wxTreebook
,
38439 &_swigt__p_wxTreebookEvent
,
38440 &_swigt__p_wxUpdateUIEvent
,
38441 &_swigt__p_wxValidator
,
38442 &_swigt__p_wxVisualAttributes
,
38443 &_swigt__p_wxWindow
,
38444 &_swigt__p_wxWindowCreateEvent
,
38445 &_swigt__p_wxWindowDestroyEvent
,
38446 &_swigt__p_wxXPMHandler
,
38447 &_swigt__ptrdiff_t
,
38448 &_swigt__std__ptrdiff_t
,
38449 &_swigt__unsigned_int
,
38452 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
38453 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38454 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38455 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38456 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
38457 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38458 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38459 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38460 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38461 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
38462 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38463 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38464 static swig_cast_info _swigc__p_wxBitmapButton
[] = { {&_swigt__p_wxBitmapButton
, 0, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0},{0, 0, 0, 0}};
38465 static swig_cast_info _swigc__p_wxBookCtrlBase
[] = { {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, 0, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0},{0, 0, 0, 0}};
38466 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent
[] = { {&_swigt__p_wxBookCtrlBaseEvent
, 0, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0},{0, 0, 0, 0}};
38467 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxButton
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxButton
, 0, 0},{0, 0, 0, 0}};
38468 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
38469 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
38470 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
38471 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
38472 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38473 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38474 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
38475 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38476 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38477 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38478 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38479 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38480 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38481 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38482 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38483 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
38484 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
38485 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
38486 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
38487 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
38488 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38489 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38490 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38491 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38492 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38493 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38494 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38495 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38496 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38497 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38498 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38499 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38500 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38501 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38502 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38503 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38504 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38505 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38506 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38507 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38508 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38509 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38510 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38511 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38512 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38513 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38514 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38515 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38516 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38517 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38518 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
38519 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38520 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38521 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38522 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38523 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
38524 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38525 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
38526 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38527 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
38528 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
38529 static swig_cast_info _swigc__p_wxHelpProvider
[] = { {&_swigt__p_wxHelpProvider
, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider
, _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0},{0, 0, 0, 0}};
38530 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38531 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
38532 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
38533 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38534 static swig_cast_info _swigc__p_wxListBox
[] = { {&_swigt__p_wxListBox
, 0, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxListBox
, 0, 0},{0, 0, 0, 0}};
38535 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
38536 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
38537 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
38538 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
38539 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
38540 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38541 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
38542 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38543 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
38544 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38545 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38546 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38547 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38548 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38549 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38550 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38551 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38552 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38553 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38554 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38555 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38556 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38557 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38558 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38559 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38560 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38561 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38562 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38563 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38564 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38565 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38566 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38567 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38568 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38569 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38570 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38571 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38572 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38573 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38574 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38575 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38576 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
38577 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38578 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38579 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
38580 static swig_cast_info _swigc__p_wxPyListCtrl
[] = { {&_swigt__p_wxPyListCtrl
, 0, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxPyListCtrl
, 0, 0},{0, 0, 0, 0}};
38581 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38582 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
38583 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
38584 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
38585 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38586 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
38587 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
38588 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38589 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
38590 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
38591 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38592 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38593 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38594 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
38595 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
38596 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
38597 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38598 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
38599 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38600 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
38601 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
38602 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
38603 static swig_cast_info _swigc__p_wxToolBarBase
[] = { {&_swigt__p_wxToolBarBase
, 0, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxToolBarBase
, 0, 0},{0, 0, 0, 0}};
38604 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
38605 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
38606 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38607 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38608 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38609 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
38610 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
38611 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38612 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
38613 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
38614 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
38615 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38616 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38617 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38619 static swig_cast_info
*swig_cast_initial
[] = {
38622 _swigc__p_form_ops_t
,
38625 _swigc__p_unsigned_char
,
38626 _swigc__p_unsigned_int
,
38627 _swigc__p_unsigned_long
,
38629 _swigc__p_wxANIHandler
,
38630 _swigc__p_wxAcceleratorTable
,
38631 _swigc__p_wxActivateEvent
,
38632 _swigc__p_wxArrayInt
,
38633 _swigc__p_wxArrayString
,
38634 _swigc__p_wxBMPHandler
,
38635 _swigc__p_wxBitmap
,
38636 _swigc__p_wxBitmapButton
,
38637 _swigc__p_wxBookCtrlBase
,
38638 _swigc__p_wxBookCtrlBaseEvent
,
38639 _swigc__p_wxBoxSizer
,
38640 _swigc__p_wxButton
,
38641 _swigc__p_wxCURHandler
,
38642 _swigc__p_wxCheckBox
,
38643 _swigc__p_wxCheckListBox
,
38644 _swigc__p_wxChildFocusEvent
,
38645 _swigc__p_wxChoice
,
38646 _swigc__p_wxChoicebook
,
38647 _swigc__p_wxChoicebookEvent
,
38648 _swigc__p_wxCloseEvent
,
38649 _swigc__p_wxColour
,
38650 _swigc__p_wxComboBox
,
38651 _swigc__p_wxCommandEvent
,
38652 _swigc__p_wxContextHelp
,
38653 _swigc__p_wxContextHelpButton
,
38654 _swigc__p_wxContextMenuEvent
,
38655 _swigc__p_wxControl
,
38656 _swigc__p_wxControlWithItems
,
38657 _swigc__p_wxCursor
,
38659 _swigc__p_wxDateEvent
,
38660 _swigc__p_wxDatePickerCtrl
,
38661 _swigc__p_wxDateTime
,
38662 _swigc__p_wxDirFilterListCtrl
,
38663 _swigc__p_wxDisplayChangedEvent
,
38664 _swigc__p_wxDropFilesEvent
,
38665 _swigc__p_wxDuplexMode
,
38666 _swigc__p_wxEraseEvent
,
38668 _swigc__p_wxEvtHandler
,
38669 _swigc__p_wxFSFile
,
38670 _swigc__p_wxFileSystem
,
38671 _swigc__p_wxFlexGridSizer
,
38672 _swigc__p_wxFocusEvent
,
38674 _swigc__p_wxGBSizerItem
,
38675 _swigc__p_wxGIFHandler
,
38677 _swigc__p_wxGenericDirCtrl
,
38678 _swigc__p_wxGenericDragImage
,
38679 _swigc__p_wxGridBagSizer
,
38680 _swigc__p_wxGridSizer
,
38681 _swigc__p_wxHelpEvent
,
38682 _swigc__p_wxHelpProvider
,
38683 _swigc__p_wxICOHandler
,
38685 _swigc__p_wxIconizeEvent
,
38686 _swigc__p_wxIdleEvent
,
38688 _swigc__p_wxImageHandler
,
38689 _swigc__p_wxImageList
,
38690 _swigc__p_wxIndividualLayoutConstraint
,
38691 _swigc__p_wxInitDialogEvent
,
38692 _swigc__p_wxItemContainer
,
38693 _swigc__p_wxJPEGHandler
,
38694 _swigc__p_wxKeyEvent
,
38695 _swigc__p_wxLayoutConstraints
,
38696 _swigc__p_wxListBox
,
38697 _swigc__p_wxListEvent
,
38698 _swigc__p_wxListItem
,
38699 _swigc__p_wxListItemAttr
,
38700 _swigc__p_wxListView
,
38701 _swigc__p_wxListbook
,
38702 _swigc__p_wxListbookEvent
,
38703 _swigc__p_wxMaximizeEvent
,
38704 _swigc__p_wxMemoryDC
,
38706 _swigc__p_wxMenuBar
,
38707 _swigc__p_wxMenuEvent
,
38708 _swigc__p_wxMenuItem
,
38709 _swigc__p_wxMouseCaptureChangedEvent
,
38710 _swigc__p_wxMouseEvent
,
38711 _swigc__p_wxMoveEvent
,
38712 _swigc__p_wxNavigationKeyEvent
,
38713 _swigc__p_wxNcPaintEvent
,
38714 _swigc__p_wxNotebook
,
38715 _swigc__p_wxNotebookEvent
,
38716 _swigc__p_wxNotifyEvent
,
38717 _swigc__p_wxObject
,
38718 _swigc__p_wxPCXHandler
,
38719 _swigc__p_wxPNGHandler
,
38720 _swigc__p_wxPNMHandler
,
38721 _swigc__p_wxPaintEvent
,
38722 _swigc__p_wxPaletteChangedEvent
,
38723 _swigc__p_wxPaperSize
,
38726 _swigc__p_wxPyCommandEvent
,
38727 _swigc__p_wxPyControl
,
38728 _swigc__p_wxPyEvent
,
38729 _swigc__p_wxPyImageHandler
,
38730 _swigc__p_wxPyListCtrl
,
38731 _swigc__p_wxPySizer
,
38732 _swigc__p_wxPyTreeCtrl
,
38733 _swigc__p_wxPyTreeItemData
,
38734 _swigc__p_wxPyValidator
,
38735 _swigc__p_wxQueryNewPaletteEvent
,
38736 _swigc__p_wxRadioBox
,
38737 _swigc__p_wxRadioButton
,
38739 _swigc__p_wxScrollBar
,
38740 _swigc__p_wxScrollEvent
,
38741 _swigc__p_wxScrollWinEvent
,
38742 _swigc__p_wxSetCursorEvent
,
38743 _swigc__p_wxShowEvent
,
38744 _swigc__p_wxSimpleHelpProvider
,
38746 _swigc__p_wxSizeEvent
,
38748 _swigc__p_wxSizerItem
,
38749 _swigc__p_wxSlider
,
38750 _swigc__p_wxSpinButton
,
38751 _swigc__p_wxSpinCtrl
,
38752 _swigc__p_wxSpinEvent
,
38753 _swigc__p_wxStaticBitmap
,
38754 _swigc__p_wxStaticBox
,
38755 _swigc__p_wxStaticBoxSizer
,
38756 _swigc__p_wxStaticLine
,
38757 _swigc__p_wxStaticText
,
38758 _swigc__p_wxStdDialogButtonSizer
,
38759 _swigc__p_wxString
,
38760 _swigc__p_wxSysColourChangedEvent
,
38761 _swigc__p_wxTIFFHandler
,
38762 _swigc__p_wxTextAttr
,
38763 _swigc__p_wxTextCtrl
,
38764 _swigc__p_wxTextUrlEvent
,
38765 _swigc__p_wxToggleButton
,
38766 _swigc__p_wxToolBar
,
38767 _swigc__p_wxToolBarBase
,
38768 _swigc__p_wxToolBarToolBase
,
38769 _swigc__p_wxToolbook
,
38770 _swigc__p_wxToolbookEvent
,
38771 _swigc__p_wxTreeCtrl
,
38772 _swigc__p_wxTreeEvent
,
38773 _swigc__p_wxTreeItemId
,
38774 _swigc__p_wxTreebook
,
38775 _swigc__p_wxTreebookEvent
,
38776 _swigc__p_wxUpdateUIEvent
,
38777 _swigc__p_wxValidator
,
38778 _swigc__p_wxVisualAttributes
,
38779 _swigc__p_wxWindow
,
38780 _swigc__p_wxWindowCreateEvent
,
38781 _swigc__p_wxWindowDestroyEvent
,
38782 _swigc__p_wxXPMHandler
,
38784 _swigc__std__ptrdiff_t
,
38785 _swigc__unsigned_int
,
38789 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38791 static swig_const_info swig_const_table
[] = {
38792 {0, 0, 0, 0.0, 0, 0}};
38797 /*************************************************************************
38798 * Type initialization:
38799 * This problem is tough by the requirement that no dynamic
38800 * memory is used. Also, since swig_type_info structures store pointers to
38801 * swig_cast_info structures and swig_cast_info structures store pointers back
38802 * to swig_type_info structures, we need some lookup code at initialization.
38803 * The idea is that swig generates all the structures that are needed.
38804 * The runtime then collects these partially filled structures.
38805 * The SWIG_InitializeModule function takes these initial arrays out of
38806 * swig_module, and does all the lookup, filling in the swig_module.types
38807 * array with the correct data and linking the correct swig_cast_info
38808 * structures together.
38810 * The generated swig_type_info structures are assigned staticly to an initial
38811 * array. We just loop though that array, and handle each type individually.
38812 * First we lookup if this type has been already loaded, and if so, use the
38813 * loaded structure instead of the generated one. Then we have to fill in the
38814 * cast linked list. The cast data is initially stored in something like a
38815 * two-dimensional array. Each row corresponds to a type (there are the same
38816 * number of rows as there are in the swig_type_initial array). Each entry in
38817 * a column is one of the swig_cast_info structures for that type.
38818 * The cast_initial array is actually an array of arrays, because each row has
38819 * a variable number of columns. So to actually build the cast linked list,
38820 * we find the array of casts associated with the type, and loop through it
38821 * adding the casts to the list. The one last trick we need to do is making
38822 * sure the type pointer in the swig_cast_info struct is correct.
38824 * First off, we lookup the cast->type name to see if it is already loaded.
38825 * There are three cases to handle:
38826 * 1) If the cast->type has already been loaded AND the type we are adding
38827 * casting info to has not been loaded (it is in this module), THEN we
38828 * replace the cast->type pointer with the type pointer that has already
38830 * 2) If BOTH types (the one we are adding casting info to, and the
38831 * cast->type) are loaded, THEN the cast info has already been loaded by
38832 * the previous module so we just ignore it.
38833 * 3) Finally, if cast->type has not already been loaded, then we add that
38834 * swig_cast_info to the linked list (because the cast->type) pointer will
38846 #define SWIGRUNTIME_DEBUG
38850 SWIG_InitializeModule(void *clientdata
) {
38852 swig_module_info
*module_head
;
38853 static int init_run
= 0;
38855 clientdata
= clientdata
;
38857 if (init_run
) return;
38860 /* Initialize the swig_module */
38861 swig_module
.type_initial
= swig_type_initial
;
38862 swig_module
.cast_initial
= swig_cast_initial
;
38864 /* Try and load any already created modules */
38865 module_head
= SWIG_GetModule(clientdata
);
38867 swig_module
.next
= module_head
->next
;
38868 module_head
->next
= &swig_module
;
38870 /* This is the first module loaded */
38871 swig_module
.next
= &swig_module
;
38872 SWIG_SetModule(clientdata
, &swig_module
);
38875 /* Now work on filling in swig_module.types */
38876 #ifdef SWIGRUNTIME_DEBUG
38877 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38879 for (i
= 0; i
< swig_module
.size
; ++i
) {
38880 swig_type_info
*type
= 0;
38881 swig_type_info
*ret
;
38882 swig_cast_info
*cast
;
38884 #ifdef SWIGRUNTIME_DEBUG
38885 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38888 /* if there is another module already loaded */
38889 if (swig_module
.next
!= &swig_module
) {
38890 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38893 /* Overwrite clientdata field */
38894 #ifdef SWIGRUNTIME_DEBUG
38895 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38897 if (swig_module
.type_initial
[i
]->clientdata
) {
38898 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38899 #ifdef SWIGRUNTIME_DEBUG
38900 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38904 type
= swig_module
.type_initial
[i
];
38907 /* Insert casting types */
38908 cast
= swig_module
.cast_initial
[i
];
38909 while (cast
->type
) {
38910 /* Don't need to add information already in the list */
38912 #ifdef SWIGRUNTIME_DEBUG
38913 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38915 if (swig_module
.next
!= &swig_module
) {
38916 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38917 #ifdef SWIGRUNTIME_DEBUG
38918 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38922 if (type
== swig_module
.type_initial
[i
]) {
38923 #ifdef SWIGRUNTIME_DEBUG
38924 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38929 /* Check for casting already in the list */
38930 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38931 #ifdef SWIGRUNTIME_DEBUG
38932 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38934 if (!ocast
) ret
= 0;
38939 #ifdef SWIGRUNTIME_DEBUG
38940 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38943 type
->cast
->prev
= cast
;
38944 cast
->next
= type
->cast
;
38950 /* Set entry in modules->types array equal to the type */
38951 swig_module
.types
[i
] = type
;
38953 swig_module
.types
[i
] = 0;
38955 #ifdef SWIGRUNTIME_DEBUG
38956 printf("**** SWIG_InitializeModule: Cast List ******\n");
38957 for (i
= 0; i
< swig_module
.size
; ++i
) {
38959 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38960 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38961 while (cast
->type
) {
38962 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38966 printf("---- Total casts: %d\n",j
);
38968 printf("**** SWIG_InitializeModule: Cast List ******\n");
38972 /* This function will propagate the clientdata field of type to
38973 * any new swig_type_info structures that have been added into the list
38974 * of equivalent types. It is like calling
38975 * SWIG_TypeClientData(type, clientdata) a second time.
38978 SWIG_PropagateClientData(void) {
38980 swig_cast_info
*equiv
;
38981 static int init_run
= 0;
38983 if (init_run
) return;
38986 for (i
= 0; i
< swig_module
.size
; i
++) {
38987 if (swig_module
.types
[i
]->clientdata
) {
38988 equiv
= swig_module
.types
[i
]->cast
;
38990 if (!equiv
->converter
) {
38991 if (equiv
->type
&& !equiv
->type
->clientdata
)
38992 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38994 equiv
= equiv
->next
;
39014 /* Python-specific SWIG API */
39015 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39016 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39017 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39019 /* -----------------------------------------------------------------------------
39020 * global variable support code.
39021 * ----------------------------------------------------------------------------- */
39023 typedef struct swig_globalvar
{
39024 char *name
; /* Name of global variable */
39025 PyObject
*(*get_attr
)(void); /* Return the current value */
39026 int (*set_attr
)(PyObject
*); /* Set the value */
39027 struct swig_globalvar
*next
;
39030 typedef struct swig_varlinkobject
{
39032 swig_globalvar
*vars
;
39033 } swig_varlinkobject
;
39035 SWIGINTERN PyObject
*
39036 swig_varlink_repr(swig_varlinkobject
*v
) {
39038 return PyString_FromString("<Swig global variables>");
39042 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
39043 swig_globalvar
*var
;
39045 fprintf(fp
,"Swig global variables { ");
39046 for (var
= v
->vars
; var
; var
=var
->next
) {
39047 fprintf(fp
,"%s", var
->name
);
39048 if (var
->next
) fprintf(fp
,", ");
39050 fprintf(fp
," }\n");
39054 SWIGINTERN PyObject
*
39055 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39056 swig_globalvar
*var
= v
->vars
;
39058 if (strcmp(var
->name
,n
) == 0) {
39059 return (*var
->get_attr
)();
39063 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39068 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39069 swig_globalvar
*var
= v
->vars
;
39071 if (strcmp(var
->name
,n
) == 0) {
39072 return (*var
->set_attr
)(p
);
39076 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39080 SWIGINTERN PyTypeObject
*
39081 swig_varlink_type(void) {
39082 static char varlink__doc__
[] = "Swig var link object";
39083 static PyTypeObject varlink_type
39084 #if !defined(__cplusplus)
39086 static int type_init
= 0;
39091 PyObject_HEAD_INIT(&PyType_Type
)
39092 0, /* Number of items in variable part (ob_size) */
39093 (char *)"swigvarlink", /* Type name (tp_name) */
39094 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39095 0, /* Itemsize (tp_itemsize) */
39096 0, /* Deallocator (tp_dealloc) */
39097 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39098 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39099 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39100 0, /* tp_compare */
39101 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39102 0, /* tp_as_number */
39103 0, /* tp_as_sequence */
39104 0, /* tp_as_mapping */
39108 0, /* tp_getattro */
39109 0, /* tp_setattro */
39110 0, /* tp_as_buffer */
39112 varlink__doc__
, /* tp_doc */
39113 #if PY_VERSION_HEX >= 0x02000000
39114 0, /* tp_traverse */
39117 #if PY_VERSION_HEX >= 0x02010000
39118 0, /* tp_richcompare */
39119 0, /* tp_weaklistoffset */
39121 #if PY_VERSION_HEX >= 0x02020000
39122 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39124 #if PY_VERSION_HEX >= 0x02030000
39127 #ifdef COUNT_ALLOCS
39128 0,0,0,0 /* tp_alloc -> tp_next */
39131 #if !defined(__cplusplus)
39132 varlink_type
= tmp
;
39136 return &varlink_type
;
39139 /* Create a variable linking object for use later */
39140 SWIGINTERN PyObject
*
39141 SWIG_Python_newvarlink(void) {
39142 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39146 return ((PyObject
*) result
);
39150 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39151 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39152 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39154 size_t size
= strlen(name
)+1;
39155 gv
->name
= (char *)malloc(size
);
39157 strncpy(gv
->name
,name
,size
);
39158 gv
->get_attr
= get_attr
;
39159 gv
->set_attr
= set_attr
;
39160 gv
->next
= v
->vars
;
39166 /* -----------------------------------------------------------------------------
39167 * constants/methods manipulation
39168 * ----------------------------------------------------------------------------- */
39170 /* Install Constants */
39172 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39175 for (i
= 0; constants
[i
].type
; ++i
) {
39176 switch(constants
[i
].type
) {
39178 obj
= PyInt_FromLong(constants
[i
].lvalue
);
39180 case SWIG_PY_FLOAT
:
39181 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
39183 case SWIG_PY_STRING
:
39184 if (constants
[i
].pvalue
) {
39185 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
39187 Py_INCREF(Py_None
);
39191 case SWIG_PY_POINTER
:
39192 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39194 case SWIG_PY_BINARY
:
39195 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39202 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
39208 /* -----------------------------------------------------------------------------*/
39209 /* Fix SwigMethods to carry the callback ptrs when needed */
39210 /* -----------------------------------------------------------------------------*/
39213 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39214 swig_const_info
*const_table
,
39215 swig_type_info
**types
,
39216 swig_type_info
**types_initial
) {
39218 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39219 char *c
= methods
[i
].ml_doc
;
39220 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39222 swig_const_info
*ci
= 0;
39223 char *name
= c
+ 10;
39224 for (j
= 0; const_table
[j
].type
; ++j
) {
39225 if (strncmp(const_table
[j
].name
, name
,
39226 strlen(const_table
[j
].name
)) == 0) {
39227 ci
= &(const_table
[j
]);
39232 size_t shift
= (ci
->ptype
) - types
;
39233 swig_type_info
*ty
= types_initial
[shift
];
39234 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39235 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39236 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39239 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39241 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39243 strncpy(buff
, "swig_ptr: ", 10);
39245 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39246 methods
[i
].ml_doc
= ndoc
;
39254 /* -----------------------------------------------------------------------------*
39255 * Initialize type list
39256 * -----------------------------------------------------------------------------*/
39262 /* -----------------------------------------------------------------------------*
39263 * Partial Init method
39264 * -----------------------------------------------------------------------------*/
39269 SWIGEXPORT
void SWIG_init(void) {
39270 static PyObject
*SWIG_globals
= 0;
39272 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
39274 /* Fix SwigMethods to carry the callback ptrs when needed */
39275 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39277 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39278 d
= PyModule_GetDict(m
);
39280 SWIG_InitializeModule(0);
39281 SWIG_InstallConstants(d
,swig_const_table
);
39283 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
39284 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
39286 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
39289 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
39292 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
39295 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
39298 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
39301 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
39304 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
39306 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
39308 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
39311 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
39314 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
39317 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
39320 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
39323 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
39325 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
39326 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
39327 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
39329 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
39332 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
39335 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
39338 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
39340 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
39341 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
39342 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
39343 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
39344 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
39346 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
39349 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
39352 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
39355 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
39358 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
39361 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
39364 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
39367 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
39370 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
39373 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
39376 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
39379 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
39382 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
39385 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
39388 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
39391 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
39394 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
39397 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
39400 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
39403 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
39406 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
39409 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
39412 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
39415 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
39418 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
39421 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
39424 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
39427 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
39430 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
39433 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
39436 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
39439 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
39442 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
39445 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
39448 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
39451 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
39454 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
39457 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
39460 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
39463 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
39466 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
39469 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
39472 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
39475 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
39478 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
39481 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
39483 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
39484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
39485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
39486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
39487 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
39488 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
39489 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
39491 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
39494 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
39497 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
39500 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
39502 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
39503 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
39504 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
39505 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
39507 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
39510 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
39513 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
39516 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
39519 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
39522 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
39525 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
39528 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
39531 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
39534 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
39537 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
39540 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
39542 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
39543 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
39544 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
39546 PyDict_SetItemString(d
,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT
)));
39549 PyDict_SetItemString(d
,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP
)));
39552 PyDict_SetItemString(d
,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM
)));
39555 PyDict_SetItemString(d
,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT
)));
39558 PyDict_SetItemString(d
,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT
)));
39561 PyDict_SetItemString(d
,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK
)));
39564 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
39567 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
39570 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
39573 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
39576 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
39579 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
39582 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
39585 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
39588 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
39591 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
39594 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
39596 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
39597 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
39599 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
39602 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
39605 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
39608 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
39611 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
39614 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
39616 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
39617 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
39619 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
39622 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
39625 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
39628 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
39631 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
39634 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
39636 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
39637 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
39638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
39639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
39640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
39641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
39642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
39643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
39645 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
39648 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
39651 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
39654 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
39657 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
39660 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
39663 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
39666 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
39669 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
39672 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
39675 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
39678 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
39681 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
39684 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
39686 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
39688 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
39691 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
39694 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
39697 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
39700 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
39703 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
39706 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
39709 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
39712 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
39715 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
39718 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
39721 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
39724 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
39727 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
39730 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
39733 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
39736 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
39739 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
39742 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
39745 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
39748 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
39751 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
39754 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
39757 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
39760 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
39763 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
39766 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
39769 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
39772 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
39775 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
39778 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
39781 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
39784 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
39787 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
39790 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
39793 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
39796 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
39799 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
39802 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
39805 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
39808 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
39811 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
39814 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
39817 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
39820 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
39823 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
39826 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
39829 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
39832 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
39835 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
39838 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
39841 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
39844 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
39847 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
39850 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
39853 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
39856 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
39859 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
39862 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
39865 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
39868 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
39871 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
39874 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
39877 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
39880 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
39883 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
39886 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
39889 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
39891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
39892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
39893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
39894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
39895 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
39896 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
39897 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
39898 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
39899 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
39900 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
39901 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
39902 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
39903 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
39904 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
39905 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
39906 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
39907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
39908 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
39909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
39910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
39912 // Map renamed classes back to their common name for OOR
39913 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
39915 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
39917 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
39920 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
39923 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
39926 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
39929 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
39932 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
39935 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
39938 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
39941 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
39944 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
39947 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
39950 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
39953 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
39956 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
39959 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
39962 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
39965 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
39968 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
39971 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
39974 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
39977 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
39980 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
39983 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
39986 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
39989 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
39992 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
39995 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
39998 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
40001 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
40004 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
40007 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
40010 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
40013 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
40016 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
40019 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
40021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
40022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
40023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
40024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
40025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
40026 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
40027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
40028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
40029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
40030 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
40031 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
40032 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
40033 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
40034 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
40035 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
40036 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
40037 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
40038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
40039 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
40040 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
40041 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
40043 // Map renamed classes back to their common name for OOR
40044 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40045 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40047 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
40049 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
40052 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
40055 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
40058 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
40061 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
40064 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
40067 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
40069 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
40070 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
40072 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40074 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
40076 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
40079 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
40082 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
40085 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
40088 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));