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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1794 #define SWIG_From_long PyInt_FromLong
1798 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1804 } else if (result
== Py_None
) {
1808 if (!PyTuple_Check(result
)) {
1810 result
= PyTuple_New(1);
1811 PyTuple_SET_ITEM(result
, 0, o2
);
1813 o3
= PyTuple_New(1);
1814 PyTuple_SetItem(o3
, 0, obj
);
1816 result
= PySequence_Concat(o2
, o3
);
1824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1829 #include <wx/checklst.h>
1832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1833 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1835 wxPyClientData
* data
= new wxPyClientData(clientData
);
1836 self
->Insert(item
, pos
, data
);
1838 self
->Insert(item
, pos
);
1840 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1842 self
->GetSelections(lst
);
1843 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1844 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1845 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1849 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1851 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1852 self
->GetItem(item
)->SetTextColour(c
);
1855 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1857 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1858 self
->GetItem(item
)->SetBackgroundColour(c
);
1861 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1863 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1864 self
->GetItem(item
)->SetFont(f
);
1867 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1951 #define SWIG_From_unsigned_SS_int SWIG_From_long
1954 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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
){
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_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
= NULL
;
4979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4980 long *arg2
= (long *) 0 ;
4981 long *arg3
= (long *) 0 ;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4992 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->GetSelection(arg2
,arg3
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5005 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
5006 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5007 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
5014 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= NULL
;
5016 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5020 (char *) "self", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
5024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= SWIG_From_int(static_cast<int >(result
));
5042 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= NULL
;
5044 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5045 wxString
*arg2
= 0 ;
5047 bool temp2
= false ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5051 (char *) "self",(char *) "string", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail
;
5058 arg2
= wxString_in_helper(obj1
);
5059 if (arg2
== NULL
) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5086 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
= NULL
;
5088 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5090 wxString
*arg3
= 0 ;
5091 bool temp3
= false ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5094 PyObject
* obj2
= 0 ;
5096 (char *) "self",(char *) "n",(char *) "string", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5104 if (SWIG_arg_fail(2)) SWIG_fail
;
5107 arg3
= wxString_in_helper(obj2
);
5108 if (arg3
== NULL
) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
= NULL
;
5135 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "editable", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5145 if (SWIG_arg_fail(1)) SWIG_fail
;
5147 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5148 if (SWIG_arg_fail(2)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 (arg1
)->SetEditable(arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
= NULL
;
5166 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "self", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetInsertionPointEnd();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= NULL
;
5191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5195 PyObject
* obj1
= 0 ;
5196 PyObject
* obj2
= 0 ;
5198 (char *) "self",(char *) "from",(char *) "to", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5205 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5206 if (SWIG_arg_fail(2)) SWIG_fail
;
5209 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5210 if (SWIG_arg_fail(3)) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 (arg1
)->Remove(arg2
,arg3
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 Py_INCREF(Py_None
); resultobj
= Py_None
;
5226 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
= NULL
;
5228 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5254 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
= NULL
;
5256 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= NULL
;
5281 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5284 (char *) "self", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5289 if (SWIG_arg_fail(1)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= NULL
;
5306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5314 if (SWIG_arg_fail(1)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 (arg1
)->SelectAll();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5329 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
= NULL
;
5331 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "self", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5357 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
= NULL
;
5359 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "self", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5385 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= NULL
;
5387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5413 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= NULL
;
5415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5419 (char *) "self", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= NULL
;
5443 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5447 (char *) "self", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5469 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
= NULL
;
5471 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5472 wxVisualAttributes result
;
5473 PyObject
* obj0
= 0 ;
5475 (char *) "variant", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5481 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5482 if (SWIG_arg_fail(1)) SWIG_fail
;
5486 if (!wxPyCheckForApp()) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 wxVisualAttributes
* resultptr
;
5495 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5504 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5507 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5509 return Py_BuildValue((char *)"");
5511 static int _wrap_GaugeNameStr_set(PyObject
*) {
5512 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5517 static PyObject
*_wrap_GaugeNameStr_get(void) {
5518 PyObject
*pyobj
= NULL
;
5522 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5524 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5531 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
= NULL
;
5533 wxWindow
*arg1
= (wxWindow
*) 0 ;
5534 int arg2
= (int) -1 ;
5535 int arg3
= (int) 100 ;
5536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5540 long arg6
= (long) wxGA_HORIZONTAL
;
5541 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5542 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5543 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5544 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5548 bool temp8
= false ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5552 PyObject
* obj3
= 0 ;
5553 PyObject
* obj4
= 0 ;
5554 PyObject
* obj5
= 0 ;
5555 PyObject
* obj6
= 0 ;
5556 PyObject
* obj7
= 0 ;
5558 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail
;
5566 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5567 if (SWIG_arg_fail(2)) SWIG_fail
;
5572 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5573 if (SWIG_arg_fail(3)) SWIG_fail
;
5579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5590 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5591 if (SWIG_arg_fail(6)) SWIG_fail
;
5596 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5597 if (SWIG_arg_fail(7)) SWIG_fail
;
5599 SWIG_null_ref("wxValidator");
5601 if (SWIG_arg_fail(7)) SWIG_fail
;
5606 arg8
= wxString_in_helper(obj7
);
5607 if (arg8
== NULL
) SWIG_fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5634 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
= NULL
;
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxGauge
*)new wxGauge();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5657 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= NULL
;
5659 wxGauge
*arg1
= (wxGauge
*) 0 ;
5660 wxWindow
*arg2
= (wxWindow
*) 0 ;
5661 int arg3
= (int) -1 ;
5662 int arg4
= (int) 100 ;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 long arg7
= (long) wxGA_HORIZONTAL
;
5668 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5669 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5670 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5671 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5675 bool temp9
= false ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5679 PyObject
* obj3
= 0 ;
5680 PyObject
* obj4
= 0 ;
5681 PyObject
* obj5
= 0 ;
5682 PyObject
* obj6
= 0 ;
5683 PyObject
* obj7
= 0 ;
5684 PyObject
* obj8
= 0 ;
5686 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail
;
5692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(2)) SWIG_fail
;
5696 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5697 if (SWIG_arg_fail(3)) SWIG_fail
;
5702 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5703 if (SWIG_arg_fail(4)) SWIG_fail
;
5709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5720 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5721 if (SWIG_arg_fail(7)) SWIG_fail
;
5726 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(8)) SWIG_fail
;
5729 SWIG_null_ref("wxValidator");
5731 if (SWIG_arg_fail(8)) SWIG_fail
;
5736 arg9
= wxString_in_helper(obj8
);
5737 if (arg9
== NULL
) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
= NULL
;
5767 wxGauge
*arg1
= (wxGauge
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "range", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail
;
5779 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5780 if (SWIG_arg_fail(2)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetRange(arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
= NULL
;
5798 wxGauge
*arg1
= (wxGauge
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_From_int(static_cast<int >(result
));
5824 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= NULL
;
5826 wxGauge
*arg1
= (wxGauge
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "pos", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5839 if (SWIG_arg_fail(2)) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->SetValue(arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= NULL
;
5857 wxGauge
*arg1
= (wxGauge
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_From_int(static_cast<int >(result
));
5883 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
= NULL
;
5885 wxGauge
*arg1
= (wxGauge
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5911 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= NULL
;
5913 wxGauge
*arg1
= (wxGauge
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5918 (char *) "self",(char *) "w", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5923 if (SWIG_arg_fail(1)) SWIG_fail
;
5925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5926 if (SWIG_arg_fail(2)) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 (arg1
)->SetShadowWidth(arg2
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
= NULL
;
5944 wxGauge
*arg1
= (wxGauge
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5948 (char *) "self", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_From_int(static_cast<int >(result
));
5970 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
= NULL
;
5972 wxGauge
*arg1
= (wxGauge
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5977 (char *) "self",(char *) "w", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5982 if (SWIG_arg_fail(1)) SWIG_fail
;
5984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5985 if (SWIG_arg_fail(2)) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 (arg1
)->SetBezelFace(arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
= NULL
;
6003 wxGauge
*arg1
= (wxGauge
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6007 (char *) "self", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
6011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6012 if (SWIG_arg_fail(1)) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_From_int(static_cast<int >(result
));
6029 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
= NULL
;
6031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6032 wxVisualAttributes result
;
6033 PyObject
* obj0
= 0 ;
6035 (char *) "variant", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6041 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6042 if (SWIG_arg_fail(1)) SWIG_fail
;
6046 if (!wxPyCheckForApp()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 wxVisualAttributes
* resultptr
;
6055 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6064 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6067 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6069 return Py_BuildValue((char *)"");
6071 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6072 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6077 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6078 PyObject
*pyobj
= NULL
;
6082 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6084 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6091 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6092 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6097 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6098 PyObject
*pyobj
= NULL
;
6102 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6104 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6111 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6112 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6117 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6118 PyObject
*pyobj
= NULL
;
6122 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6124 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6131 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= NULL
;
6133 wxWindow
*arg1
= (wxWindow
*) 0 ;
6134 int arg2
= (int) -1 ;
6135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6141 long arg6
= (long) 0 ;
6142 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6143 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6144 wxStaticBox
*result
;
6145 bool temp3
= false ;
6148 bool temp7
= false ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 PyObject
* obj3
= 0 ;
6153 PyObject
* obj4
= 0 ;
6154 PyObject
* obj5
= 0 ;
6155 PyObject
* obj6
= 0 ;
6157 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail
;
6165 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6166 if (SWIG_arg_fail(2)) SWIG_fail
;
6171 arg3
= wxString_in_helper(obj2
);
6172 if (arg3
== NULL
) SWIG_fail
;
6179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6190 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6191 if (SWIG_arg_fail(6)) SWIG_fail
;
6196 arg7
= wxString_in_helper(obj6
);
6197 if (arg7
== NULL
) SWIG_fail
;
6202 if (!wxPyCheckForApp()) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6232 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= NULL
;
6234 wxStaticBox
*result
;
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxStaticBox
*)new wxStaticBox();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6255 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= NULL
;
6257 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6258 wxWindow
*arg2
= (wxWindow
*) 0 ;
6259 int arg3
= (int) -1 ;
6260 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6261 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6262 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6263 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6264 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6265 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6266 long arg7
= (long) 0 ;
6267 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6268 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6270 bool temp4
= false ;
6273 bool temp8
= false ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6276 PyObject
* obj2
= 0 ;
6277 PyObject
* obj3
= 0 ;
6278 PyObject
* obj4
= 0 ;
6279 PyObject
* obj5
= 0 ;
6280 PyObject
* obj6
= 0 ;
6281 PyObject
* obj7
= 0 ;
6283 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail
;
6289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(2)) SWIG_fail
;
6293 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6294 if (SWIG_arg_fail(3)) SWIG_fail
;
6299 arg4
= wxString_in_helper(obj3
);
6300 if (arg4
== NULL
) SWIG_fail
;
6307 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6313 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6318 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6319 if (SWIG_arg_fail(7)) SWIG_fail
;
6324 arg8
= wxString_in_helper(obj7
);
6325 if (arg8
== NULL
) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
= NULL
;
6363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6364 wxVisualAttributes result
;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "variant", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6373 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6378 if (!wxPyCheckForApp()) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6386 wxVisualAttributes
* resultptr
;
6387 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6396 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6401 return Py_BuildValue((char *)"");
6403 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
= NULL
;
6405 wxWindow
*arg1
= (wxWindow
*) 0 ;
6406 int arg2
= (int) -1 ;
6407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6411 long arg5
= (long) wxLI_HORIZONTAL
;
6412 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6414 wxStaticLine
*result
;
6417 bool temp6
= false ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6421 PyObject
* obj3
= 0 ;
6422 PyObject
* obj4
= 0 ;
6423 PyObject
* obj5
= 0 ;
6425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail
;
6433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6434 if (SWIG_arg_fail(2)) SWIG_fail
;
6440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6446 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6451 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6452 if (SWIG_arg_fail(5)) SWIG_fail
;
6457 arg6
= wxString_in_helper(obj5
);
6458 if (arg6
== NULL
) SWIG_fail
;
6463 if (!wxPyCheckForApp()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6485 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
= NULL
;
6487 wxStaticLine
*result
;
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6494 if (!wxPyCheckForApp()) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (wxStaticLine
*)new wxStaticLine();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6508 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
= NULL
;
6510 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6511 wxWindow
*arg2
= (wxWindow
*) 0 ;
6512 int arg3
= (int) -1 ;
6513 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6514 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6515 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6516 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6517 long arg6
= (long) wxLI_HORIZONTAL
;
6518 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6523 bool temp7
= false ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 PyObject
* obj2
= 0 ;
6527 PyObject
* obj3
= 0 ;
6528 PyObject
* obj4
= 0 ;
6529 PyObject
* obj5
= 0 ;
6530 PyObject
* obj6
= 0 ;
6532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(2)) SWIG_fail
;
6542 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6543 if (SWIG_arg_fail(3)) SWIG_fail
;
6549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6560 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6561 if (SWIG_arg_fail(6)) SWIG_fail
;
6566 arg7
= wxString_in_helper(obj6
);
6567 if (arg7
== NULL
) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
= NULL
;
6597 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6623 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= NULL
;
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (int)wxStaticLine::GetDefaultSize();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_From_int(static_cast<int >(result
));
6647 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
= NULL
;
6649 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6650 wxVisualAttributes result
;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "variant", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6659 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 if (!wxPyCheckForApp()) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 wxVisualAttributes
* resultptr
;
6673 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6682 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6685 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6687 return Py_BuildValue((char *)"");
6689 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
= NULL
;
6691 wxWindow
*arg1
= (wxWindow
*) 0 ;
6692 int arg2
= (int) -1 ;
6693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6699 long arg6
= (long) 0 ;
6700 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6702 wxStaticText
*result
;
6703 bool temp3
= false ;
6706 bool temp7
= false ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6709 PyObject
* obj2
= 0 ;
6710 PyObject
* obj3
= 0 ;
6711 PyObject
* obj4
= 0 ;
6712 PyObject
* obj5
= 0 ;
6713 PyObject
* obj6
= 0 ;
6715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6729 arg3
= wxString_in_helper(obj2
);
6730 if (arg3
== NULL
) SWIG_fail
;
6737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6748 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6749 if (SWIG_arg_fail(6)) SWIG_fail
;
6754 arg7
= wxString_in_helper(obj6
);
6755 if (arg7
== NULL
) SWIG_fail
;
6760 if (!wxPyCheckForApp()) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6790 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
= NULL
;
6792 wxStaticText
*result
;
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6799 if (!wxPyCheckForApp()) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (wxStaticText
*)new wxStaticText();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6813 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= NULL
;
6815 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6816 wxWindow
*arg2
= (wxWindow
*) 0 ;
6817 int arg3
= (int) -1 ;
6818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6824 long arg7
= (long) 0 ;
6825 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6828 bool temp4
= false ;
6831 bool temp8
= false ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 PyObject
* obj2
= 0 ;
6835 PyObject
* obj3
= 0 ;
6836 PyObject
* obj4
= 0 ;
6837 PyObject
* obj5
= 0 ;
6838 PyObject
* obj6
= 0 ;
6839 PyObject
* obj7
= 0 ;
6841 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail
;
6847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6848 if (SWIG_arg_fail(2)) SWIG_fail
;
6851 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6852 if (SWIG_arg_fail(3)) SWIG_fail
;
6857 arg4
= wxString_in_helper(obj3
);
6858 if (arg4
== NULL
) SWIG_fail
;
6865 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6876 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6877 if (SWIG_arg_fail(7)) SWIG_fail
;
6882 arg8
= wxString_in_helper(obj7
);
6883 if (arg8
== NULL
) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6919 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= NULL
;
6921 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "width", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6933 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6934 if (SWIG_arg_fail(2)) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
= NULL
;
6952 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6953 wxVisualAttributes result
;
6954 PyObject
* obj0
= 0 ;
6956 (char *) "variant", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6962 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6963 if (SWIG_arg_fail(1)) SWIG_fail
;
6967 if (!wxPyCheckForApp()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 wxVisualAttributes
* resultptr
;
6976 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6985 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6990 return Py_BuildValue((char *)"");
6992 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= NULL
;
6994 wxWindow
*arg1
= (wxWindow
*) 0 ;
6995 int arg2
= (int) -1 ;
6996 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6997 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7002 long arg6
= (long) 0 ;
7003 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
7004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7005 wxStaticBitmap
*result
;
7008 bool temp7
= false ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7012 PyObject
* obj3
= 0 ;
7013 PyObject
* obj4
= 0 ;
7014 PyObject
* obj5
= 0 ;
7015 PyObject
* obj6
= 0 ;
7017 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail
;
7025 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7026 if (SWIG_arg_fail(2)) SWIG_fail
;
7031 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7032 if (SWIG_arg_fail(3)) SWIG_fail
;
7034 SWIG_null_ref("wxBitmap");
7036 if (SWIG_arg_fail(3)) SWIG_fail
;
7042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7053 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7054 if (SWIG_arg_fail(6)) SWIG_fail
;
7059 arg7
= wxString_in_helper(obj6
);
7060 if (arg7
== NULL
) SWIG_fail
;
7065 if (!wxPyCheckForApp()) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7087 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
= NULL
;
7089 wxStaticBitmap
*result
;
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7096 if (!wxPyCheckForApp()) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7110 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
= NULL
;
7112 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7113 wxWindow
*arg2
= (wxWindow
*) 0 ;
7114 int arg3
= (int) -1 ;
7115 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7116 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7117 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7118 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7119 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7120 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7121 long arg7
= (long) 0 ;
7122 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7123 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7127 bool temp8
= false ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7131 PyObject
* obj3
= 0 ;
7132 PyObject
* obj4
= 0 ;
7133 PyObject
* obj5
= 0 ;
7134 PyObject
* obj6
= 0 ;
7135 PyObject
* obj7
= 0 ;
7137 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail
;
7143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7144 if (SWIG_arg_fail(2)) SWIG_fail
;
7147 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7148 if (SWIG_arg_fail(3)) SWIG_fail
;
7153 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(4)) SWIG_fail
;
7156 SWIG_null_ref("wxBitmap");
7158 if (SWIG_arg_fail(4)) SWIG_fail
;
7164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7175 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7176 if (SWIG_arg_fail(7)) SWIG_fail
;
7181 arg8
= wxString_in_helper(obj7
);
7182 if (arg8
== NULL
) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7210 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= NULL
;
7212 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7216 (char *) "self", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (arg1
)->GetBitmap();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 wxBitmap
* resultptr
;
7231 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7240 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= NULL
;
7242 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7243 wxBitmap
*arg2
= 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "bitmap", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(2)) SWIG_fail
;
7257 SWIG_null_ref("wxBitmap");
7259 if (SWIG_arg_fail(2)) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 Py_INCREF(Py_None
); resultobj
= Py_None
;
7275 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= NULL
;
7277 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7282 (char *) "self",(char *) "icon", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail
;
7289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7290 if (SWIG_arg_fail(2)) SWIG_fail
;
7292 SWIG_null_ref("wxIcon");
7294 if (SWIG_arg_fail(2)) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= NULL
;
7312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7313 wxVisualAttributes result
;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "variant", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7322 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7323 if (SWIG_arg_fail(1)) SWIG_fail
;
7327 if (!wxPyCheckForApp()) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 wxVisualAttributes
* resultptr
;
7336 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7345 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7348 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7350 return Py_BuildValue((char *)"");
7352 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7353 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7358 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7359 PyObject
*pyobj
= NULL
;
7363 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7365 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7372 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
= NULL
;
7374 wxWindow
*arg1
= (wxWindow
*) 0 ;
7375 int arg2
= (int) -1 ;
7376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7380 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7381 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7382 long arg6
= (long) 0 ;
7383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7385 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7390 bool temp5
= false ;
7391 bool temp8
= false ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 PyObject
* obj2
= 0 ;
7395 PyObject
* obj3
= 0 ;
7396 PyObject
* obj4
= 0 ;
7397 PyObject
* obj5
= 0 ;
7398 PyObject
* obj6
= 0 ;
7399 PyObject
* obj7
= 0 ;
7401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7410 if (SWIG_arg_fail(2)) SWIG_fail
;
7416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7427 if (! PySequence_Check(obj4
)) {
7428 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7431 arg5
= new wxArrayString
;
7433 int i
, len
=PySequence_Length(obj4
);
7434 for (i
=0; i
<len
; i
++) {
7435 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7436 wxString
* s
= wxString_in_helper(item
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7446 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7447 if (SWIG_arg_fail(6)) SWIG_fail
;
7452 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7453 if (SWIG_arg_fail(7)) SWIG_fail
;
7455 SWIG_null_ref("wxValidator");
7457 if (SWIG_arg_fail(7)) SWIG_fail
;
7462 arg8
= wxString_in_helper(obj7
);
7463 if (arg8
== NULL
) SWIG_fail
;
7468 if (!wxPyCheckForApp()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7477 if (temp5
) delete arg5
;
7486 if (temp5
) delete arg5
;
7496 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= NULL
;
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7505 if (!wxPyCheckForApp()) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxListBox
*)new wxListBox();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7519 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
= NULL
;
7521 wxListBox
*arg1
= (wxListBox
*) 0 ;
7522 wxWindow
*arg2
= (wxWindow
*) 0 ;
7523 int arg3
= (int) -1 ;
7524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7528 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7529 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7530 long arg7
= (long) 0 ;
7531 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7532 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7533 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7534 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7538 bool temp6
= false ;
7539 bool temp9
= false ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7542 PyObject
* obj2
= 0 ;
7543 PyObject
* obj3
= 0 ;
7544 PyObject
* obj4
= 0 ;
7545 PyObject
* obj5
= 0 ;
7546 PyObject
* obj6
= 0 ;
7547 PyObject
* obj7
= 0 ;
7548 PyObject
* obj8
= 0 ;
7550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail
;
7556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7557 if (SWIG_arg_fail(2)) SWIG_fail
;
7560 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7561 if (SWIG_arg_fail(3)) SWIG_fail
;
7567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7578 if (! PySequence_Check(obj5
)) {
7579 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7582 arg6
= new wxArrayString
;
7584 int i
, len
=PySequence_Length(obj5
);
7585 for (i
=0; i
<len
; i
++) {
7586 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7587 wxString
* s
= wxString_in_helper(item
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7597 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7598 if (SWIG_arg_fail(7)) SWIG_fail
;
7603 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(8)) SWIG_fail
;
7606 SWIG_null_ref("wxValidator");
7608 if (SWIG_arg_fail(8)) SWIG_fail
;
7613 arg9
= wxString_in_helper(obj8
);
7614 if (arg9
== NULL
) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7629 if (temp6
) delete arg6
;
7638 if (temp6
) delete arg6
;
7648 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
= NULL
;
7650 wxListBox
*arg1
= (wxListBox
*) 0 ;
7651 wxString
*arg2
= 0 ;
7653 PyObject
*arg4
= (PyObject
*) NULL
;
7654 bool temp2
= false ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 PyObject
* obj2
= 0 ;
7658 PyObject
* obj3
= 0 ;
7660 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 arg2
= wxString_in_helper(obj1
);
7668 if (arg2
== NULL
) SWIG_fail
;
7672 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7673 if (SWIG_arg_fail(3)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= NULL
;
7702 wxListBox
*arg1
= (wxListBox
*) 0 ;
7703 wxArrayString
*arg2
= 0 ;
7705 bool temp2
= false ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7710 (char *) "self",(char *) "items",(char *) "pos", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 if (! PySequence_Check(obj1
)) {
7718 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7721 arg2
= new wxArrayString
;
7723 int i
, len
=PySequence_Length(obj1
);
7724 for (i
=0; i
<len
; i
++) {
7725 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7726 wxString
* s
= wxString_in_helper(item
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7734 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7735 if (SWIG_arg_fail(3)) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 if (temp2
) delete arg2
;
7751 if (temp2
) delete arg2
;
7757 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= NULL
;
7759 wxListBox
*arg1
= (wxListBox
*) 0 ;
7760 wxArrayString
*arg2
= 0 ;
7761 bool temp2
= false ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "items", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail
;
7772 if (! PySequence_Check(obj1
)) {
7773 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7776 arg2
= new wxArrayString
;
7778 int i
, len
=PySequence_Length(obj1
);
7779 for (i
=0; i
<len
; i
++) {
7780 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7781 wxString
* s
= wxString_in_helper(item
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 (arg1
)->Set((wxArrayString
const &)*arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 if (temp2
) delete arg2
;
7802 if (temp2
) delete arg2
;
7808 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
= NULL
;
7810 wxListBox
*arg1
= (wxListBox
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "self",(char *) "n", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7824 if (SWIG_arg_fail(2)) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7842 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
= NULL
;
7844 wxListBox
*arg1
= (wxListBox
*) 0 ;
7846 bool arg3
= (bool) true ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7849 PyObject
* obj2
= 0 ;
7851 (char *) "self",(char *) "n",(char *) "select", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
7863 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7864 if (SWIG_arg_fail(3)) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 (arg1
)->SetSelection(arg2
,arg3
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 Py_INCREF(Py_None
); resultobj
= Py_None
;
7881 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
= NULL
;
7883 wxListBox
*arg1
= (wxListBox
*) 0 ;
7885 PyObject
* obj0
= 0 ;
7886 PyObject
* obj1
= 0 ;
7888 (char *) "self",(char *) "n", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7896 if (SWIG_arg_fail(2)) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->Select(arg2
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
= NULL
;
7914 wxListBox
*arg1
= (wxListBox
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7919 (char *) "self",(char *) "n", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail
;
7926 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7927 if (SWIG_arg_fail(2)) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 (arg1
)->Deselect(arg2
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 Py_INCREF(Py_None
); resultobj
= Py_None
;
7943 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
= NULL
;
7945 wxListBox
*arg1
= (wxListBox
*) 0 ;
7946 int arg2
= (int) -1 ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7950 (char *) "self",(char *) "itemToLeaveSelected", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail
;
7958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7959 if (SWIG_arg_fail(2)) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->DeselectAll(arg2
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7976 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= NULL
;
7978 wxListBox
*arg1
= (wxListBox
*) 0 ;
7979 wxString
*arg2
= 0 ;
7980 bool arg3
= (bool) true ;
7982 bool temp2
= false ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "s",(char *) "select", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail
;
7994 arg2
= wxString_in_helper(obj1
);
7995 if (arg2
== NULL
) SWIG_fail
;
8000 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8001 if (SWIG_arg_fail(3)) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8028 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
= NULL
;
8030 wxListBox
*arg1
= (wxListBox
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
8038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8039 if (SWIG_arg_fail(1)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8054 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
= NULL
;
8056 wxListBox
*arg1
= (wxListBox
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8061 (char *) "self",(char *) "n", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8068 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8069 if (SWIG_arg_fail(2)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 (arg1
)->SetFirstItem(arg2
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
= NULL
;
8087 wxListBox
*arg1
= (wxListBox
*) 0 ;
8088 wxString
*arg2
= 0 ;
8089 bool temp2
= false ;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8093 (char *) "self",(char *) "s", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8098 if (SWIG_arg_fail(1)) SWIG_fail
;
8100 arg2
= wxString_in_helper(obj1
);
8101 if (arg2
== NULL
) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
= NULL
;
8128 wxListBox
*arg1
= (wxListBox
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8131 PyObject
* obj1
= 0 ;
8133 (char *) "self",(char *) "n", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail
;
8140 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8141 if (SWIG_arg_fail(2)) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 (arg1
)->EnsureVisible(arg2
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
= NULL
;
8159 wxListBox
*arg1
= (wxListBox
*) 0 ;
8160 wxString
*arg2
= 0 ;
8161 bool temp2
= false ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "s", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail
;
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
= NULL
;
8200 wxListBox
*arg1
= (wxListBox
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8226 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
= NULL
;
8228 wxListBox
*arg1
= (wxListBox
*) 0 ;
8230 wxColour
*arg3
= 0 ;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8234 PyObject
* obj2
= 0 ;
8236 (char *) "self",(char *) "item",(char *) "c", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8243 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8244 if (SWIG_arg_fail(2)) SWIG_fail
;
8248 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
= NULL
;
8266 wxListBox
*arg1
= (wxListBox
*) 0 ;
8268 wxColour
*arg3
= 0 ;
8270 PyObject
* obj0
= 0 ;
8271 PyObject
* obj1
= 0 ;
8272 PyObject
* obj2
= 0 ;
8274 (char *) "self",(char *) "item",(char *) "c", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",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
;
8286 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8302 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
= NULL
;
8304 wxListBox
*arg1
= (wxListBox
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8309 PyObject
* obj2
= 0 ;
8311 (char *) "self",(char *) "item",(char *) "f", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail
;
8318 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8319 if (SWIG_arg_fail(2)) SWIG_fail
;
8322 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8323 if (SWIG_arg_fail(3)) SWIG_fail
;
8325 SWIG_null_ref("wxFont");
8327 if (SWIG_arg_fail(3)) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8343 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= NULL
;
8345 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8346 wxVisualAttributes result
;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "variant", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8355 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8360 if (!wxPyCheckForApp()) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 wxVisualAttributes
* resultptr
;
8369 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8378 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8383 return Py_BuildValue((char *)"");
8385 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
= NULL
;
8387 wxWindow
*arg1
= (wxWindow
*) 0 ;
8388 int arg2
= (int) -1 ;
8389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8393 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8394 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8395 long arg6
= (long) 0 ;
8396 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8397 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8398 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8400 wxCheckListBox
*result
;
8403 bool temp5
= false ;
8404 bool temp8
= false ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8407 PyObject
* obj2
= 0 ;
8408 PyObject
* obj3
= 0 ;
8409 PyObject
* obj4
= 0 ;
8410 PyObject
* obj5
= 0 ;
8411 PyObject
* obj6
= 0 ;
8412 PyObject
* obj7
= 0 ;
8414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail
;
8422 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8423 if (SWIG_arg_fail(2)) SWIG_fail
;
8429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8440 if (! PySequence_Check(obj4
)) {
8441 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8444 arg5
= new wxArrayString
;
8446 int i
, len
=PySequence_Length(obj4
);
8447 for (i
=0; i
<len
; i
++) {
8448 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8449 wxString
* s
= wxString_in_helper(item
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8459 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8460 if (SWIG_arg_fail(6)) SWIG_fail
;
8465 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8466 if (SWIG_arg_fail(7)) SWIG_fail
;
8468 SWIG_null_ref("wxValidator");
8470 if (SWIG_arg_fail(7)) SWIG_fail
;
8475 arg8
= wxString_in_helper(obj7
);
8476 if (arg8
== NULL
) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8490 if (temp5
) delete arg5
;
8499 if (temp5
) delete arg5
;
8509 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
= NULL
;
8511 wxCheckListBox
*result
;
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8518 if (!wxPyCheckForApp()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (wxCheckListBox
*)new wxCheckListBox();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8532 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
= NULL
;
8534 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8535 wxWindow
*arg2
= (wxWindow
*) 0 ;
8536 int arg3
= (int) -1 ;
8537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8541 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8542 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8543 long arg7
= (long) 0 ;
8544 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8545 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8546 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8547 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8551 bool temp6
= false ;
8552 bool temp9
= false ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8555 PyObject
* obj2
= 0 ;
8556 PyObject
* obj3
= 0 ;
8557 PyObject
* obj4
= 0 ;
8558 PyObject
* obj5
= 0 ;
8559 PyObject
* obj6
= 0 ;
8560 PyObject
* obj7
= 0 ;
8561 PyObject
* obj8
= 0 ;
8563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail
;
8569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8570 if (SWIG_arg_fail(2)) SWIG_fail
;
8573 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8574 if (SWIG_arg_fail(3)) SWIG_fail
;
8580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8591 if (! PySequence_Check(obj5
)) {
8592 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8595 arg6
= new wxArrayString
;
8597 int i
, len
=PySequence_Length(obj5
);
8598 for (i
=0; i
<len
; i
++) {
8599 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8600 wxString
* s
= wxString_in_helper(item
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8610 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8611 if (SWIG_arg_fail(7)) SWIG_fail
;
8616 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8617 if (SWIG_arg_fail(8)) SWIG_fail
;
8619 SWIG_null_ref("wxValidator");
8621 if (SWIG_arg_fail(8)) SWIG_fail
;
8626 arg9
= wxString_in_helper(obj8
);
8627 if (arg9
== NULL
) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8642 if (temp6
) delete arg6
;
8651 if (temp6
) delete arg6
;
8661 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
= NULL
;
8663 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8669 (char *) "self",(char *) "index", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail
;
8676 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8677 if (SWIG_arg_fail(2)) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (bool)(arg1
)->IsChecked(arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8695 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= NULL
;
8697 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8699 int arg3
= (int) true ;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8702 PyObject
* obj2
= 0 ;
8704 (char *) "self",(char *) "index",(char *) "check", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8712 if (SWIG_arg_fail(2)) SWIG_fail
;
8716 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8717 if (SWIG_arg_fail(3)) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 (arg1
)->Check(arg2
,arg3
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= NULL
;
8736 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (int)(arg1
)->GetItemHeight();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_From_int(static_cast<int >(result
));
8762 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
= NULL
;
8764 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8771 (char *) "self",(char *) "pt", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_From_int(static_cast<int >(result
));
8797 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= NULL
;
8799 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "self",(char *) "x",(char *) "y", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8815 if (SWIG_arg_fail(2)) SWIG_fail
;
8818 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8819 if (SWIG_arg_fail(3)) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_From_int(static_cast<int >(result
));
8837 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8840 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8842 return Py_BuildValue((char *)"");
8844 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8845 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8850 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8851 PyObject
*pyobj
= NULL
;
8855 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8857 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8864 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= NULL
;
8866 wxColour
const &arg1_defvalue
= wxNullColour
;
8867 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8868 wxColour
const &arg2_defvalue
= wxNullColour
;
8869 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8870 wxFont
const &arg3_defvalue
= wxNullFont
;
8871 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8872 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 PyObject
* obj2
= 0 ;
8879 PyObject
* obj3
= 0 ;
8881 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8888 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8899 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(3)) SWIG_fail
;
8902 SWIG_null_ref("wxFont");
8904 if (SWIG_arg_fail(3)) SWIG_fail
;
8909 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8910 if (SWIG_arg_fail(4)) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8927 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
= NULL
;
8929 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8930 PyObject
* obj0
= 0 ;
8932 (char *) "self", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8937 if (SWIG_arg_fail(1)) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
= NULL
;
8954 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
= NULL
;
8979 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8980 wxColour
*arg2
= 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8985 (char *) "self",(char *) "colText", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
= NULL
;
9011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9012 wxColour
*arg2
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "self",(char *) "colBack", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= NULL
;
9043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9045 long arg3
= (long) wxTEXT_ATTR_FONT
;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "font",(char *) "flags", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail
;
9057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(2)) SWIG_fail
;
9060 SWIG_null_ref("wxFont");
9062 if (SWIG_arg_fail(2)) SWIG_fail
;
9066 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9067 if (SWIG_arg_fail(3)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
= NULL
;
9086 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9087 wxTextAttrAlignment arg2
;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "alignment", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9098 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9099 if (SWIG_arg_fail(2)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->SetAlignment(arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= NULL
;
9117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9118 wxArrayInt
*arg2
= 0 ;
9119 bool temp2
= false ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9123 (char *) "self",(char *) "tabs", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 if (! PySequence_Check(obj1
)) {
9131 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9134 arg2
= new wxArrayInt
;
9136 int i
, len
=PySequence_Length(obj1
);
9137 for (i
=0; i
<len
; i
++) {
9138 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9139 PyObject
* number
= PyNumber_Int(item
);
9140 arg2
->Add(PyInt_AS_LONG(number
));
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 if (temp2
) delete arg2
;
9159 if (temp2
) delete arg2
;
9165 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= NULL
;
9167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9169 int arg3
= (int) 0 ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9182 if (SWIG_arg_fail(2)) SWIG_fail
;
9186 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9187 if (SWIG_arg_fail(3)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->SetLeftIndent(arg2
,arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9204 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= NULL
;
9206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9211 (char *) "self",(char *) "indent", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9218 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9219 if (SWIG_arg_fail(2)) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 (arg1
)->SetRightIndent(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 Py_INCREF(Py_None
); resultobj
= Py_None
;
9235 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= NULL
;
9237 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9242 (char *) "self",(char *) "flags", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9247 if (SWIG_arg_fail(1)) SWIG_fail
;
9249 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9250 if (SWIG_arg_fail(2)) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->SetFlags(arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= NULL
;
9268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
= NULL
;
9296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= NULL
;
9324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9350 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
= NULL
;
9352 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
= NULL
;
9380 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9389 if (SWIG_arg_fail(1)) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
= NULL
;
9408 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9412 (char *) "self", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= NULL
;
9436 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9462 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
= NULL
;
9464 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9470 (char *) "self",(char *) "flag", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9478 if (SWIG_arg_fail(2)) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9496 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
= NULL
;
9498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9512 result
= (wxColour
*) &_result_ref
;
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9525 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
= NULL
;
9527 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9541 result
= (wxColour
*) &_result_ref
;
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9554 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= NULL
;
9556 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9565 if (SWIG_arg_fail(1)) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9570 result
= (wxFont
*) &_result_ref
;
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 wxFont
* resultptr
= new wxFont(*result
);
9578 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9586 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= NULL
;
9588 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9589 wxTextAttrAlignment result
;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_From_int((result
));
9612 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
9627 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9628 result
= (wxArrayInt
*) &_result_ref
;
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= PyList_New(0);
9637 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9638 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9639 PyList_Append(resultobj
, val
);
9649 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= NULL
;
9651 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_From_long(static_cast<long >(result
));
9677 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
= NULL
;
9679 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_From_long(static_cast<long >(result
));
9705 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= NULL
;
9707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9711 (char *) "self", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_From_long(static_cast<long >(result
));
9733 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9735 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_From_long(static_cast<long >(result
));
9761 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
= NULL
;
9763 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "self", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9789 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
= NULL
;
9791 wxTextAttr
*arg1
= 0 ;
9792 wxTextAttr
*arg2
= 0 ;
9793 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 PyObject
* obj2
= 0 ;
9799 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9805 if (SWIG_arg_fail(1)) SWIG_fail
;
9807 SWIG_null_ref("wxTextAttr");
9809 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(2)) SWIG_fail
;
9815 SWIG_null_ref("wxTextAttr");
9817 if (SWIG_arg_fail(2)) SWIG_fail
;
9819 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9820 if (SWIG_arg_fail(3)) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 wxTextAttr
* resultptr
;
9830 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9839 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9842 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9844 return Py_BuildValue((char *)"");
9846 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= NULL
;
9848 wxWindow
*arg1
= (wxWindow
*) 0 ;
9849 int arg2
= (int) -1 ;
9850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9856 long arg6
= (long) 0 ;
9857 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9858 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9859 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9862 bool temp3
= false ;
9865 bool temp8
= false ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9868 PyObject
* obj2
= 0 ;
9869 PyObject
* obj3
= 0 ;
9870 PyObject
* obj4
= 0 ;
9871 PyObject
* obj5
= 0 ;
9872 PyObject
* obj6
= 0 ;
9873 PyObject
* obj7
= 0 ;
9875 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9883 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9884 if (SWIG_arg_fail(2)) SWIG_fail
;
9889 arg3
= wxString_in_helper(obj2
);
9890 if (arg3
== NULL
) SWIG_fail
;
9897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9908 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9909 if (SWIG_arg_fail(6)) SWIG_fail
;
9914 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9915 if (SWIG_arg_fail(7)) SWIG_fail
;
9917 SWIG_null_ref("wxValidator");
9919 if (SWIG_arg_fail(7)) SWIG_fail
;
9924 arg8
= wxString_in_helper(obj7
);
9925 if (arg8
== NULL
) SWIG_fail
;
9930 if (!wxPyCheckForApp()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9960 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
= NULL
;
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9969 if (!wxPyCheckForApp()) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (wxTextCtrl
*)new wxTextCtrl();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9983 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= NULL
;
9985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9986 wxWindow
*arg2
= (wxWindow
*) 0 ;
9987 int arg3
= (int) -1 ;
9988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9990 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9991 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9992 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9993 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9994 long arg7
= (long) 0 ;
9995 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9996 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9997 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9998 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10000 bool temp4
= false ;
10003 bool temp9
= false ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 PyObject
* obj2
= 0 ;
10007 PyObject
* obj3
= 0 ;
10008 PyObject
* obj4
= 0 ;
10009 PyObject
* obj5
= 0 ;
10010 PyObject
* obj6
= 0 ;
10011 PyObject
* obj7
= 0 ;
10012 PyObject
* obj8
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10021 if (SWIG_arg_fail(2)) SWIG_fail
;
10024 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10025 if (SWIG_arg_fail(3)) SWIG_fail
;
10030 arg4
= wxString_in_helper(obj3
);
10031 if (arg4
== NULL
) SWIG_fail
;
10038 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10044 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10049 arg7
= static_cast<long >(SWIG_As_long(obj6
));
10050 if (SWIG_arg_fail(7)) SWIG_fail
;
10055 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
10056 if (SWIG_arg_fail(8)) SWIG_fail
;
10057 if (arg8
== NULL
) {
10058 SWIG_null_ref("wxValidator");
10060 if (SWIG_arg_fail(8)) SWIG_fail
;
10065 arg9
= wxString_in_helper(obj8
);
10066 if (arg9
== NULL
) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10102 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
= NULL
;
10104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10134 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
= NULL
;
10136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10137 wxString
*arg2
= 0 ;
10138 bool temp2
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "value", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail
;
10149 arg2
= wxString_in_helper(obj1
);
10150 if (arg2
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->SetValue((wxString
const &)*arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
= NULL
;
10177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 PyObject
* obj2
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "from",(char *) "to", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10193 if (SWIG_arg_fail(2)) SWIG_fail
;
10196 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10197 if (SWIG_arg_fail(3)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10219 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= NULL
;
10221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 PyObject
* obj1
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self",(char *) "lineNo", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10232 if (SWIG_arg_fail(1)) SWIG_fail
;
10234 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10235 if (SWIG_arg_fail(2)) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_From_int(static_cast<int >(result
));
10253 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
= NULL
;
10255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "lineNo", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail
;
10268 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10269 if (SWIG_arg_fail(2)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10291 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= NULL
;
10293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_From_int(static_cast<int >(result
));
10319 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= NULL
;
10321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10330 if (SWIG_arg_fail(1)) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= NULL
;
10349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
= NULL
;
10377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10386 if (SWIG_arg_fail(1)) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 static PyObject
*_wrap_TextCtrl_IsMultiLine(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_IsMultiLine",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
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10431 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= NULL
;
10433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10434 long *arg2
= (long *) 0 ;
10435 long *arg3
= (long *) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10446 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10459 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10460 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10461 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10468 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
= NULL
;
10470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10500 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
= NULL
;
10502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= NULL
;
10527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10530 wxString
*arg4
= 0 ;
10531 bool temp4
= false ;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 PyObject
* obj2
= 0 ;
10535 PyObject
* obj3
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10544 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10545 if (SWIG_arg_fail(2)) SWIG_fail
;
10548 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10549 if (SWIG_arg_fail(3)) SWIG_fail
;
10552 arg4
= wxString_in_helper(obj3
);
10553 if (arg4
== NULL
) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= NULL
;
10580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 PyObject
* obj2
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "from",(char *) "to", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10595 if (SWIG_arg_fail(2)) SWIG_fail
;
10598 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10599 if (SWIG_arg_fail(3)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->Remove(arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= NULL
;
10617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10618 wxString
*arg2
= 0 ;
10620 bool temp2
= false ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "file", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10631 arg2
= wxString_in_helper(obj1
);
10632 if (arg2
== NULL
) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
= NULL
;
10661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10662 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10663 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10665 bool temp2
= false ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "file", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10677 arg2
= wxString_in_helper(obj1
);
10678 if (arg2
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10706 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
= NULL
;
10708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 (arg1
)->MarkDirty();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
= NULL
;
10733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->DiscardEdits();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 Py_INCREF(Py_None
); resultobj
= Py_None
;
10756 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= NULL
;
10758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10759 unsigned long arg2
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self",(char *) "len", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10768 if (SWIG_arg_fail(1)) SWIG_fail
;
10770 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10771 if (SWIG_arg_fail(2)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetMaxLength(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
= NULL
;
10789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10790 wxString
*arg2
= 0 ;
10791 bool temp2
= false ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "text", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10802 arg2
= wxString_in_helper(obj1
);
10803 if (arg2
== NULL
) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->WriteText((wxString
const &)*arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= NULL
;
10830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10831 wxString
*arg2
= 0 ;
10832 bool temp2
= false ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self",(char *) "text", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10843 arg2
= wxString_in_helper(obj1
);
10844 if (arg2
== NULL
) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->AppendText((wxString
const &)*arg2
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= NULL
;
10871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10872 wxKeyEvent
*arg2
= 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self",(char *) "event", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail
;
10884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10885 if (SWIG_arg_fail(2)) SWIG_fail
;
10886 if (arg2
== NULL
) {
10887 SWIG_null_ref("wxKeyEvent");
10889 if (SWIG_arg_fail(2)) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
= NULL
;
10909 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10912 wxTextAttr
*arg4
= 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 PyObject
* obj2
= 0 ;
10917 PyObject
* obj3
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10926 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10927 if (SWIG_arg_fail(2)) SWIG_fail
;
10930 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10931 if (SWIG_arg_fail(3)) SWIG_fail
;
10934 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10935 if (SWIG_arg_fail(4)) SWIG_fail
;
10936 if (arg4
== NULL
) {
10937 SWIG_null_ref("wxTextAttr");
10939 if (SWIG_arg_fail(4)) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= NULL
;
10959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10961 wxTextAttr
*arg3
= 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 PyObject
* obj2
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self",(char *) "position",(char *) "style", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10975 if (SWIG_arg_fail(2)) SWIG_fail
;
10978 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10979 if (SWIG_arg_fail(3)) SWIG_fail
;
10980 if (arg3
== NULL
) {
10981 SWIG_null_ref("wxTextAttr");
10983 if (SWIG_arg_fail(3)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= NULL
;
11003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11004 wxTextAttr
*arg2
= 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "style", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11017 if (SWIG_arg_fail(2)) SWIG_fail
;
11018 if (arg2
== NULL
) {
11019 SWIG_null_ref("wxTextAttr");
11021 if (SWIG_arg_fail(2)) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= NULL
;
11041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11042 wxTextAttr
*result
;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
11049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
11055 result
= (wxTextAttr
*) &_result_ref
;
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11068 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= NULL
;
11070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "x",(char *) "y", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11083 if (SWIG_arg_fail(1)) SWIG_fail
;
11085 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11086 if (SWIG_arg_fail(2)) SWIG_fail
;
11089 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11090 if (SWIG_arg_fail(3)) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_From_long(static_cast<long >(result
));
11108 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
= NULL
;
11110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11112 long *arg3
= (long *) 0 ;
11113 long *arg4
= (long *) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "pos", NULL
11124 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11125 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail
;
11130 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11131 if (SWIG_arg_fail(2)) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11142 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11143 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11144 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11151 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= NULL
;
11153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "pos", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11166 if (SWIG_arg_fail(2)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->ShowPosition(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= NULL
;
11184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11185 wxPoint
*arg2
= 0 ;
11186 long *arg3
= (long *) 0 ;
11187 long *arg4
= (long *) 0 ;
11188 wxTextCtrlHitTestResult result
;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "pt", NULL
11200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11201 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail
;
11207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_From_int((result
));
11217 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11218 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11219 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11220 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11227 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
= NULL
;
11229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11230 wxPoint
*arg2
= 0 ;
11231 long *arg3
= (long *) 0 ;
11232 wxTextCtrlHitTestResult result
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "pt", NULL
11242 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11245 if (SWIG_arg_fail(1)) SWIG_fail
;
11248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_From_int((result
));
11258 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11259 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11266 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
= NULL
;
11268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= NULL
;
11293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 Py_INCREF(Py_None
); resultobj
= Py_None
;
11316 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= NULL
;
11318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= NULL
;
11343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11369 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
= NULL
;
11371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11397 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= NULL
;
11399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11425 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
= NULL
;
11427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= NULL
;
11452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "self", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11475 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= NULL
;
11477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11503 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
= NULL
;
11505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11514 if (SWIG_arg_fail(1)) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11531 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
= NULL
;
11533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "pos", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->SetInsertionPoint(arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
= NULL
;
11564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 (arg1
)->SetInsertionPointEnd();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 Py_INCREF(Py_None
); resultobj
= Py_None
;
11587 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
= NULL
;
11589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11598 if (SWIG_arg_fail(1)) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_From_long(static_cast<long >(result
));
11615 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= NULL
;
11617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11619 PyObject
* obj0
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11626 if (SWIG_arg_fail(1)) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_From_long(static_cast<long >(result
));
11643 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
= NULL
;
11645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 PyObject
* obj2
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "from",(char *) "to", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11659 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11660 if (SWIG_arg_fail(2)) SWIG_fail
;
11663 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11664 if (SWIG_arg_fail(3)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 (arg1
)->SetSelection(arg2
,arg3
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 Py_INCREF(Py_None
); resultobj
= Py_None
;
11680 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
= NULL
;
11682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->SelectAll();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
= NULL
;
11707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self",(char *) "editable", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail
;
11719 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11720 if (SWIG_arg_fail(2)) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->SetEditable(arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
= NULL
;
11738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11739 bool arg2
= (bool) true ;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "show", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11752 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11753 if (SWIG_arg_fail(2)) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11772 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= NULL
;
11774 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (bool)(arg1
)->HideNativeCaret();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11800 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= NULL
;
11802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11803 wxString
*arg2
= 0 ;
11804 bool temp2
= false ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "text", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail
;
11815 arg2
= wxString_in_helper(obj1
);
11816 if (arg2
== NULL
) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
= NULL
;
11843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 PyObject
* obj2
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self",(char *) "from",(char *) "to", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11856 if (SWIG_arg_fail(1)) SWIG_fail
;
11858 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11859 if (SWIG_arg_fail(2)) SWIG_fail
;
11862 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11863 if (SWIG_arg_fail(3)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11885 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
= NULL
;
11887 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11888 wxVisualAttributes result
;
11889 PyObject
* obj0
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "variant", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11897 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11898 if (SWIG_arg_fail(1)) SWIG_fail
;
11902 if (!wxPyCheckForApp()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 wxVisualAttributes
* resultptr
;
11911 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11920 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11923 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11925 return Py_BuildValue((char *)"");
11927 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
= NULL
;
11930 wxMouseEvent
*arg2
= 0 ;
11933 wxTextUrlEvent
*result
;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 PyObject
* obj2
= 0 ;
11937 PyObject
* obj3
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11944 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11949 if (SWIG_arg_fail(2)) SWIG_fail
;
11950 if (arg2
== NULL
) {
11951 SWIG_null_ref("wxMouseEvent");
11953 if (SWIG_arg_fail(2)) SWIG_fail
;
11956 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11957 if (SWIG_arg_fail(3)) SWIG_fail
;
11960 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11961 if (SWIG_arg_fail(4)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11977 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= NULL
;
11979 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11980 wxMouseEvent
*result
;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11993 result
= (wxMouseEvent
*) &_result_ref
;
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
12006 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
= NULL
;
12008 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
12016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_long(static_cast<long >(result
));
12034 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
= NULL
;
12036 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
12044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_From_long(static_cast<long >(result
));
12062 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
12064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12065 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
12067 return Py_BuildValue((char *)"");
12069 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
12070 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
12075 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
12076 PyObject
*pyobj
= NULL
;
12080 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12082 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12089 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= NULL
;
12091 wxWindow
*arg1
= (wxWindow
*) 0 ;
12092 int arg2
= (int) -1 ;
12093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12097 long arg5
= (long) wxSB_HORIZONTAL
;
12098 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
12099 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
12100 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
12101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12102 wxScrollBar
*result
;
12105 bool temp7
= false ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 PyObject
* obj3
= 0 ;
12110 PyObject
* obj4
= 0 ;
12111 PyObject
* obj5
= 0 ;
12112 PyObject
* obj6
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail
;
12122 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12123 if (SWIG_arg_fail(2)) SWIG_fail
;
12129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12140 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12141 if (SWIG_arg_fail(5)) SWIG_fail
;
12146 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12147 if (SWIG_arg_fail(6)) SWIG_fail
;
12148 if (arg6
== NULL
) {
12149 SWIG_null_ref("wxValidator");
12151 if (SWIG_arg_fail(6)) SWIG_fail
;
12156 arg7
= wxString_in_helper(obj6
);
12157 if (arg7
== NULL
) SWIG_fail
;
12162 if (!wxPyCheckForApp()) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12184 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= NULL
;
12186 wxScrollBar
*result
;
12187 char *kwnames
[] = {
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12193 if (!wxPyCheckForApp()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (wxScrollBar
*)new wxScrollBar();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12207 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
= NULL
;
12209 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12210 wxWindow
*arg2
= (wxWindow
*) 0 ;
12211 int arg3
= (int) -1 ;
12212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12216 long arg6
= (long) wxSB_HORIZONTAL
;
12217 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12218 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12219 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12224 bool temp8
= false ;
12225 PyObject
* obj0
= 0 ;
12226 PyObject
* obj1
= 0 ;
12227 PyObject
* obj2
= 0 ;
12228 PyObject
* obj3
= 0 ;
12229 PyObject
* obj4
= 0 ;
12230 PyObject
* obj5
= 0 ;
12231 PyObject
* obj6
= 0 ;
12232 PyObject
* obj7
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(2)) SWIG_fail
;
12244 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12245 if (SWIG_arg_fail(3)) SWIG_fail
;
12251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12262 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12263 if (SWIG_arg_fail(6)) SWIG_fail
;
12268 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12269 if (SWIG_arg_fail(7)) SWIG_fail
;
12270 if (arg7
== NULL
) {
12271 SWIG_null_ref("wxValidator");
12273 if (SWIG_arg_fail(7)) SWIG_fail
;
12278 arg8
= wxString_in_helper(obj7
);
12279 if (arg8
== NULL
) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12307 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
= NULL
;
12309 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast<int >(result
));
12335 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= NULL
;
12337 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast<int >(result
));
12363 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
= NULL
;
12365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_From_int(static_cast<int >(result
));
12391 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= NULL
;
12393 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_From_int(static_cast<int >(result
));
12419 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
= NULL
;
12421 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12447 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
= NULL
;
12449 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self",(char *) "viewStart", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12462 if (SWIG_arg_fail(2)) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 (arg1
)->SetThumbPosition(arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 Py_INCREF(Py_None
); resultobj
= Py_None
;
12478 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
= NULL
;
12480 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12485 bool arg6
= (bool) true ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 PyObject
* obj3
= 0 ;
12490 PyObject
* obj4
= 0 ;
12491 PyObject
* obj5
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12498 if (SWIG_arg_fail(1)) SWIG_fail
;
12500 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12501 if (SWIG_arg_fail(2)) SWIG_fail
;
12504 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12505 if (SWIG_arg_fail(3)) SWIG_fail
;
12508 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12509 if (SWIG_arg_fail(4)) SWIG_fail
;
12512 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12513 if (SWIG_arg_fail(5)) SWIG_fail
;
12517 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12518 if (SWIG_arg_fail(6)) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
= NULL
;
12537 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12538 wxVisualAttributes result
;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "variant", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12547 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12548 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 if (!wxPyCheckForApp()) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 wxVisualAttributes
* resultptr
;
12561 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12570 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12575 return Py_BuildValue((char *)"");
12577 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12578 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12583 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12584 PyObject
*pyobj
= NULL
;
12588 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12590 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12597 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12598 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12603 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12604 PyObject
*pyobj
= NULL
;
12608 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12610 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12617 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
= NULL
;
12619 wxWindow
*arg1
= (wxWindow
*) 0 ;
12620 int arg2
= (int) -1 ;
12621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12625 long arg5
= (long) wxSP_HORIZONTAL
;
12626 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12628 wxSpinButton
*result
;
12631 bool temp6
= false ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 PyObject
* obj2
= 0 ;
12635 PyObject
* obj3
= 0 ;
12636 PyObject
* obj4
= 0 ;
12637 PyObject
* obj5
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail
;
12647 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12648 if (SWIG_arg_fail(2)) SWIG_fail
;
12654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12665 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12666 if (SWIG_arg_fail(5)) SWIG_fail
;
12671 arg6
= wxString_in_helper(obj5
);
12672 if (arg6
== NULL
) SWIG_fail
;
12677 if (!wxPyCheckForApp()) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12699 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
= NULL
;
12701 wxSpinButton
*result
;
12702 char *kwnames
[] = {
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12708 if (!wxPyCheckForApp()) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (wxSpinButton
*)new wxSpinButton();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12722 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= NULL
;
12724 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12725 wxWindow
*arg2
= (wxWindow
*) 0 ;
12726 int arg3
= (int) -1 ;
12727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12731 long arg6
= (long) wxSP_HORIZONTAL
;
12732 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12733 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12737 bool temp7
= false ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 PyObject
* obj2
= 0 ;
12741 PyObject
* obj3
= 0 ;
12742 PyObject
* obj4
= 0 ;
12743 PyObject
* obj5
= 0 ;
12744 PyObject
* obj6
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(2)) SWIG_fail
;
12756 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12757 if (SWIG_arg_fail(3)) SWIG_fail
;
12763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12774 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12775 if (SWIG_arg_fail(6)) SWIG_fail
;
12780 arg7
= wxString_in_helper(obj6
);
12781 if (arg7
== NULL
) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12809 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
= NULL
;
12811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= SWIG_From_int(static_cast<int >(result
));
12837 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
= NULL
;
12839 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12848 if (SWIG_arg_fail(1)) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_From_int(static_cast<int >(result
));
12865 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= NULL
;
12867 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12876 if (SWIG_arg_fail(1)) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_From_int(static_cast<int >(result
));
12893 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
= NULL
;
12895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12897 PyObject
* obj0
= 0 ;
12898 PyObject
* obj1
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self",(char *) "val", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12908 if (SWIG_arg_fail(2)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetValue(arg2
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
= NULL
;
12926 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "minVal", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail
;
12938 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12939 if (SWIG_arg_fail(2)) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 (arg1
)->SetMin(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
= NULL
;
12957 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "maxVal", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail
;
12969 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12970 if (SWIG_arg_fail(2)) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 (arg1
)->SetMax(arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12986 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= NULL
;
12988 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 PyObject
* obj2
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail
;
13002 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13003 if (SWIG_arg_fail(2)) SWIG_fail
;
13006 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13007 if (SWIG_arg_fail(3)) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 (arg1
)->SetRange(arg2
,arg3
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 Py_INCREF(Py_None
); resultobj
= Py_None
;
13023 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
= NULL
;
13025 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= NULL
;
13053 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13054 wxVisualAttributes result
;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "variant", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13063 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 if (!wxPyCheckForApp()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 wxVisualAttributes
* resultptr
;
13077 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13086 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
13088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
13091 return Py_BuildValue((char *)"");
13093 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
= NULL
;
13095 wxWindow
*arg1
= (wxWindow
*) 0 ;
13096 int arg2
= (int) -1 ;
13097 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13103 long arg6
= (long) wxSP_ARROW_KEYS
;
13104 int arg7
= (int) 0 ;
13105 int arg8
= (int) 100 ;
13106 int arg9
= (int) 0 ;
13107 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
13108 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13109 wxSpinCtrl
*result
;
13110 bool temp3
= false ;
13113 bool temp10
= false ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 PyObject
* obj2
= 0 ;
13117 PyObject
* obj3
= 0 ;
13118 PyObject
* obj4
= 0 ;
13119 PyObject
* obj5
= 0 ;
13120 PyObject
* obj6
= 0 ;
13121 PyObject
* obj7
= 0 ;
13122 PyObject
* obj8
= 0 ;
13123 PyObject
* obj9
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13133 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13134 if (SWIG_arg_fail(2)) SWIG_fail
;
13139 arg3
= wxString_in_helper(obj2
);
13140 if (arg3
== NULL
) SWIG_fail
;
13147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13158 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13159 if (SWIG_arg_fail(6)) SWIG_fail
;
13164 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13165 if (SWIG_arg_fail(7)) SWIG_fail
;
13170 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13171 if (SWIG_arg_fail(8)) SWIG_fail
;
13176 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13177 if (SWIG_arg_fail(9)) SWIG_fail
;
13182 arg10
= wxString_in_helper(obj9
);
13183 if (arg10
== NULL
) SWIG_fail
;
13188 if (!wxPyCheckForApp()) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13218 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
= NULL
;
13220 wxSpinCtrl
*result
;
13221 char *kwnames
[] = {
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13227 if (!wxPyCheckForApp()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13241 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= NULL
;
13243 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13244 wxWindow
*arg2
= (wxWindow
*) 0 ;
13245 int arg3
= (int) -1 ;
13246 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13247 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13248 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13249 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13250 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13251 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13252 long arg7
= (long) wxSP_ARROW_KEYS
;
13253 int arg8
= (int) 0 ;
13254 int arg9
= (int) 100 ;
13255 int arg10
= (int) 0 ;
13256 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13257 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13259 bool temp4
= false ;
13262 bool temp11
= false ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 PyObject
* obj3
= 0 ;
13267 PyObject
* obj4
= 0 ;
13268 PyObject
* obj5
= 0 ;
13269 PyObject
* obj6
= 0 ;
13270 PyObject
* obj7
= 0 ;
13271 PyObject
* obj8
= 0 ;
13272 PyObject
* obj9
= 0 ;
13273 PyObject
* obj10
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail
;
13281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13282 if (SWIG_arg_fail(2)) SWIG_fail
;
13285 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13286 if (SWIG_arg_fail(3)) SWIG_fail
;
13291 arg4
= wxString_in_helper(obj3
);
13292 if (arg4
== NULL
) SWIG_fail
;
13299 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13305 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13310 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13311 if (SWIG_arg_fail(7)) SWIG_fail
;
13316 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13317 if (SWIG_arg_fail(8)) SWIG_fail
;
13322 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13323 if (SWIG_arg_fail(9)) SWIG_fail
;
13328 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13329 if (SWIG_arg_fail(10)) SWIG_fail
;
13334 arg11
= wxString_in_helper(obj10
);
13335 if (arg11
== NULL
) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13371 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= NULL
;
13373 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13382 if (SWIG_arg_fail(1)) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_From_int(static_cast<int >(result
));
13399 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
= NULL
;
13401 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "value", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail
;
13413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13414 if (SWIG_arg_fail(2)) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->SetValue(arg2
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 Py_INCREF(Py_None
); resultobj
= Py_None
;
13430 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= NULL
;
13432 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13433 wxString
*arg2
= 0 ;
13434 bool temp2
= false ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "text", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail
;
13445 arg2
= wxString_in_helper(obj1
);
13446 if (arg2
== NULL
) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 (arg1
)->SetValue((wxString
const &)*arg2
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= NULL
;
13473 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail
;
13487 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13488 if (SWIG_arg_fail(2)) SWIG_fail
;
13491 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13492 if (SWIG_arg_fail(3)) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetRange(arg2
,arg3
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13508 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= NULL
;
13510 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13519 if (SWIG_arg_fail(1)) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_From_int(static_cast<int >(result
));
13536 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= NULL
;
13538 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_From_int(static_cast<int >(result
));
13564 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
= NULL
;
13566 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "from",(char *) "to", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail
;
13580 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13581 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13585 if (SWIG_arg_fail(3)) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 (arg1
)->SetSelection(arg2
,arg3
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13601 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= NULL
;
13603 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13604 wxVisualAttributes result
;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "variant", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13613 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13614 if (SWIG_arg_fail(1)) SWIG_fail
;
13618 if (!wxPyCheckForApp()) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13626 wxVisualAttributes
* resultptr
;
13627 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13636 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13639 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13641 return Py_BuildValue((char *)"");
13643 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= NULL
;
13645 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13646 int arg2
= (int) 0 ;
13647 wxSpinEvent
*result
;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "commandType",(char *) "winid", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13657 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13658 if (SWIG_arg_fail(1)) SWIG_fail
;
13663 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13664 if (SWIG_arg_fail(2)) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13681 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= NULL
;
13683 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= SWIG_From_int(static_cast<int >(result
));
13709 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
= NULL
;
13711 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "pos", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail
;
13723 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13724 if (SWIG_arg_fail(2)) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 (arg1
)->SetPosition(arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 Py_INCREF(Py_None
); resultobj
= Py_None
;
13740 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13743 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13745 return Py_BuildValue((char *)"");
13747 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13748 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13753 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13754 PyObject
*pyobj
= NULL
;
13758 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13760 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13767 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13768 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13773 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13774 PyObject
*pyobj
= NULL
;
13778 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13780 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13787 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= NULL
;
13789 wxWindow
*arg1
= (wxWindow
*) 0 ;
13790 int arg2
= (int) -1 ;
13791 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13792 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13797 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13798 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13799 int arg7
= (int) 0 ;
13800 long arg8
= (long) wxRA_HORIZONTAL
;
13801 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13802 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13803 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13804 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13805 wxRadioBox
*result
;
13806 bool temp3
= false ;
13809 bool temp6
= false ;
13810 bool temp10
= false ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 PyObject
* obj2
= 0 ;
13814 PyObject
* obj3
= 0 ;
13815 PyObject
* obj4
= 0 ;
13816 PyObject
* obj5
= 0 ;
13817 PyObject
* obj6
= 0 ;
13818 PyObject
* obj7
= 0 ;
13819 PyObject
* obj8
= 0 ;
13820 PyObject
* obj9
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13830 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13831 if (SWIG_arg_fail(2)) SWIG_fail
;
13836 arg3
= wxString_in_helper(obj2
);
13837 if (arg3
== NULL
) SWIG_fail
;
13844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13855 if (! PySequence_Check(obj5
)) {
13856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13859 arg6
= new wxArrayString
;
13861 int i
, len
=PySequence_Length(obj5
);
13862 for (i
=0; i
<len
; i
++) {
13863 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13864 wxString
* s
= wxString_in_helper(item
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13874 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13875 if (SWIG_arg_fail(7)) SWIG_fail
;
13880 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13881 if (SWIG_arg_fail(8)) SWIG_fail
;
13886 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13887 if (SWIG_arg_fail(9)) SWIG_fail
;
13888 if (arg9
== NULL
) {
13889 SWIG_null_ref("wxValidator");
13891 if (SWIG_arg_fail(9)) SWIG_fail
;
13896 arg10
= wxString_in_helper(obj9
);
13897 if (arg10
== NULL
) SWIG_fail
;
13902 if (!wxPyCheckForApp()) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 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
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13915 if (temp6
) delete arg6
;
13928 if (temp6
) delete arg6
;
13938 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= NULL
;
13940 wxRadioBox
*result
;
13941 char *kwnames
[] = {
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13947 if (!wxPyCheckForApp()) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (wxRadioBox
*)new wxRadioBox();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13961 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
= NULL
;
13963 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13964 wxWindow
*arg2
= (wxWindow
*) 0 ;
13965 int arg3
= (int) -1 ;
13966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13972 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13973 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13974 int arg8
= (int) 0 ;
13975 long arg9
= (long) wxRA_HORIZONTAL
;
13976 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13977 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13978 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13979 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13981 bool temp4
= false ;
13984 bool temp7
= false ;
13985 bool temp11
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 PyObject
* obj3
= 0 ;
13990 PyObject
* obj4
= 0 ;
13991 PyObject
* obj5
= 0 ;
13992 PyObject
* obj6
= 0 ;
13993 PyObject
* obj7
= 0 ;
13994 PyObject
* obj8
= 0 ;
13995 PyObject
* obj9
= 0 ;
13996 PyObject
* obj10
= 0 ;
13997 char *kwnames
[] = {
13998 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail
;
14004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(2)) SWIG_fail
;
14008 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14009 if (SWIG_arg_fail(3)) SWIG_fail
;
14014 arg4
= wxString_in_helper(obj3
);
14015 if (arg4
== NULL
) SWIG_fail
;
14022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14033 if (! PySequence_Check(obj6
)) {
14034 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14037 arg7
= new wxArrayString
;
14039 int i
, len
=PySequence_Length(obj6
);
14040 for (i
=0; i
<len
; i
++) {
14041 PyObject
* item
= PySequence_GetItem(obj6
, i
);
14042 wxString
* s
= wxString_in_helper(item
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14052 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14053 if (SWIG_arg_fail(8)) SWIG_fail
;
14058 arg9
= static_cast<long >(SWIG_As_long(obj8
));
14059 if (SWIG_arg_fail(9)) SWIG_fail
;
14064 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14065 if (SWIG_arg_fail(10)) SWIG_fail
;
14066 if (arg10
== NULL
) {
14067 SWIG_null_ref("wxValidator");
14069 if (SWIG_arg_fail(10)) SWIG_fail
;
14074 arg11
= wxString_in_helper(obj10
);
14075 if (arg11
== NULL
) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 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
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14094 if (temp7
) delete arg7
;
14107 if (temp7
) delete arg7
;
14117 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
= NULL
;
14119 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self",(char *) "n", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail
;
14131 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14132 if (SWIG_arg_fail(2)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 (arg1
)->SetSelection(arg2
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 Py_INCREF(Py_None
); resultobj
= Py_None
;
14148 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
= NULL
;
14150 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_From_int(static_cast<int >(result
));
14176 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
= NULL
;
14178 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14208 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= NULL
;
14210 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14211 wxString
*arg2
= 0 ;
14213 bool temp2
= false ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "s", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail
;
14224 arg2
= wxString_in_helper(obj1
);
14225 if (arg2
== NULL
) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
= NULL
;
14254 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_int(static_cast<int >(result
));
14280 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= NULL
;
14282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14283 wxString
*arg2
= 0 ;
14285 bool temp2
= false ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "s", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) 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
= wxString_in_helper(obj1
);
14297 if (arg2
== NULL
) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_int(static_cast<int >(result
));
14324 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
= NULL
;
14326 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "n", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14337 if (SWIG_arg_fail(1)) SWIG_fail
;
14339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14340 if (SWIG_arg_fail(2)) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14362 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
= NULL
;
14364 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14366 wxString
*arg3
= 0 ;
14367 bool temp3
= false ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "n",(char *) "label", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14377 if (SWIG_arg_fail(1)) SWIG_fail
;
14379 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14380 if (SWIG_arg_fail(2)) SWIG_fail
;
14383 arg3
= wxString_in_helper(obj2
);
14384 if (arg3
== NULL
) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 Py_INCREF(Py_None
); resultobj
= Py_None
;
14409 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= NULL
;
14411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14413 bool arg3
= (bool) true ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 PyObject
* obj2
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self",(char *) "n",(char *) "enable", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail
;
14425 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14426 if (SWIG_arg_fail(2)) SWIG_fail
;
14430 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14431 if (SWIG_arg_fail(3)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->Enable(arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14448 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= NULL
;
14450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14452 bool arg3
= (bool) true ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "n",(char *) "show", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14462 if (SWIG_arg_fail(1)) SWIG_fail
;
14464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14465 if (SWIG_arg_fail(2)) SWIG_fail
;
14469 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14470 if (SWIG_arg_fail(3)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->Show(arg2
,arg3
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
= NULL
;
14489 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= SWIG_From_int(static_cast<int >(result
));
14515 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= NULL
;
14517 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_From_int(static_cast<int >(result
));
14543 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
= NULL
;
14545 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 PyObject
* obj2
= 0 ;
14553 PyObject
* obj3
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail
;
14562 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14563 if (SWIG_arg_fail(2)) SWIG_fail
;
14566 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14567 if (SWIG_arg_fail(3)) SWIG_fail
;
14570 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14571 if (SWIG_arg_fail(4)) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_From_int(static_cast<int >(result
));
14589 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
= NULL
;
14591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14592 wxVisualAttributes result
;
14593 PyObject
* obj0
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "variant", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14601 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14606 if (!wxPyCheckForApp()) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 wxVisualAttributes
* resultptr
;
14615 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14624 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14627 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14629 return Py_BuildValue((char *)"");
14631 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= NULL
;
14633 wxWindow
*arg1
= (wxWindow
*) 0 ;
14634 int arg2
= (int) -1 ;
14635 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14636 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14641 long arg6
= (long) 0 ;
14642 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14643 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14644 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14646 wxRadioButton
*result
;
14647 bool temp3
= false ;
14650 bool temp8
= false ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 PyObject
* obj3
= 0 ;
14655 PyObject
* obj4
= 0 ;
14656 PyObject
* obj5
= 0 ;
14657 PyObject
* obj6
= 0 ;
14658 PyObject
* obj7
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14665 if (SWIG_arg_fail(1)) SWIG_fail
;
14668 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14669 if (SWIG_arg_fail(2)) SWIG_fail
;
14674 arg3
= wxString_in_helper(obj2
);
14675 if (arg3
== NULL
) SWIG_fail
;
14682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14693 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14694 if (SWIG_arg_fail(6)) SWIG_fail
;
14699 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14700 if (SWIG_arg_fail(7)) SWIG_fail
;
14701 if (arg7
== NULL
) {
14702 SWIG_null_ref("wxValidator");
14704 if (SWIG_arg_fail(7)) SWIG_fail
;
14709 arg8
= wxString_in_helper(obj7
);
14710 if (arg8
== NULL
) SWIG_fail
;
14715 if (!wxPyCheckForApp()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14745 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
= NULL
;
14747 wxRadioButton
*result
;
14748 char *kwnames
[] = {
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14754 if (!wxPyCheckForApp()) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (wxRadioButton
*)new wxRadioButton();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14768 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= NULL
;
14770 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14771 wxWindow
*arg2
= (wxWindow
*) 0 ;
14772 int arg3
= (int) -1 ;
14773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14779 long arg7
= (long) 0 ;
14780 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14781 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14782 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14783 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14785 bool temp4
= false ;
14788 bool temp9
= false ;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 PyObject
* obj2
= 0 ;
14792 PyObject
* obj3
= 0 ;
14793 PyObject
* obj4
= 0 ;
14794 PyObject
* obj5
= 0 ;
14795 PyObject
* obj6
= 0 ;
14796 PyObject
* obj7
= 0 ;
14797 PyObject
* obj8
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(2)) SWIG_fail
;
14809 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14810 if (SWIG_arg_fail(3)) SWIG_fail
;
14815 arg4
= wxString_in_helper(obj3
);
14816 if (arg4
== NULL
) SWIG_fail
;
14823 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14829 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14834 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14835 if (SWIG_arg_fail(7)) SWIG_fail
;
14840 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(8)) SWIG_fail
;
14842 if (arg8
== NULL
) {
14843 SWIG_null_ref("wxValidator");
14845 if (SWIG_arg_fail(8)) SWIG_fail
;
14850 arg9
= wxString_in_helper(obj8
);
14851 if (arg9
== NULL
) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14887 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
= NULL
;
14889 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (bool)(arg1
)->GetValue();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
= NULL
;
14917 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "value", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail
;
14929 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14930 if (SWIG_arg_fail(2)) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 (arg1
)->SetValue(arg2
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 Py_INCREF(Py_None
); resultobj
= Py_None
;
14946 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
= NULL
;
14948 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14949 wxVisualAttributes result
;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "variant", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14958 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14959 if (SWIG_arg_fail(1)) SWIG_fail
;
14963 if (!wxPyCheckForApp()) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14971 wxVisualAttributes
* resultptr
;
14972 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14981 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14986 return Py_BuildValue((char *)"");
14988 static int _wrap_SliderNameStr_set(PyObject
*) {
14989 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14994 static PyObject
*_wrap_SliderNameStr_get(void) {
14995 PyObject
*pyobj
= NULL
;
14999 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15001 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15008 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= NULL
;
15010 wxWindow
*arg1
= (wxWindow
*) 0 ;
15011 int arg2
= (int) -1 ;
15012 int arg3
= (int) 0 ;
15013 int arg4
= (int) 0 ;
15014 int arg5
= (int) 100 ;
15015 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15016 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15017 wxSize
const &arg7_defvalue
= wxDefaultSize
;
15018 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
15019 long arg8
= (long) wxSL_HORIZONTAL
;
15020 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15021 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15022 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
15023 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15027 bool temp10
= false ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 PyObject
* obj3
= 0 ;
15032 PyObject
* obj4
= 0 ;
15033 PyObject
* obj5
= 0 ;
15034 PyObject
* obj6
= 0 ;
15035 PyObject
* obj7
= 0 ;
15036 PyObject
* obj8
= 0 ;
15037 PyObject
* obj9
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail
;
15047 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15048 if (SWIG_arg_fail(2)) SWIG_fail
;
15053 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15054 if (SWIG_arg_fail(3)) SWIG_fail
;
15059 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15060 if (SWIG_arg_fail(4)) SWIG_fail
;
15065 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15066 if (SWIG_arg_fail(5)) SWIG_fail
;
15072 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15078 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
15083 arg8
= static_cast<long >(SWIG_As_long(obj7
));
15084 if (SWIG_arg_fail(8)) SWIG_fail
;
15089 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15090 if (SWIG_arg_fail(9)) SWIG_fail
;
15091 if (arg9
== NULL
) {
15092 SWIG_null_ref("wxValidator");
15094 if (SWIG_arg_fail(9)) SWIG_fail
;
15099 arg10
= wxString_in_helper(obj9
);
15100 if (arg10
== NULL
) SWIG_fail
;
15105 if (!wxPyCheckForApp()) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15127 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
= NULL
;
15130 char *kwnames
[] = {
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15136 if (!wxPyCheckForApp()) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (wxSlider
*)new wxSlider();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15150 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
= NULL
;
15152 wxSlider
*arg1
= (wxSlider
*) 0 ;
15153 wxWindow
*arg2
= (wxWindow
*) 0 ;
15154 int arg3
= (int) -1 ;
15155 int arg4
= (int) 0 ;
15156 int arg5
= (int) 0 ;
15157 int arg6
= (int) 100 ;
15158 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15159 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15160 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15161 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15162 long arg9
= (long) wxSL_HORIZONTAL
;
15163 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15164 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15165 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15166 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15170 bool temp11
= false ;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 PyObject
* obj2
= 0 ;
15174 PyObject
* obj3
= 0 ;
15175 PyObject
* obj4
= 0 ;
15176 PyObject
* obj5
= 0 ;
15177 PyObject
* obj6
= 0 ;
15178 PyObject
* obj7
= 0 ;
15179 PyObject
* obj8
= 0 ;
15180 PyObject
* obj9
= 0 ;
15181 PyObject
* obj10
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail
;
15189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(2)) SWIG_fail
;
15193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15194 if (SWIG_arg_fail(3)) SWIG_fail
;
15199 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15200 if (SWIG_arg_fail(4)) SWIG_fail
;
15205 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15206 if (SWIG_arg_fail(5)) SWIG_fail
;
15211 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15212 if (SWIG_arg_fail(6)) SWIG_fail
;
15218 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15224 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15229 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15230 if (SWIG_arg_fail(9)) SWIG_fail
;
15235 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15236 if (SWIG_arg_fail(10)) SWIG_fail
;
15237 if (arg10
== NULL
) {
15238 SWIG_null_ref("wxValidator");
15240 if (SWIG_arg_fail(10)) SWIG_fail
;
15245 arg11
= wxString_in_helper(obj10
);
15246 if (arg11
== NULL
) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= NULL
;
15276 wxSlider
*arg1
= (wxSlider
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_From_int(static_cast<int >(result
));
15302 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
= NULL
;
15304 wxSlider
*arg1
= (wxSlider
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "value", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail
;
15316 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15317 if (SWIG_arg_fail(2)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->SetValue(arg2
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= NULL
;
15335 wxSlider
*arg1
= (wxSlider
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 PyObject
* obj2
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail
;
15349 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15350 if (SWIG_arg_fail(2)) SWIG_fail
;
15353 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15354 if (SWIG_arg_fail(3)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 (arg1
)->SetRange(arg2
,arg3
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= NULL
;
15372 wxSlider
*arg1
= (wxSlider
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_From_int(static_cast<int >(result
));
15398 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
= NULL
;
15400 wxSlider
*arg1
= (wxSlider
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_From_int(static_cast<int >(result
));
15426 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
= NULL
;
15428 wxSlider
*arg1
= (wxSlider
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "minValue", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail
;
15440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15441 if (SWIG_arg_fail(2)) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetMin(arg2
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15457 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
= NULL
;
15459 wxSlider
*arg1
= (wxSlider
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "maxValue", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15469 if (SWIG_arg_fail(1)) SWIG_fail
;
15471 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15472 if (SWIG_arg_fail(2)) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetMax(arg2
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 Py_INCREF(Py_None
); resultobj
= Py_None
;
15488 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
= NULL
;
15490 wxSlider
*arg1
= (wxSlider
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self",(char *) "lineSize", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15500 if (SWIG_arg_fail(1)) SWIG_fail
;
15502 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15503 if (SWIG_arg_fail(2)) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 (arg1
)->SetLineSize(arg2
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 Py_INCREF(Py_None
); resultobj
= Py_None
;
15519 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= NULL
;
15521 wxSlider
*arg1
= (wxSlider
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self",(char *) "pageSize", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail
;
15533 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15534 if (SWIG_arg_fail(2)) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 (arg1
)->SetPageSize(arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
= NULL
;
15552 wxSlider
*arg1
= (wxSlider
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_From_int(static_cast<int >(result
));
15578 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= NULL
;
15580 wxSlider
*arg1
= (wxSlider
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_From_int(static_cast<int >(result
));
15606 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= NULL
;
15608 wxSlider
*arg1
= (wxSlider
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "lenPixels", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15618 if (SWIG_arg_fail(1)) SWIG_fail
;
15620 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15621 if (SWIG_arg_fail(2)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetThumbLength(arg2
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
= NULL
;
15639 wxSlider
*arg1
= (wxSlider
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_From_int(static_cast<int >(result
));
15665 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
= NULL
;
15667 wxSlider
*arg1
= (wxSlider
*) 0 ;
15669 int arg3
= (int) 1 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self",(char *) "n",(char *) "pos", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail
;
15681 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15682 if (SWIG_arg_fail(2)) SWIG_fail
;
15686 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15687 if (SWIG_arg_fail(3)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetTickFreq(arg2
,arg3
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 Py_INCREF(Py_None
); resultobj
= Py_None
;
15704 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
= NULL
;
15706 wxSlider
*arg1
= (wxSlider
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_From_int(static_cast<int >(result
));
15732 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
= NULL
;
15734 wxSlider
*arg1
= (wxSlider
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15742 if (SWIG_arg_fail(1)) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 (arg1
)->ClearTicks();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 Py_INCREF(Py_None
); resultobj
= Py_None
;
15757 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= NULL
;
15759 wxSlider
*arg1
= (wxSlider
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "tickPos", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15769 if (SWIG_arg_fail(1)) SWIG_fail
;
15771 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15772 if (SWIG_arg_fail(2)) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 (arg1
)->SetTick(arg2
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= NULL
;
15790 wxSlider
*arg1
= (wxSlider
*) 0 ;
15791 PyObject
* obj0
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15798 if (SWIG_arg_fail(1)) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->ClearSel();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= NULL
;
15815 wxSlider
*arg1
= (wxSlider
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= SWIG_From_int(static_cast<int >(result
));
15841 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
= NULL
;
15843 wxSlider
*arg1
= (wxSlider
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_From_int(static_cast<int >(result
));
15869 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= NULL
;
15871 wxSlider
*arg1
= (wxSlider
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 PyObject
* obj2
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self",(char *) "min",(char *) "max", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15883 if (SWIG_arg_fail(1)) SWIG_fail
;
15885 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15886 if (SWIG_arg_fail(2)) SWIG_fail
;
15889 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15890 if (SWIG_arg_fail(3)) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 (arg1
)->SetSelection(arg2
,arg3
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 Py_INCREF(Py_None
); resultobj
= Py_None
;
15906 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
= NULL
;
15908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15909 wxVisualAttributes result
;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "variant", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15918 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 if (!wxPyCheckForApp()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 wxVisualAttributes
* resultptr
;
15932 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15941 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15944 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15946 return Py_BuildValue((char *)"");
15948 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15949 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15954 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15955 PyObject
*pyobj
= NULL
;
15959 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15961 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15968 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= NULL
;
15970 wxWindow
*arg1
= (wxWindow
*) 0 ;
15971 int arg2
= (int) -1 ;
15972 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15973 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15978 long arg6
= (long) 0 ;
15979 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15980 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15981 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15983 wxToggleButton
*result
;
15984 bool temp3
= false ;
15987 bool temp8
= false ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 PyObject
* obj4
= 0 ;
15993 PyObject
* obj5
= 0 ;
15994 PyObject
* obj6
= 0 ;
15995 PyObject
* obj7
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail
;
16005 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16006 if (SWIG_arg_fail(2)) SWIG_fail
;
16011 arg3
= wxString_in_helper(obj2
);
16012 if (arg3
== NULL
) SWIG_fail
;
16019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16030 arg6
= static_cast<long >(SWIG_As_long(obj5
));
16031 if (SWIG_arg_fail(6)) SWIG_fail
;
16036 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(7)) SWIG_fail
;
16038 if (arg7
== NULL
) {
16039 SWIG_null_ref("wxValidator");
16041 if (SWIG_arg_fail(7)) SWIG_fail
;
16046 arg8
= wxString_in_helper(obj7
);
16047 if (arg8
== NULL
) SWIG_fail
;
16052 if (!wxPyCheckForApp()) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16082 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
= NULL
;
16084 wxToggleButton
*result
;
16085 char *kwnames
[] = {
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
16091 if (!wxPyCheckForApp()) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (wxToggleButton
*)new wxToggleButton();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16105 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
= NULL
;
16107 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16108 wxWindow
*arg2
= (wxWindow
*) 0 ;
16109 int arg3
= (int) -1 ;
16110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16116 long arg7
= (long) 0 ;
16117 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16118 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16119 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16120 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16122 bool temp4
= false ;
16125 bool temp9
= false ;
16126 PyObject
* obj0
= 0 ;
16127 PyObject
* obj1
= 0 ;
16128 PyObject
* obj2
= 0 ;
16129 PyObject
* obj3
= 0 ;
16130 PyObject
* obj4
= 0 ;
16131 PyObject
* obj5
= 0 ;
16132 PyObject
* obj6
= 0 ;
16133 PyObject
* obj7
= 0 ;
16134 PyObject
* obj8
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16143 if (SWIG_arg_fail(2)) SWIG_fail
;
16146 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16147 if (SWIG_arg_fail(3)) SWIG_fail
;
16152 arg4
= wxString_in_helper(obj3
);
16153 if (arg4
== NULL
) SWIG_fail
;
16160 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16166 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16171 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16172 if (SWIG_arg_fail(7)) SWIG_fail
;
16177 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16178 if (SWIG_arg_fail(8)) SWIG_fail
;
16179 if (arg8
== NULL
) {
16180 SWIG_null_ref("wxValidator");
16182 if (SWIG_arg_fail(8)) SWIG_fail
;
16187 arg9
= wxString_in_helper(obj8
);
16188 if (arg9
== NULL
) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= NULL
;
16226 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 PyObject
* obj1
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "value", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16239 if (SWIG_arg_fail(2)) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->SetValue(arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 Py_INCREF(Py_None
); resultobj
= Py_None
;
16255 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
= NULL
;
16257 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= NULL
;
16285 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16286 wxString
*arg2
= 0 ;
16287 bool temp2
= false ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "label", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail
;
16298 arg2
= wxString_in_helper(obj1
);
16299 if (arg2
== NULL
) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->SetLabel((wxString
const &)*arg2
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
= NULL
;
16326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16327 wxVisualAttributes result
;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "variant", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16336 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16337 if (SWIG_arg_fail(1)) SWIG_fail
;
16341 if (!wxPyCheckForApp()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 wxVisualAttributes
* resultptr
;
16350 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16359 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16362 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16364 return Py_BuildValue((char *)"");
16366 static int _wrap_NotebookNameStr_set(PyObject
*) {
16367 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16372 static PyObject
*_wrap_NotebookNameStr_get(void) {
16373 PyObject
*pyobj
= NULL
;
16377 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16379 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16386 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= NULL
;
16388 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16414 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
= NULL
;
16416 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self",(char *) "n", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16429 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16430 if (SWIG_arg_fail(2)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= wxPyMake_wxObject(result
, 0);
16448 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= NULL
;
16450 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= wxPyMake_wxObject(result
, 0);
16476 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
= NULL
;
16478 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_From_int(static_cast<int >(result
));
16504 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
= NULL
;
16506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16508 wxString
*arg3
= 0 ;
16510 bool temp3
= false ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 PyObject
* obj2
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self",(char *) "n",(char *) "strText", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16523 if (SWIG_arg_fail(2)) SWIG_fail
;
16526 arg3
= wxString_in_helper(obj2
);
16527 if (arg3
== NULL
) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16554 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
= NULL
;
16556 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "n", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16570 if (SWIG_arg_fail(2)) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16592 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
= NULL
;
16594 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16595 wxImageList
*arg2
= (wxImageList
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "imageList", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail
;
16605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16606 if (SWIG_arg_fail(2)) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 (arg1
)->SetImageList(arg2
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= NULL
;
16623 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16624 wxImageList
*arg2
= (wxImageList
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "imageList", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16633 if (SWIG_arg_fail(1)) SWIG_fail
;
16634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16635 if (SWIG_arg_fail(2)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->AssignImageList(arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
= NULL
;
16652 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16653 wxImageList
*result
;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16678 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
= NULL
;
16680 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "n", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16694 if (SWIG_arg_fail(2)) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_From_int(static_cast<int >(result
));
16712 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
= NULL
;
16714 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 PyObject
* obj2
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "n",(char *) "imageId", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16727 if (SWIG_arg_fail(1)) SWIG_fail
;
16729 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16730 if (SWIG_arg_fail(2)) SWIG_fail
;
16733 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16734 if (SWIG_arg_fail(3)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= NULL
;
16754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "size", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= NULL
;
16786 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "sizePage", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail
;
16801 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 wxSize
* resultptr
;
16812 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16821 static PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
= NULL
;
16823 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16824 unsigned int result
;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames
,&obj0
)) goto fail
;
16831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16832 if (SWIG_arg_fail(1)) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
16849 static PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
= NULL
;
16851 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16852 unsigned int arg2
;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self",(char *) "internalBorder", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
16860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail
;
16863 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
16864 if (SWIG_arg_fail(2)) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 (arg1
)->SetInternalBorder(arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 Py_INCREF(Py_None
); resultobj
= Py_None
;
16880 static PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
= NULL
;
16882 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16908 static PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= NULL
;
16910 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "fit", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16922 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16923 if (SWIG_arg_fail(2)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetFitToCurrentPage(arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16939 static PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= NULL
;
16941 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames
,&obj0
)) goto fail
;
16949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16967 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
= NULL
;
16969 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self",(char *) "n", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail
;
16982 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16983 if (SWIG_arg_fail(2)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)(arg1
)->DeletePage(arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17001 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
= NULL
;
17003 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self",(char *) "n", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
17013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail
;
17016 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17017 if (SWIG_arg_fail(2)) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (bool)(arg1
)->RemovePage(arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17035 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
= NULL
;
17037 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
17045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (bool)(arg1
)->DeleteAllPages();
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17063 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
= NULL
;
17065 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17066 wxWindow
*arg2
= (wxWindow
*) 0 ;
17067 wxString
*arg3
= 0 ;
17068 bool arg4
= (bool) false ;
17069 int arg5
= (int) -1 ;
17071 bool temp3
= false ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 PyObject
* obj3
= 0 ;
17076 PyObject
* obj4
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail
;
17084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17085 if (SWIG_arg_fail(2)) SWIG_fail
;
17087 arg3
= wxString_in_helper(obj2
);
17088 if (arg3
== NULL
) SWIG_fail
;
17093 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
17094 if (SWIG_arg_fail(4)) SWIG_fail
;
17099 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17100 if (SWIG_arg_fail(5)) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17127 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= NULL
;
17129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17131 wxWindow
*arg3
= (wxWindow
*) 0 ;
17132 wxString
*arg4
= 0 ;
17133 bool arg5
= (bool) false ;
17134 int arg6
= (int) -1 ;
17136 bool temp4
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 PyObject
* obj3
= 0 ;
17141 PyObject
* obj4
= 0 ;
17142 PyObject
* obj5
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17151 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17152 if (SWIG_arg_fail(2)) SWIG_fail
;
17154 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17155 if (SWIG_arg_fail(3)) SWIG_fail
;
17157 arg4
= wxString_in_helper(obj3
);
17158 if (arg4
== NULL
) SWIG_fail
;
17163 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17164 if (SWIG_arg_fail(5)) SWIG_fail
;
17169 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17170 if (SWIG_arg_fail(6)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= NULL
;
17199 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self",(char *) "n", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail
;
17212 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17213 if (SWIG_arg_fail(2)) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (int)(arg1
)->SetSelection(arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_From_int(static_cast<int >(result
));
17231 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
= NULL
;
17233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17234 bool arg2
= (bool) true ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self",(char *) "forward", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17243 if (SWIG_arg_fail(1)) SWIG_fail
;
17246 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17247 if (SWIG_arg_fail(2)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->AdvanceSelection(arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
= NULL
;
17266 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17267 wxVisualAttributes result
;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "variant", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17276 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17281 if (!wxPyCheckForApp()) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 wxVisualAttributes
* resultptr
;
17290 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17299 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17302 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17304 return Py_BuildValue((char *)"");
17306 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
= NULL
;
17308 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17309 int arg2
= (int) 0 ;
17310 int arg3
= (int) -1 ;
17311 int arg4
= (int) -1 ;
17312 wxBookCtrlBaseEvent
*result
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17324 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17325 if (SWIG_arg_fail(1)) SWIG_fail
;
17330 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17331 if (SWIG_arg_fail(2)) SWIG_fail
;
17336 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17337 if (SWIG_arg_fail(3)) SWIG_fail
;
17342 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17343 if (SWIG_arg_fail(4)) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17360 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
= NULL
;
17362 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_From_int(static_cast<int >(result
));
17388 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= NULL
;
17390 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "nSel", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17403 if (SWIG_arg_fail(2)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->SetSelection(arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 Py_INCREF(Py_None
); resultobj
= Py_None
;
17419 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= NULL
;
17421 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_From_int(static_cast<int >(result
));
17447 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
= NULL
;
17449 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "self",(char *) "nOldSel", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17459 if (SWIG_arg_fail(1)) SWIG_fail
;
17461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17462 if (SWIG_arg_fail(2)) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->SetOldSelection(arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 Py_INCREF(Py_None
); resultobj
= Py_None
;
17478 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17481 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17483 return Py_BuildValue((char *)"");
17485 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= NULL
;
17487 wxWindow
*arg1
= (wxWindow
*) 0 ;
17488 int arg2
= (int) -1 ;
17489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17491 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17492 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17493 long arg5
= (long) 0 ;
17494 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17495 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17496 wxNotebook
*result
;
17499 bool temp6
= false ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 PyObject
* obj3
= 0 ;
17504 PyObject
* obj4
= 0 ;
17505 PyObject
* obj5
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17515 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17516 if (SWIG_arg_fail(2)) SWIG_fail
;
17522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17533 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17534 if (SWIG_arg_fail(5)) SWIG_fail
;
17539 arg6
= wxString_in_helper(obj5
);
17540 if (arg6
== NULL
) SWIG_fail
;
17545 if (!wxPyCheckForApp()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17567 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
= NULL
;
17569 wxNotebook
*result
;
17570 char *kwnames
[] = {
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17576 if (!wxPyCheckForApp()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxNotebook
*)new wxNotebook();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17590 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= NULL
;
17592 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17593 wxWindow
*arg2
= (wxWindow
*) 0 ;
17594 int arg3
= (int) -1 ;
17595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17599 long arg6
= (long) 0 ;
17600 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17605 bool temp7
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 PyObject
* obj2
= 0 ;
17609 PyObject
* obj3
= 0 ;
17610 PyObject
* obj4
= 0 ;
17611 PyObject
* obj5
= 0 ;
17612 PyObject
* obj6
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17619 if (SWIG_arg_fail(1)) SWIG_fail
;
17620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17621 if (SWIG_arg_fail(2)) SWIG_fail
;
17624 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17625 if (SWIG_arg_fail(3)) SWIG_fail
;
17631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17642 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17643 if (SWIG_arg_fail(6)) SWIG_fail
;
17648 arg7
= wxString_in_helper(obj6
);
17649 if (arg7
== NULL
) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
= NULL
;
17679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_From_int(static_cast<int >(result
));
17705 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= NULL
;
17707 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "padding", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail
;
17721 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 Py_INCREF(Py_None
); resultobj
= Py_None
;
17737 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
= NULL
;
17739 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "sz", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 Py_INCREF(Py_None
); resultobj
= Py_None
;
17769 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
= NULL
;
17771 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17772 wxPoint
*arg2
= 0 ;
17773 long *arg3
= (long *) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self",(char *) "pt", NULL
17784 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail
;
17790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= SWIG_From_int(static_cast<int >(result
));
17802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17803 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17810 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
= NULL
;
17812 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "sizePage", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17824 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxSize
* resultptr
;
17838 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17847 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= NULL
;
17849 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 wxColour
* resultptr
;
17868 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17877 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
= NULL
;
17879 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17880 wxVisualAttributes result
;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "variant", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17889 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17890 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 if (!wxPyCheckForApp()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 wxVisualAttributes
* resultptr
;
17903 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17912 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17917 return Py_BuildValue((char *)"");
17919 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
= NULL
;
17921 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17922 int arg2
= (int) 0 ;
17923 int arg3
= (int) -1 ;
17924 int arg4
= (int) -1 ;
17925 wxNotebookEvent
*result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 PyObject
* obj3
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17937 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17944 if (SWIG_arg_fail(2)) SWIG_fail
;
17949 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17950 if (SWIG_arg_fail(3)) SWIG_fail
;
17955 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17956 if (SWIG_arg_fail(4)) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17973 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17976 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17978 return Py_BuildValue((char *)"");
17980 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
= NULL
;
17982 wxWindow
*arg1
= (wxWindow
*) 0 ;
17983 int arg2
= (int) -1 ;
17984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17988 long arg5
= (long) 0 ;
17989 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17990 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17991 wxListbook
*result
;
17994 bool temp6
= false ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 PyObject
* obj3
= 0 ;
17999 PyObject
* obj4
= 0 ;
18000 PyObject
* obj5
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18011 if (SWIG_arg_fail(2)) SWIG_fail
;
18017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18028 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18029 if (SWIG_arg_fail(5)) SWIG_fail
;
18034 arg6
= wxString_in_helper(obj5
);
18035 if (arg6
== NULL
) SWIG_fail
;
18040 if (!wxPyCheckForApp()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18062 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
= NULL
;
18064 wxListbook
*result
;
18065 char *kwnames
[] = {
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
18071 if (!wxPyCheckForApp()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (wxListbook
*)new wxListbook();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18085 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= NULL
;
18087 wxListbook
*arg1
= (wxListbook
*) 0 ;
18088 wxWindow
*arg2
= (wxWindow
*) 0 ;
18089 int arg3
= (int) -1 ;
18090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18094 long arg6
= (long) 0 ;
18095 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18100 bool temp7
= false ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 PyObject
* obj3
= 0 ;
18105 PyObject
* obj4
= 0 ;
18106 PyObject
* obj5
= 0 ;
18107 PyObject
* obj6
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18114 if (SWIG_arg_fail(1)) SWIG_fail
;
18115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(2)) SWIG_fail
;
18119 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18120 if (SWIG_arg_fail(3)) SWIG_fail
;
18126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18137 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18138 if (SWIG_arg_fail(6)) SWIG_fail
;
18143 arg7
= wxString_in_helper(obj6
);
18144 if (arg7
== NULL
) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18172 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
= NULL
;
18174 wxListbook
*arg1
= (wxListbook
*) 0 ;
18175 wxListView
*result
;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (wxListView
*)(arg1
)->GetListView();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18198 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18203 return Py_BuildValue((char *)"");
18205 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
= NULL
;
18207 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18208 int arg2
= (int) 0 ;
18209 int arg3
= (int) -1 ;
18210 int arg4
= (int) -1 ;
18211 wxListbookEvent
*result
;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 PyObject
* obj3
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18223 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18224 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18230 if (SWIG_arg_fail(2)) SWIG_fail
;
18235 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18236 if (SWIG_arg_fail(3)) SWIG_fail
;
18241 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18242 if (SWIG_arg_fail(4)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18259 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18264 return Py_BuildValue((char *)"");
18266 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= NULL
;
18268 wxWindow
*arg1
= (wxWindow
*) 0 ;
18270 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18271 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18272 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18273 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18274 long arg5
= (long) 0 ;
18275 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18276 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18277 wxChoicebook
*result
;
18280 bool temp6
= false ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 PyObject
* obj3
= 0 ;
18285 PyObject
* obj4
= 0 ;
18286 PyObject
* obj5
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18296 if (SWIG_arg_fail(2)) SWIG_fail
;
18301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18312 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18313 if (SWIG_arg_fail(5)) SWIG_fail
;
18318 arg6
= wxString_in_helper(obj5
);
18319 if (arg6
== NULL
) SWIG_fail
;
18324 if (!wxPyCheckForApp()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18346 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= NULL
;
18348 wxChoicebook
*result
;
18349 char *kwnames
[] = {
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18355 if (!wxPyCheckForApp()) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (wxChoicebook
*)new wxChoicebook();
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18369 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
= NULL
;
18371 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18372 wxWindow
*arg2
= (wxWindow
*) 0 ;
18374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18378 long arg6
= (long) 0 ;
18379 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18384 bool temp7
= false ;
18385 PyObject
* obj0
= 0 ;
18386 PyObject
* obj1
= 0 ;
18387 PyObject
* obj2
= 0 ;
18388 PyObject
* obj3
= 0 ;
18389 PyObject
* obj4
= 0 ;
18390 PyObject
* obj5
= 0 ;
18391 PyObject
* obj6
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail
;
18402 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18403 if (SWIG_arg_fail(3)) SWIG_fail
;
18408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18419 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18420 if (SWIG_arg_fail(6)) SWIG_fail
;
18425 arg7
= wxString_in_helper(obj6
);
18426 if (arg7
== NULL
) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18454 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
= NULL
;
18456 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18480 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
= NULL
;
18482 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (bool)(arg1
)->DeleteAllPages();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18508 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18513 return Py_BuildValue((char *)"");
18515 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= NULL
;
18517 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18518 int arg2
= (int) 0 ;
18519 int arg3
= (int) -1 ;
18520 int arg4
= (int) -1 ;
18521 wxChoicebookEvent
*result
;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 PyObject
* obj2
= 0 ;
18525 PyObject
* obj3
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18533 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18534 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18540 if (SWIG_arg_fail(2)) SWIG_fail
;
18545 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18546 if (SWIG_arg_fail(3)) SWIG_fail
;
18551 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18552 if (SWIG_arg_fail(4)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18569 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18572 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18574 return Py_BuildValue((char *)"");
18576 static PyObject
*_wrap_new_Treebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
= NULL
;
18578 wxWindow
*arg1
= (wxWindow
*) 0 ;
18580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18584 long arg5
= (long) wxBK_DEFAULT
;
18585 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18587 wxTreebook
*result
;
18590 bool temp6
= false ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 PyObject
* obj2
= 0 ;
18594 PyObject
* obj3
= 0 ;
18595 PyObject
* obj4
= 0 ;
18596 PyObject
* obj5
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18603 if (SWIG_arg_fail(1)) SWIG_fail
;
18605 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18606 if (SWIG_arg_fail(2)) SWIG_fail
;
18611 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18617 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18622 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18623 if (SWIG_arg_fail(5)) SWIG_fail
;
18628 arg6
= wxString_in_helper(obj5
);
18629 if (arg6
== NULL
) SWIG_fail
;
18634 if (!wxPyCheckForApp()) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18656 static PyObject
*_wrap_new_PreTreebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
= NULL
;
18658 wxTreebook
*result
;
18659 char *kwnames
[] = {
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreebook",kwnames
)) goto fail
;
18665 if (!wxPyCheckForApp()) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (wxTreebook
*)new wxTreebook();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18679 static PyObject
*_wrap_Treebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
= NULL
;
18681 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18682 wxWindow
*arg2
= (wxWindow
*) 0 ;
18684 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18685 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18686 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18687 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18688 long arg6
= (long) wxBK_DEFAULT
;
18689 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18690 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18694 bool temp7
= false ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 PyObject
* obj2
= 0 ;
18698 PyObject
* obj3
= 0 ;
18699 PyObject
* obj4
= 0 ;
18700 PyObject
* obj5
= 0 ;
18701 PyObject
* obj6
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18710 if (SWIG_arg_fail(2)) SWIG_fail
;
18712 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18713 if (SWIG_arg_fail(3)) SWIG_fail
;
18718 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18724 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18729 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18730 if (SWIG_arg_fail(6)) SWIG_fail
;
18735 arg7
= wxString_in_helper(obj6
);
18736 if (arg7
== NULL
) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18764 static PyObject
*_wrap_Treebook_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= NULL
;
18766 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18768 wxWindow
*arg3
= (wxWindow
*) 0 ;
18769 wxString
*arg4
= 0 ;
18770 bool arg5
= (bool) false ;
18771 int arg6
= (int) wxNOT_FOUND
;
18773 bool temp4
= false ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 PyObject
* obj2
= 0 ;
18777 PyObject
* obj3
= 0 ;
18778 PyObject
* obj4
= 0 ;
18779 PyObject
* obj5
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18789 if (SWIG_arg_fail(2)) SWIG_fail
;
18791 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(3)) SWIG_fail
;
18794 arg4
= wxString_in_helper(obj3
);
18795 if (arg4
== NULL
) SWIG_fail
;
18800 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18801 if (SWIG_arg_fail(5)) SWIG_fail
;
18806 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18807 if (SWIG_arg_fail(6)) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18834 static PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
= NULL
;
18836 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18838 wxWindow
*arg3
= (wxWindow
*) 0 ;
18839 wxString
*arg4
= 0 ;
18840 bool arg5
= (bool) false ;
18841 int arg6
= (int) wxNOT_FOUND
;
18843 bool temp4
= false ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 PyObject
* obj3
= 0 ;
18848 PyObject
* obj4
= 0 ;
18849 PyObject
* obj5
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail
;
18858 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18859 if (SWIG_arg_fail(2)) SWIG_fail
;
18861 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(3)) SWIG_fail
;
18864 arg4
= wxString_in_helper(obj3
);
18865 if (arg4
== NULL
) SWIG_fail
;
18870 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18871 if (SWIG_arg_fail(5)) SWIG_fail
;
18876 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18877 if (SWIG_arg_fail(6)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18904 static PyObject
*_wrap_Treebook_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= NULL
;
18906 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18907 wxWindow
*arg2
= (wxWindow
*) 0 ;
18908 wxString
*arg3
= 0 ;
18909 bool arg4
= (bool) false ;
18910 int arg5
= (int) wxNOT_FOUND
;
18912 bool temp3
= false ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 PyObject
* obj2
= 0 ;
18916 PyObject
* obj3
= 0 ;
18917 PyObject
* obj4
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18926 if (SWIG_arg_fail(2)) SWIG_fail
;
18928 arg3
= wxString_in_helper(obj2
);
18929 if (arg3
== NULL
) SWIG_fail
;
18934 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18935 if (SWIG_arg_fail(4)) SWIG_fail
;
18940 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18941 if (SWIG_arg_fail(5)) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18968 static PyObject
*_wrap_Treebook_AddSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= NULL
;
18970 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18971 wxWindow
*arg2
= (wxWindow
*) 0 ;
18972 wxString
*arg3
= 0 ;
18973 bool arg4
= (bool) false ;
18974 int arg5
= (int) wxNOT_FOUND
;
18976 bool temp3
= false ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 PyObject
* obj2
= 0 ;
18980 PyObject
* obj3
= 0 ;
18981 PyObject
* obj4
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18990 if (SWIG_arg_fail(2)) SWIG_fail
;
18992 arg3
= wxString_in_helper(obj2
);
18993 if (arg3
== NULL
) SWIG_fail
;
18998 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18999 if (SWIG_arg_fail(4)) SWIG_fail
;
19004 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19005 if (SWIG_arg_fail(5)) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_Treebook_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= NULL
;
19034 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self",(char *) "pos", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
19044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail
;
19047 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19048 if (SWIG_arg_fail(2)) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (bool)(arg1
)->DeletePage(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= NULL
;
19068 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "pos", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19081 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19082 if (SWIG_arg_fail(2)) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19100 static PyObject
*_wrap_Treebook_ExpandNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
= NULL
;
19102 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19104 bool arg3
= (bool) true ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self",(char *) "pos",(char *) "expand", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19115 if (SWIG_arg_fail(1)) SWIG_fail
;
19117 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19118 if (SWIG_arg_fail(2)) SWIG_fail
;
19122 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19123 if (SWIG_arg_fail(3)) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19142 static PyObject
*_wrap_Treebook_CollapseNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
= NULL
;
19144 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "pos", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail
;
19157 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19158 if (SWIG_arg_fail(2)) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (bool)(arg1
)->CollapseNode(arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 static PyObject
*_wrap_Treebook_GetPageParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= NULL
;
19178 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "pos", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19191 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19192 if (SWIG_arg_fail(2)) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_From_int(static_cast<int >(result
));
19210 static PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
= NULL
;
19212 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19213 wxTreeCtrl
*result
;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Treebook_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
19220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
19236 static PyObject
* Treebook_swigregister(PyObject
*, PyObject
*args
) {
19238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19239 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook
, obj
);
19241 return Py_BuildValue((char *)"");
19243 static PyObject
*_wrap_new_TreebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
= NULL
;
19245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19246 int arg2
= (int) 0 ;
19247 int arg3
= (int) wxNOT_FOUND
;
19248 int arg4
= (int) wxNOT_FOUND
;
19249 wxTreebookEvent
*result
;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 PyObject
* obj2
= 0 ;
19253 PyObject
* obj3
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19261 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19267 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19268 if (SWIG_arg_fail(2)) SWIG_fail
;
19273 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19274 if (SWIG_arg_fail(3)) SWIG_fail
;
19279 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19280 if (SWIG_arg_fail(4)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebookEvent
, 1);
19297 static PyObject
* TreebookEvent_swigregister(PyObject
*, PyObject
*args
) {
19299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19300 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent
, obj
);
19302 return Py_BuildValue((char *)"");
19304 static PyObject
*_wrap_new_Toolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
= NULL
;
19306 wxWindow
*arg1
= (wxWindow
*) 0 ;
19308 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19309 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19310 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19311 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19312 long arg5
= (long) wxBK_DEFAULT
;
19313 wxString
const &arg6_defvalue
= wxPyEmptyString
;
19314 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19315 wxToolbook
*result
;
19318 bool temp6
= false ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 PyObject
* obj2
= 0 ;
19322 PyObject
* obj3
= 0 ;
19323 PyObject
* obj4
= 0 ;
19324 PyObject
* obj5
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19331 if (SWIG_arg_fail(1)) SWIG_fail
;
19333 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19334 if (SWIG_arg_fail(2)) SWIG_fail
;
19339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19350 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19351 if (SWIG_arg_fail(5)) SWIG_fail
;
19356 arg6
= wxString_in_helper(obj5
);
19357 if (arg6
== NULL
) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19383 static PyObject
*_wrap_new_PreToolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
= NULL
;
19385 wxToolbook
*result
;
19386 char *kwnames
[] = {
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolbook",kwnames
)) goto fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (wxToolbook
*)new wxToolbook();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19405 static PyObject
*_wrap_Toolbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
= NULL
;
19407 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19408 wxWindow
*arg2
= (wxWindow
*) 0 ;
19410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19414 long arg6
= (long) 0 ;
19415 wxString
const &arg7_defvalue
= wxEmptyString
;
19416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19420 bool temp7
= false ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 PyObject
* obj3
= 0 ;
19425 PyObject
* obj4
= 0 ;
19426 PyObject
* obj5
= 0 ;
19427 PyObject
* obj6
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail
;
19435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19439 if (SWIG_arg_fail(3)) SWIG_fail
;
19444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19455 arg6
= static_cast<long >(SWIG_As_long(obj5
));
19456 if (SWIG_arg_fail(6)) SWIG_fail
;
19461 arg7
= wxString_in_helper(obj6
);
19462 if (arg7
== NULL
) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19490 static PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= NULL
;
19492 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19493 wxToolBarBase
*result
;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_GetToolBar",kwnames
,&obj0
)) goto fail
;
19500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19518 static PyObject
*_wrap_Toolbook_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
= NULL
;
19520 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_Realize",kwnames
,&obj0
)) goto fail
;
19527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 Py_INCREF(Py_None
); resultobj
= Py_None
;
19543 static PyObject
* Toolbook_swigregister(PyObject
*, PyObject
*args
) {
19545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19546 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook
, obj
);
19548 return Py_BuildValue((char *)"");
19550 static PyObject
*_wrap_new_ToolbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
= NULL
;
19552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19553 int arg2
= (int) 0 ;
19554 int arg3
= (int) wxNOT_FOUND
;
19555 int arg4
= (int) wxNOT_FOUND
;
19556 wxToolbookEvent
*result
;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 PyObject
* obj2
= 0 ;
19560 PyObject
* obj3
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19568 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19569 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19575 if (SWIG_arg_fail(2)) SWIG_fail
;
19580 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19581 if (SWIG_arg_fail(3)) SWIG_fail
;
19586 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19587 if (SWIG_arg_fail(4)) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbookEvent
, 1);
19604 static PyObject
* ToolbookEvent_swigregister(PyObject
*, PyObject
*args
) {
19606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19607 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent
, obj
);
19609 return Py_BuildValue((char *)"");
19611 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
= NULL
;
19613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
19621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19622 if (SWIG_arg_fail(1)) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (int)(arg1
)->GetId();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_From_int(static_cast<int >(result
));
19639 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
= NULL
;
19641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
19649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19650 if (SWIG_arg_fail(1)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (wxControl
*)(arg1
)->GetControl();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= wxPyMake_wxObject(result
, 0);
19667 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
= NULL
;
19669 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19670 wxToolBarBase
*result
;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19695 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
= NULL
;
19697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
19705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (int)(arg1
)->IsButton();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_From_int(static_cast<int >(result
));
19723 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= NULL
;
19725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
19733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (int)(arg1
)->IsControl();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_From_int(static_cast<int >(result
));
19751 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
= NULL
;
19753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
19761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)(arg1
)->IsSeparator();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_From_int(static_cast<int >(result
));
19779 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
= NULL
;
19781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (int)(arg1
)->GetStyle();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_From_int(static_cast<int >(result
));
19807 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= NULL
;
19809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
19817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (wxItemKind
)(arg1
)->GetKind();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_From_int((result
));
19833 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
= NULL
;
19835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
19843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (bool)(arg1
)->IsEnabled();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19861 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= NULL
;
19863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
19871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (bool)(arg1
)->IsToggled();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= NULL
;
19891 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (bool)(arg1
)->CanBeToggled();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= NULL
;
19919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
19927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
19933 result
= (wxBitmap
*) &_result_ref
;
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 wxBitmap
* resultptr
= new wxBitmap(*result
);
19941 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19949 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
= NULL
;
19951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 char *kwnames
[] = {
19955 (char *) "self", NULL
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
19959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
19965 result
= (wxBitmap
*) &_result_ref
;
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 wxBitmap
* resultptr
= new wxBitmap(*result
);
19973 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19981 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= NULL
;
19983 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (arg1
)->GetBitmap();
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 wxBitmap
* resultptr
;
20002 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
20003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
20011 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
= NULL
;
20013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",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();
20025 result
= (arg1
)->GetLabel();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20043 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
= NULL
;
20045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (arg1
)->GetShortHelp();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20075 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= NULL
;
20077 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
20085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (arg1
)->GetLongHelp();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20107 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= NULL
;
20109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "enable", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20123 if (SWIG_arg_fail(2)) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (bool)(arg1
)->Enable(arg2
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20141 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= NULL
;
20143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
20150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 Py_INCREF(Py_None
); resultobj
= Py_None
;
20166 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= NULL
;
20168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self",(char *) "toggle", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
20178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20179 if (SWIG_arg_fail(1)) SWIG_fail
;
20181 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20182 if (SWIG_arg_fail(2)) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 result
= (bool)(arg1
)->SetToggle(arg2
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20200 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= NULL
;
20202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20203 wxString
*arg2
= 0 ;
20205 bool temp2
= false ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "help", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20214 if (SWIG_arg_fail(1)) SWIG_fail
;
20216 arg2
= wxString_in_helper(obj1
);
20217 if (arg2
== NULL
) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20244 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
= NULL
;
20246 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20247 wxString
*arg2
= 0 ;
20249 bool temp2
= false ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "help", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail
;
20260 arg2
= wxString_in_helper(obj1
);
20261 if (arg2
== NULL
) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
= NULL
;
20290 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20291 wxBitmap
*arg2
= 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "bmp", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20303 if (SWIG_arg_fail(2)) SWIG_fail
;
20304 if (arg2
== NULL
) {
20305 SWIG_null_ref("wxBitmap");
20307 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
= NULL
;
20325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20326 wxBitmap
*arg2
= 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "bmp", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20338 if (SWIG_arg_fail(2)) SWIG_fail
;
20339 if (arg2
== NULL
) {
20340 SWIG_null_ref("wxBitmap");
20342 if (SWIG_arg_fail(2)) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= NULL
;
20360 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20361 wxString
*arg2
= 0 ;
20362 bool temp2
= false ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "label", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail
;
20373 arg2
= wxString_in_helper(obj1
);
20374 if (arg2
== NULL
) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetLabel((wxString
const &)*arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
= NULL
;
20401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 Py_INCREF(Py_None
); resultobj
= Py_None
;
20424 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
= NULL
;
20426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20427 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "tbar", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(2)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->Attach(arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
= NULL
;
20455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
20463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= result
;
20479 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
= NULL
;
20481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20482 PyObject
*arg2
= (PyObject
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self",(char *) "clientData", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20491 if (SWIG_arg_fail(1)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 wxToolBarToolBase_SetClientData(arg1
,arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 Py_INCREF(Py_None
); resultobj
= Py_None
;
20507 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
20509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20510 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
20512 return Py_BuildValue((char *)"");
20514 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
= NULL
;
20516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20518 wxString
*arg3
= 0 ;
20519 wxBitmap
*arg4
= 0 ;
20520 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
20521 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
20522 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
20523 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20525 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20526 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20527 PyObject
*arg9
= (PyObject
*) NULL
;
20528 wxToolBarToolBase
*result
;
20529 bool temp3
= false ;
20530 bool temp7
= false ;
20531 bool temp8
= false ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20534 PyObject
* obj2
= 0 ;
20535 PyObject
* obj3
= 0 ;
20536 PyObject
* obj4
= 0 ;
20537 PyObject
* obj5
= 0 ;
20538 PyObject
* obj6
= 0 ;
20539 PyObject
* obj7
= 0 ;
20540 PyObject
* obj8
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
20546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20547 if (SWIG_arg_fail(1)) SWIG_fail
;
20549 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20550 if (SWIG_arg_fail(2)) SWIG_fail
;
20553 arg3
= wxString_in_helper(obj2
);
20554 if (arg3
== NULL
) SWIG_fail
;
20558 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(4)) SWIG_fail
;
20560 if (arg4
== NULL
) {
20561 SWIG_null_ref("wxBitmap");
20563 if (SWIG_arg_fail(4)) SWIG_fail
;
20567 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20568 if (SWIG_arg_fail(5)) SWIG_fail
;
20569 if (arg5
== NULL
) {
20570 SWIG_null_ref("wxBitmap");
20572 if (SWIG_arg_fail(5)) SWIG_fail
;
20577 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
20578 if (SWIG_arg_fail(6)) SWIG_fail
;
20583 arg7
= wxString_in_helper(obj6
);
20584 if (arg7
== NULL
) SWIG_fail
;
20590 arg8
= wxString_in_helper(obj7
);
20591 if (arg8
== NULL
) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20638 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= NULL
;
20640 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20643 wxString
*arg4
= 0 ;
20644 wxBitmap
*arg5
= 0 ;
20645 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
20646 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
20647 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
20648 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20649 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20650 wxString
const &arg9_defvalue
= wxPyEmptyString
;
20651 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
20652 PyObject
*arg10
= (PyObject
*) NULL
;
20653 wxToolBarToolBase
*result
;
20654 bool temp4
= false ;
20655 bool temp8
= false ;
20656 bool temp9
= false ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 PyObject
* obj2
= 0 ;
20660 PyObject
* obj3
= 0 ;
20661 PyObject
* obj4
= 0 ;
20662 PyObject
* obj5
= 0 ;
20663 PyObject
* obj6
= 0 ;
20664 PyObject
* obj7
= 0 ;
20665 PyObject
* obj8
= 0 ;
20666 PyObject
* obj9
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
20672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20676 if (SWIG_arg_fail(2)) SWIG_fail
;
20679 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20680 if (SWIG_arg_fail(3)) SWIG_fail
;
20683 arg4
= wxString_in_helper(obj3
);
20684 if (arg4
== NULL
) SWIG_fail
;
20688 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20689 if (SWIG_arg_fail(5)) SWIG_fail
;
20690 if (arg5
== NULL
) {
20691 SWIG_null_ref("wxBitmap");
20693 if (SWIG_arg_fail(5)) SWIG_fail
;
20697 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(6)) SWIG_fail
;
20699 if (arg6
== NULL
) {
20700 SWIG_null_ref("wxBitmap");
20702 if (SWIG_arg_fail(6)) SWIG_fail
;
20707 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
20708 if (SWIG_arg_fail(7)) SWIG_fail
;
20713 arg8
= wxString_in_helper(obj7
);
20714 if (arg8
== NULL
) SWIG_fail
;
20720 arg9
= wxString_in_helper(obj8
);
20721 if (arg9
== NULL
) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20768 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
= NULL
;
20770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20771 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
20772 wxToolBarToolBase
*result
;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self",(char *) "tool", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20783 if (SWIG_arg_fail(2)) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20800 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
= NULL
;
20802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20804 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
20805 wxToolBarToolBase
*result
;
20806 PyObject
* obj0
= 0 ;
20807 PyObject
* obj1
= 0 ;
20808 PyObject
* obj2
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "pos",(char *) "tool", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20815 if (SWIG_arg_fail(1)) SWIG_fail
;
20817 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20818 if (SWIG_arg_fail(2)) SWIG_fail
;
20820 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(3)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20838 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
= NULL
;
20840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20841 wxControl
*arg2
= (wxControl
*) 0 ;
20842 wxToolBarToolBase
*result
;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self",(char *) "control", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20853 if (SWIG_arg_fail(2)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20870 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
= NULL
;
20872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20874 wxControl
*arg3
= (wxControl
*) 0 ;
20875 wxToolBarToolBase
*result
;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 PyObject
* obj2
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self",(char *) "pos",(char *) "control", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20885 if (SWIG_arg_fail(1)) SWIG_fail
;
20887 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20888 if (SWIG_arg_fail(2)) SWIG_fail
;
20890 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20891 if (SWIG_arg_fail(3)) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20908 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= NULL
;
20910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self",(char *) "id", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail
;
20923 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20924 if (SWIG_arg_fail(2)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= wxPyMake_wxObject(result
, 0);
20942 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
= NULL
;
20944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20945 wxToolBarToolBase
*result
;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
20952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20970 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
= NULL
;
20972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20974 wxToolBarToolBase
*result
;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "pos", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail
;
20985 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20986 if (SWIG_arg_fail(2)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21004 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= NULL
;
21006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21008 wxToolBarToolBase
*result
;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "id", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail
;
21019 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21020 if (SWIG_arg_fail(2)) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21038 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= NULL
;
21040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "pos", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21051 if (SWIG_arg_fail(1)) SWIG_fail
;
21053 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
21054 if (SWIG_arg_fail(2)) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21072 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
= NULL
;
21074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self",(char *) "id", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21088 if (SWIG_arg_fail(2)) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (bool)(arg1
)->DeleteTool(arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21106 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= NULL
;
21108 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
21115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 (arg1
)->ClearTools();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 Py_INCREF(Py_None
); resultobj
= Py_None
;
21131 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= NULL
;
21133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
21141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (bool)(arg1
)->Realize();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= NULL
;
21161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 PyObject
* obj2
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self",(char *) "id",(char *) "enable", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail
;
21175 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21176 if (SWIG_arg_fail(2)) SWIG_fail
;
21179 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21180 if (SWIG_arg_fail(3)) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 (arg1
)->EnableTool(arg2
,arg3
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
= NULL
;
21198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 PyObject
* obj1
= 0 ;
21203 PyObject
* obj2
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "id",(char *) "toggle", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail
;
21212 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21213 if (SWIG_arg_fail(2)) SWIG_fail
;
21216 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21217 if (SWIG_arg_fail(3)) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 (arg1
)->ToggleTool(arg2
,arg3
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 Py_INCREF(Py_None
); resultobj
= Py_None
;
21233 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
= NULL
;
21235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "id",(char *) "toggle", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail
;
21249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21250 if (SWIG_arg_fail(2)) SWIG_fail
;
21253 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21254 if (SWIG_arg_fail(3)) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->SetToggle(arg2
,arg3
);
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 Py_INCREF(Py_None
); resultobj
= Py_None
;
21270 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
= NULL
;
21272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "id", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail
;
21285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21286 if (SWIG_arg_fail(2)) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= result
;
21302 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= NULL
;
21304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21306 PyObject
*arg3
= (PyObject
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self",(char *) "id",(char *) "clientData", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21319 if (SWIG_arg_fail(2)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 Py_INCREF(Py_None
); resultobj
= Py_None
;
21336 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
= NULL
;
21338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "id", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21352 if (SWIG_arg_fail(2)) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_From_int(static_cast<int >(result
));
21370 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
= NULL
;
21372 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "id", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21386 if (SWIG_arg_fail(2)) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (bool)(arg1
)->GetToolState(arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21404 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
= NULL
;
21406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "id", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21420 if (SWIG_arg_fail(2)) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21438 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= NULL
;
21440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21442 wxString
*arg3
= 0 ;
21443 bool temp3
= false ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "id",(char *) "helpString", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21456 if (SWIG_arg_fail(2)) SWIG_fail
;
21459 arg3
= wxString_in_helper(obj2
);
21460 if (arg3
== NULL
) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
= NULL
;
21487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "id", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21498 if (SWIG_arg_fail(1)) SWIG_fail
;
21500 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21501 if (SWIG_arg_fail(2)) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (arg1
)->GetToolShortHelp(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21523 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
= NULL
;
21525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21527 wxString
*arg3
= 0 ;
21528 bool temp3
= false ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 PyObject
* obj2
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "id",(char *) "helpString", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail
;
21540 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21541 if (SWIG_arg_fail(2)) SWIG_fail
;
21544 arg3
= wxString_in_helper(obj2
);
21545 if (arg3
== NULL
) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
= NULL
;
21572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "id", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21583 if (SWIG_arg_fail(1)) SWIG_fail
;
21585 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21586 if (SWIG_arg_fail(2)) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (arg1
)->GetToolLongHelp(arg2
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21608 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
= NULL
;
21610 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 PyObject
* obj2
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self",(char *) "x",(char *) "y", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail
;
21624 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21625 if (SWIG_arg_fail(2)) SWIG_fail
;
21628 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21629 if (SWIG_arg_fail(3)) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetMargins(arg2
,arg3
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
= NULL
;
21647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self",(char *) "size", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail
;
21661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->SetMargins((wxSize
const &)*arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= NULL
;
21679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "packing", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21692 if (SWIG_arg_fail(2)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 (arg1
)->SetToolPacking(arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 Py_INCREF(Py_None
); resultobj
= Py_None
;
21708 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
= NULL
;
21710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "separation", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21722 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21723 if (SWIG_arg_fail(2)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 (arg1
)->SetToolSeparation(arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 Py_INCREF(Py_None
); resultobj
= Py_None
;
21739 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= NULL
;
21741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21743 PyObject
* obj0
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
21749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (arg1
)->GetToolMargins();
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 wxSize
* resultptr
;
21760 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21769 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
= NULL
;
21771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
21779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (arg1
)->GetMargins();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21789 wxSize
* resultptr
;
21790 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21799 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
= NULL
;
21801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
21809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21810 if (SWIG_arg_fail(1)) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (int)(arg1
)->GetToolPacking();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast<int >(result
));
21827 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= NULL
;
21829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
21837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21838 if (SWIG_arg_fail(1)) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (int)(arg1
)->GetToolSeparation();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_From_int(static_cast<int >(result
));
21855 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
= NULL
;
21857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "nRows", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21869 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21870 if (SWIG_arg_fail(2)) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 (arg1
)->SetRows(arg2
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= NULL
;
21888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 PyObject
* obj2
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "rows",(char *) "cols", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21903 if (SWIG_arg_fail(2)) SWIG_fail
;
21906 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21907 if (SWIG_arg_fail(3)) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 Py_INCREF(Py_None
); resultobj
= Py_None
;
21923 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
= NULL
;
21925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21927 PyObject
* obj0
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
21933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21934 if (SWIG_arg_fail(1)) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (int)(arg1
)->GetMaxRows();
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= SWIG_From_int(static_cast<int >(result
));
21951 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
= NULL
;
21953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
21961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (int)(arg1
)->GetMaxCols();
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_From_int(static_cast<int >(result
));
21979 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
= NULL
;
21981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "size", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
= NULL
;
22013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
22021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (arg1
)->GetToolBitmapSize();
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 wxSize
* resultptr
;
22032 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22041 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
= NULL
;
22043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22045 PyObject
* obj0
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
22051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (arg1
)->GetToolSize();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 wxSize
* resultptr
;
22062 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22071 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
= NULL
;
22073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22076 wxToolBarToolBase
*result
;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 PyObject
* obj2
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "x",(char *) "y", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22088 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22089 if (SWIG_arg_fail(2)) SWIG_fail
;
22092 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22093 if (SWIG_arg_fail(3)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22111 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= NULL
;
22113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22115 wxToolBarToolBase
*result
;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self",(char *) "toolid", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
22123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail
;
22126 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22127 if (SWIG_arg_fail(2)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22145 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= NULL
;
22147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)(arg1
)->IsVertical();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
22175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22176 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
22178 return Py_BuildValue((char *)"");
22180 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
= NULL
;
22182 wxWindow
*arg1
= (wxWindow
*) 0 ;
22183 int arg2
= (int) -1 ;
22184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22186 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22187 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22188 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22189 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
22190 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22194 bool temp6
= false ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 PyObject
* obj2
= 0 ;
22198 PyObject
* obj3
= 0 ;
22199 PyObject
* obj4
= 0 ;
22200 PyObject
* obj5
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22211 if (SWIG_arg_fail(2)) SWIG_fail
;
22217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22223 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22228 arg5
= static_cast<long >(SWIG_As_long(obj4
));
22229 if (SWIG_arg_fail(5)) SWIG_fail
;
22234 arg6
= wxString_in_helper(obj5
);
22235 if (arg6
== NULL
) SWIG_fail
;
22240 if (!wxPyCheckForApp()) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22262 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
= NULL
;
22265 char *kwnames
[] = {
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
22271 if (!wxPyCheckForApp()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (wxToolBar
*)new wxToolBar();
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22285 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= NULL
;
22287 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22288 wxWindow
*arg2
= (wxWindow
*) 0 ;
22289 int arg3
= (int) -1 ;
22290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22294 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22295 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
22296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22300 bool temp7
= false ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 PyObject
* obj2
= 0 ;
22304 PyObject
* obj3
= 0 ;
22305 PyObject
* obj4
= 0 ;
22306 PyObject
* obj5
= 0 ;
22307 PyObject
* obj6
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22316 if (SWIG_arg_fail(2)) SWIG_fail
;
22319 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22320 if (SWIG_arg_fail(3)) SWIG_fail
;
22326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22337 arg6
= static_cast<long >(SWIG_As_long(obj5
));
22338 if (SWIG_arg_fail(6)) SWIG_fail
;
22343 arg7
= wxString_in_helper(obj6
);
22344 if (arg7
== NULL
) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= NULL
;
22374 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22377 wxToolBarToolBase
*result
;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 PyObject
* obj2
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self",(char *) "x",(char *) "y", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22390 if (SWIG_arg_fail(2)) SWIG_fail
;
22393 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22394 if (SWIG_arg_fail(3)) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22412 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
= NULL
;
22414 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
22415 wxVisualAttributes result
;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "variant", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22424 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
22425 if (SWIG_arg_fail(1)) SWIG_fail
;
22429 if (!wxPyCheckForApp()) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 wxVisualAttributes
* resultptr
;
22438 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
22439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22447 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
22449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22450 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
22452 return Py_BuildValue((char *)"");
22454 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
22455 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
22460 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
22461 PyObject
*pyobj
= NULL
;
22465 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22467 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22474 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= NULL
;
22476 wxColour
const &arg1_defvalue
= wxNullColour
;
22477 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
22478 wxColour
const &arg2_defvalue
= wxNullColour
;
22479 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
22480 wxFont
const &arg3_defvalue
= wxNullFont
;
22481 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
22482 wxListItemAttr
*result
;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 PyObject
* obj2
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22496 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
22502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22507 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22508 if (SWIG_arg_fail(3)) SWIG_fail
;
22509 if (arg3
== NULL
) {
22510 SWIG_null_ref("wxFont");
22512 if (SWIG_arg_fail(3)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
22529 static PyObject
*_wrap_delete_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
= NULL
;
22531 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItemAttr",kwnames
,&obj0
)) goto fail
;
22538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 Py_INCREF(Py_None
); resultobj
= Py_None
;
22554 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= NULL
;
22556 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22557 wxColour
*arg2
= 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "colText", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22567 if (SWIG_arg_fail(1)) SWIG_fail
;
22570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 Py_INCREF(Py_None
); resultobj
= Py_None
;
22586 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
= NULL
;
22588 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22589 wxColour
*arg2
= 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "colBack", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail
;
22602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
= NULL
;
22620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self",(char *) "font", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22630 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(2)) SWIG_fail
;
22634 if (arg2
== NULL
) {
22635 SWIG_null_ref("wxFont");
22637 if (SWIG_arg_fail(2)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 (arg1
)->SetFont((wxFont
const &)*arg2
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 Py_INCREF(Py_None
); resultobj
= Py_None
;
22653 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
= NULL
;
22655 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
22663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (bool)(arg1
)->HasTextColour();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22681 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
= NULL
;
22683 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
22691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (bool)(arg1
)->HasBackgroundColour();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22709 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
= NULL
;
22711 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (bool)(arg1
)->HasFont();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22737 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
= NULL
;
22739 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
22747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (arg1
)->GetTextColour();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 wxColour
* resultptr
;
22758 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22767 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
= NULL
;
22769 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (arg1
)->GetBackgroundColour();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 wxColour
* resultptr
;
22788 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22797 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
= NULL
;
22799 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
22807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (arg1
)->GetFont();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 wxFont
* resultptr
;
22818 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22827 static PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
= NULL
;
22829 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22830 wxListItemAttr
*arg2
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "source", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(2)) SWIG_fail
;
22843 if (arg2
== NULL
) {
22844 SWIG_null_ref("wxListItemAttr");
22846 if (SWIG_arg_fail(2)) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= NULL
;
22864 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 wxListItemAttr_Destroy(arg1
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
22889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22890 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
22892 return Py_BuildValue((char *)"");
22894 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
= NULL
;
22896 wxListItem
*result
;
22897 char *kwnames
[] = {
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxListItem
*)new wxListItem();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= wxPyMake_wxObject(result
, (bool)1);
22918 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
= NULL
;
22920 wxListItem
*arg1
= (wxListItem
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
= NULL
;
22945 wxListItem
*arg1
= (wxListItem
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
22952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= NULL
;
22970 wxListItem
*arg1
= (wxListItem
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->ClearAttributes();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
= NULL
;
22995 wxListItem
*arg1
= (wxListItem
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self",(char *) "mask", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23005 if (SWIG_arg_fail(1)) SWIG_fail
;
23007 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23008 if (SWIG_arg_fail(2)) SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 (arg1
)->SetMask(arg2
);
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 Py_INCREF(Py_None
); resultobj
= Py_None
;
23024 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
= NULL
;
23026 wxListItem
*arg1
= (wxListItem
*) 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self",(char *) "id", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23036 if (SWIG_arg_fail(1)) SWIG_fail
;
23038 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23039 if (SWIG_arg_fail(2)) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->SetId(arg2
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
= NULL
;
23057 wxListItem
*arg1
= (wxListItem
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "col", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23069 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23070 if (SWIG_arg_fail(2)) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 (arg1
)->SetColumn(arg2
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
= NULL
;
23088 wxListItem
*arg1
= (wxListItem
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 PyObject
* obj1
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self",(char *) "state", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
23097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail
;
23100 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23101 if (SWIG_arg_fail(2)) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 (arg1
)->SetState(arg2
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 Py_INCREF(Py_None
); resultobj
= Py_None
;
23117 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
= NULL
;
23119 wxListItem
*arg1
= (wxListItem
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 PyObject
* obj1
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self",(char *) "stateMask", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23129 if (SWIG_arg_fail(1)) SWIG_fail
;
23131 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23132 if (SWIG_arg_fail(2)) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->SetStateMask(arg2
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= NULL
;
23150 wxListItem
*arg1
= (wxListItem
*) 0 ;
23151 wxString
*arg2
= 0 ;
23152 bool temp2
= false ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "text", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23163 arg2
= wxString_in_helper(obj1
);
23164 if (arg2
== NULL
) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 (arg1
)->SetText((wxString
const &)*arg2
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23189 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
= NULL
;
23191 wxListItem
*arg1
= (wxListItem
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "image", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23204 if (SWIG_arg_fail(2)) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetImage(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= NULL
;
23222 wxListItem
*arg1
= (wxListItem
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "data", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail
;
23234 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23235 if (SWIG_arg_fail(2)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 (arg1
)->SetData(arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
= NULL
;
23253 wxListItem
*arg1
= (wxListItem
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "width", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23266 if (SWIG_arg_fail(2)) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 (arg1
)->SetWidth(arg2
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 Py_INCREF(Py_None
); resultobj
= Py_None
;
23282 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
= NULL
;
23284 wxListItem
*arg1
= (wxListItem
*) 0 ;
23285 wxListColumnFormat arg2
;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self",(char *) "align", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
23297 if (SWIG_arg_fail(2)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 (arg1
)->SetAlign(arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23313 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
= NULL
;
23315 wxListItem
*arg1
= (wxListItem
*) 0 ;
23316 wxColour
*arg2
= 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "colText", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 Py_INCREF(Py_None
); resultobj
= Py_None
;
23345 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= NULL
;
23347 wxListItem
*arg1
= (wxListItem
*) 0 ;
23348 wxColour
*arg2
= 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "colBack", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= NULL
;
23379 wxListItem
*arg1
= (wxListItem
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "font", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail
;
23391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23392 if (SWIG_arg_fail(2)) SWIG_fail
;
23393 if (arg2
== NULL
) {
23394 SWIG_null_ref("wxFont");
23396 if (SWIG_arg_fail(2)) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 (arg1
)->SetFont((wxFont
const &)*arg2
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 Py_INCREF(Py_None
); resultobj
= Py_None
;
23412 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
= NULL
;
23414 wxListItem
*arg1
= (wxListItem
*) 0 ;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
23422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (long)(arg1
)->GetMask();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_From_long(static_cast<long >(result
));
23440 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= NULL
;
23442 wxListItem
*arg1
= (wxListItem
*) 0 ;
23444 PyObject
* obj0
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
23450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (long)(arg1
)->GetId();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_long(static_cast<long >(result
));
23468 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
= NULL
;
23470 wxListItem
*arg1
= (wxListItem
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
23478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (int)(arg1
)->GetColumn();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_From_int(static_cast<int >(result
));
23496 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
= NULL
;
23498 wxListItem
*arg1
= (wxListItem
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
23506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (long)(arg1
)->GetState();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_From_long(static_cast<long >(result
));
23524 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= NULL
;
23526 wxListItem
*arg1
= (wxListItem
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
23534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23535 if (SWIG_arg_fail(1)) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 wxString
const &_result_ref
= (arg1
)->GetText();
23540 result
= (wxString
*) &_result_ref
;
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23559 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
= NULL
;
23561 wxListItem
*arg1
= (wxListItem
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
23569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (int)(arg1
)->GetImage();
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_From_int(static_cast<int >(result
));
23587 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
= NULL
;
23589 wxListItem
*arg1
= (wxListItem
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
23597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (long)(arg1
)->GetData();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_From_long(static_cast<long >(result
));
23615 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= NULL
;
23617 wxListItem
*arg1
= (wxListItem
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
23625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (int)(arg1
)->GetWidth();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_From_int(static_cast<int >(result
));
23643 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
= NULL
;
23645 wxListItem
*arg1
= (wxListItem
*) 0 ;
23646 wxListColumnFormat result
;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_From_int((result
));
23669 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
= NULL
;
23671 wxListItem
*arg1
= (wxListItem
*) 0 ;
23672 wxListItemAttr
*result
;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
23679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
23695 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
= NULL
;
23697 wxListItem
*arg1
= (wxListItem
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
23705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (bool)(arg1
)->HasAttributes();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23723 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= NULL
;
23725 wxListItem
*arg1
= (wxListItem
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
23733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23734 if (SWIG_arg_fail(1)) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= ((wxListItem
const *)arg1
)->GetTextColour();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 wxColour
* resultptr
;
23744 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23753 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
= NULL
;
23755 wxListItem
*arg1
= (wxListItem
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 wxColour
* resultptr
;
23774 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23783 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= NULL
;
23785 wxListItem
*arg1
= (wxListItem
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= ((wxListItem
const *)arg1
)->GetFont();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 wxFont
* resultptr
;
23804 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
23805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23813 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= NULL
;
23815 wxListItem
*arg1
= (wxListItem
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "m_mask", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23828 if (SWIG_arg_fail(2)) SWIG_fail
;
23830 if (arg1
) (arg1
)->m_mask
= arg2
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
= NULL
;
23841 wxListItem
*arg1
= (wxListItem
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
23849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail
;
23851 result
= (long) ((arg1
)->m_mask
);
23854 resultobj
= SWIG_From_long(static_cast<long >(result
));
23862 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= NULL
;
23864 wxListItem
*arg1
= (wxListItem
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self",(char *) "m_itemId", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail
;
23876 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23877 if (SWIG_arg_fail(2)) SWIG_fail
;
23879 if (arg1
) (arg1
)->m_itemId
= arg2
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
= NULL
;
23890 wxListItem
*arg1
= (wxListItem
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
23898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail
;
23900 result
= (long) ((arg1
)->m_itemId
);
23903 resultobj
= SWIG_From_long(static_cast<long >(result
));
23911 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= NULL
;
23913 wxListItem
*arg1
= (wxListItem
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "m_col", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail
;
23925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23926 if (SWIG_arg_fail(2)) SWIG_fail
;
23928 if (arg1
) (arg1
)->m_col
= arg2
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= NULL
;
23939 wxListItem
*arg1
= (wxListItem
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
23947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail
;
23949 result
= (int) ((arg1
)->m_col
);
23952 resultobj
= SWIG_From_int(static_cast<int >(result
));
23960 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
= NULL
;
23962 wxListItem
*arg1
= (wxListItem
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "m_state", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail
;
23974 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23975 if (SWIG_arg_fail(2)) SWIG_fail
;
23977 if (arg1
) (arg1
)->m_state
= arg2
;
23979 Py_INCREF(Py_None
); resultobj
= Py_None
;
23986 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
= NULL
;
23988 wxListItem
*arg1
= (wxListItem
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
23996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail
;
23998 result
= (long) ((arg1
)->m_state
);
24001 resultobj
= SWIG_From_long(static_cast<long >(result
));
24009 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
= NULL
;
24011 wxListItem
*arg1
= (wxListItem
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "m_stateMask", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail
;
24023 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24024 if (SWIG_arg_fail(2)) SWIG_fail
;
24026 if (arg1
) (arg1
)->m_stateMask
= arg2
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
= NULL
;
24037 wxListItem
*arg1
= (wxListItem
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
24045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24046 if (SWIG_arg_fail(1)) SWIG_fail
;
24047 result
= (long) ((arg1
)->m_stateMask
);
24050 resultobj
= SWIG_From_long(static_cast<long >(result
));
24058 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= NULL
;
24060 wxListItem
*arg1
= (wxListItem
*) 0 ;
24061 wxString
*arg2
= (wxString
*) 0 ;
24062 bool temp2
= false ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "m_text", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24071 if (SWIG_arg_fail(1)) SWIG_fail
;
24073 arg2
= wxString_in_helper(obj1
);
24074 if (arg2
== NULL
) SWIG_fail
;
24077 if (arg1
) (arg1
)->m_text
= *arg2
;
24079 Py_INCREF(Py_None
); resultobj
= Py_None
;
24094 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= NULL
;
24096 wxListItem
*arg1
= (wxListItem
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24106 result
= (wxString
*)& ((arg1
)->m_text
);
24110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24121 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
= NULL
;
24123 wxListItem
*arg1
= (wxListItem
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "m_image", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail
;
24135 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24136 if (SWIG_arg_fail(2)) SWIG_fail
;
24138 if (arg1
) (arg1
)->m_image
= arg2
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
= NULL
;
24149 wxListItem
*arg1
= (wxListItem
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
24157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail
;
24159 result
= (int) ((arg1
)->m_image
);
24162 resultobj
= SWIG_From_int(static_cast<int >(result
));
24170 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= NULL
;
24172 wxListItem
*arg1
= (wxListItem
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self",(char *) "m_data", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail
;
24184 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24185 if (SWIG_arg_fail(2)) SWIG_fail
;
24187 if (arg1
) (arg1
)->m_data
= arg2
;
24189 Py_INCREF(Py_None
); resultobj
= Py_None
;
24196 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= NULL
;
24198 wxListItem
*arg1
= (wxListItem
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
24206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail
;
24208 result
= (long) ((arg1
)->m_data
);
24211 resultobj
= SWIG_From_long(static_cast<long >(result
));
24219 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
= NULL
;
24221 wxListItem
*arg1
= (wxListItem
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self",(char *) "m_format", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail
;
24233 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24234 if (SWIG_arg_fail(2)) SWIG_fail
;
24236 if (arg1
) (arg1
)->m_format
= arg2
;
24238 Py_INCREF(Py_None
); resultobj
= Py_None
;
24245 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
= NULL
;
24247 wxListItem
*arg1
= (wxListItem
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
24255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail
;
24257 result
= (int) ((arg1
)->m_format
);
24260 resultobj
= SWIG_From_int(static_cast<int >(result
));
24268 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
= NULL
;
24270 wxListItem
*arg1
= (wxListItem
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "m_width", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail
;
24282 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24283 if (SWIG_arg_fail(2)) SWIG_fail
;
24285 if (arg1
) (arg1
)->m_width
= arg2
;
24287 Py_INCREF(Py_None
); resultobj
= Py_None
;
24294 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
= NULL
;
24296 wxListItem
*arg1
= (wxListItem
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
24304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24305 if (SWIG_arg_fail(1)) SWIG_fail
;
24306 result
= (int) ((arg1
)->m_width
);
24309 resultobj
= SWIG_From_int(static_cast<int >(result
));
24317 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
24319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24320 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
24322 return Py_BuildValue((char *)"");
24324 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= NULL
;
24326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24327 int arg2
= (int) 0 ;
24328 wxListEvent
*result
;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "commandType",(char *) "id", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24344 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24345 if (SWIG_arg_fail(2)) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
24362 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
= NULL
;
24364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self",(char *) "m_code", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail
;
24376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24377 if (SWIG_arg_fail(2)) SWIG_fail
;
24379 if (arg1
) (arg1
)->m_code
= arg2
;
24381 Py_INCREF(Py_None
); resultobj
= Py_None
;
24388 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= NULL
;
24390 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
24398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail
;
24400 result
= (int) ((arg1
)->m_code
);
24403 resultobj
= SWIG_From_int(static_cast<int >(result
));
24411 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= NULL
;
24413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self",(char *) "m_oldItemIndex", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24423 if (SWIG_arg_fail(1)) SWIG_fail
;
24425 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24426 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
24430 Py_INCREF(Py_None
); resultobj
= Py_None
;
24437 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= NULL
;
24439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
24447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail
;
24449 result
= (long) ((arg1
)->m_oldItemIndex
);
24452 resultobj
= SWIG_From_long(static_cast<long >(result
));
24460 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
= NULL
;
24462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "m_itemIndex", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24474 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24475 if (SWIG_arg_fail(2)) SWIG_fail
;
24477 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= NULL
;
24488 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
24496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24497 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 result
= (long) ((arg1
)->m_itemIndex
);
24501 resultobj
= SWIG_From_long(static_cast<long >(result
));
24509 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= NULL
;
24511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "m_col", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24524 if (SWIG_arg_fail(2)) SWIG_fail
;
24526 if (arg1
) (arg1
)->m_col
= arg2
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= NULL
;
24537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24547 result
= (int) ((arg1
)->m_col
);
24550 resultobj
= SWIG_From_int(static_cast<int >(result
));
24558 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= NULL
;
24560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24561 wxPoint
*arg2
= (wxPoint
*) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self",(char *) "m_pointDrag", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24573 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
24575 Py_INCREF(Py_None
); resultobj
= Py_None
;
24582 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
= NULL
;
24584 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
24592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
24596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
24603 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= NULL
;
24605 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24606 wxListItem
*result
;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
24613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 result
= (wxListItem
*)& ((arg1
)->m_item
);
24618 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24626 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
= NULL
;
24628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (int)(arg1
)->GetKeyCode();
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_From_int(static_cast<int >(result
));
24654 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= NULL
;
24656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (long)(arg1
)->GetIndex();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_From_long(static_cast<long >(result
));
24682 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= NULL
;
24684 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24686 PyObject
* obj0
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
24692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (int)(arg1
)->GetColumn();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_From_int(static_cast<int >(result
));
24710 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= NULL
;
24712 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (arg1
)->GetPoint();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24730 wxPoint
* resultptr
;
24731 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24740 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= NULL
;
24742 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 wxString
const &_result_ref
= (arg1
)->GetLabel();
24756 result
= (wxString
*) &_result_ref
;
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24775 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
= NULL
;
24777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 wxString
const &_result_ref
= (arg1
)->GetText();
24791 result
= (wxString
*) &_result_ref
;
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24801 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24810 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
= NULL
;
24812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
24820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24821 if (SWIG_arg_fail(1)) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (int)(arg1
)->GetImage();
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_From_int(static_cast<int >(result
));
24838 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= NULL
;
24840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
24848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (long)(arg1
)->GetData();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_From_long(static_cast<long >(result
));
24866 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
= NULL
;
24868 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
24876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (long)(arg1
)->GetMask();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= SWIG_From_long(static_cast<long >(result
));
24894 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= NULL
;
24896 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24897 wxListItem
*result
;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 wxListItem
const &_result_ref
= (arg1
)->GetItem();
24910 result
= (wxListItem
*) &_result_ref
;
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
24923 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= NULL
;
24925 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (long)(arg1
)->GetCacheFrom();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_From_long(static_cast<long >(result
));
24951 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= NULL
;
24953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
24961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (long)(arg1
)->GetCacheTo();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_From_long(static_cast<long >(result
));
24979 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= NULL
;
24981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24990 if (SWIG_arg_fail(1)) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25007 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
= NULL
;
25009 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "editCancelled", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25022 if (SWIG_arg_fail(2)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetEditCanceled(arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
25040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25041 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
25043 return Py_BuildValue((char *)"");
25045 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
= NULL
;
25047 wxWindow
*arg1
= (wxWindow
*) 0 ;
25048 int arg2
= (int) -1 ;
25049 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25050 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25051 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25052 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25053 long arg5
= (long) wxLC_ICON
;
25054 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25055 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25056 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
25057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25058 wxPyListCtrl
*result
;
25061 bool temp7
= false ;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 PyObject
* obj2
= 0 ;
25065 PyObject
* obj3
= 0 ;
25066 PyObject
* obj4
= 0 ;
25067 PyObject
* obj5
= 0 ;
25068 PyObject
* obj6
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25079 if (SWIG_arg_fail(2)) SWIG_fail
;
25085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25096 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25097 if (SWIG_arg_fail(5)) SWIG_fail
;
25102 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25103 if (SWIG_arg_fail(6)) SWIG_fail
;
25104 if (arg6
== NULL
) {
25105 SWIG_null_ref("wxValidator");
25107 if (SWIG_arg_fail(6)) SWIG_fail
;
25112 arg7
= wxString_in_helper(obj6
);
25113 if (arg7
== NULL
) SWIG_fail
;
25118 if (!wxPyCheckForApp()) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25140 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
= NULL
;
25142 wxPyListCtrl
*result
;
25143 char *kwnames
[] = {
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
25149 if (!wxPyCheckForApp()) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (wxPyListCtrl
*)new wxPyListCtrl();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25163 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= NULL
;
25165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25166 wxWindow
*arg2
= (wxWindow
*) 0 ;
25167 int arg3
= (int) -1 ;
25168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25172 long arg6
= (long) wxLC_ICON
;
25173 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25174 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25175 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
25176 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25180 bool temp8
= false ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 PyObject
* obj2
= 0 ;
25184 PyObject
* obj3
= 0 ;
25185 PyObject
* obj4
= 0 ;
25186 PyObject
* obj5
= 0 ;
25187 PyObject
* obj6
= 0 ;
25188 PyObject
* obj7
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail
;
25196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25197 if (SWIG_arg_fail(2)) SWIG_fail
;
25200 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25201 if (SWIG_arg_fail(3)) SWIG_fail
;
25207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25218 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25219 if (SWIG_arg_fail(6)) SWIG_fail
;
25224 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25225 if (SWIG_arg_fail(7)) SWIG_fail
;
25226 if (arg7
== NULL
) {
25227 SWIG_null_ref("wxValidator");
25229 if (SWIG_arg_fail(7)) SWIG_fail
;
25234 arg8
= wxString_in_helper(obj7
);
25235 if (arg8
== NULL
) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
= NULL
;
25265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25266 PyObject
*arg2
= (PyObject
*) 0 ;
25267 PyObject
*arg3
= (PyObject
*) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 PyObject
* obj2
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "self",(char *) "_class", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25277 if (SWIG_arg_fail(1)) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25294 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
= NULL
;
25296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25297 wxColour
*arg2
= 0 ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self",(char *) "col", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25329 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
= NULL
;
25331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25332 wxColour
*arg2
= 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self",(char *) "col", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail
;
25346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25364 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= NULL
;
25366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25368 wxListItem
*result
;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "col", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25380 if (SWIG_arg_fail(2)) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25398 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= NULL
;
25400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25402 wxListItem
*arg3
= 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "col",(char *) "item", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25419 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(3)) SWIG_fail
;
25421 if (arg3
== NULL
) {
25422 SWIG_null_ref("wxListItem");
25424 if (SWIG_arg_fail(3)) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25442 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= NULL
;
25444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "col", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25458 if (SWIG_arg_fail(2)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_From_int(static_cast<int >(result
));
25476 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
= NULL
;
25478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self",(char *) "col",(char *) "width", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail
;
25493 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25494 if (SWIG_arg_fail(2)) SWIG_fail
;
25497 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25498 if (SWIG_arg_fail(3)) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25516 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= NULL
;
25518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25520 PyObject
* obj0
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
25526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= SWIG_From_int(static_cast<int >(result
));
25544 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
= NULL
;
25546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25564 wxRect
* resultptr
;
25565 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25574 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
= NULL
;
25576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25577 wxTextCtrl
*result
;
25578 PyObject
* obj0
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25585 if (SWIG_arg_fail(1)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= wxPyMake_wxObject(result
, 0);
25602 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
= NULL
;
25604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25606 int arg3
= (int) 0 ;
25607 wxListItem
*result
;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 PyObject
* obj2
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "itemId",(char *) "col", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25624 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25625 if (SWIG_arg_fail(3)) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25644 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
= NULL
;
25646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25647 wxListItem
*arg2
= 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "info", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail
;
25659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25660 if (SWIG_arg_fail(2)) SWIG_fail
;
25661 if (arg2
== NULL
) {
25662 SWIG_null_ref("wxListItem");
25664 if (SWIG_arg_fail(2)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)(arg1
)->SetItem(*arg2
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
= NULL
;
25684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25687 wxString
*arg4
= 0 ;
25688 int arg5
= (int) -1 ;
25690 bool temp4
= false ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 PyObject
* obj2
= 0 ;
25694 PyObject
* obj3
= 0 ;
25695 PyObject
* obj4
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25705 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25709 if (SWIG_arg_fail(3)) SWIG_fail
;
25712 arg4
= wxString_in_helper(obj3
);
25713 if (arg4
== NULL
) SWIG_fail
;
25718 arg5
= static_cast<int >(SWIG_As_int(obj4
));
25719 if (SWIG_arg_fail(5)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_From_long(static_cast<long >(result
));
25746 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
= NULL
;
25748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail
;
25763 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25764 if (SWIG_arg_fail(2)) SWIG_fail
;
25767 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25768 if (SWIG_arg_fail(3)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= SWIG_From_int(static_cast<int >(result
));
25786 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
= NULL
;
25788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 PyObject
* obj3
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail
;
25805 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25806 if (SWIG_arg_fail(2)) SWIG_fail
;
25809 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25810 if (SWIG_arg_fail(3)) SWIG_fail
;
25813 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25814 if (SWIG_arg_fail(4)) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25832 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
= NULL
;
25834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25837 int arg4
= (int) -1 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 PyObject
* obj3
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25856 if (SWIG_arg_fail(3)) SWIG_fail
;
25860 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25861 if (SWIG_arg_fail(4)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25880 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= NULL
;
25882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "item", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail
;
25895 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25896 if (SWIG_arg_fail(2)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25918 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
= NULL
;
25920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25922 wxString
*arg3
= 0 ;
25923 bool temp3
= false ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 PyObject
* obj2
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "item",(char *) "str", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",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
;
25939 arg3
= wxString_in_helper(obj2
);
25940 if (arg3
== NULL
) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
= NULL
;
25967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "item", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) 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
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_From_long(static_cast<long >(result
));
25999 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
= NULL
;
26001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self",(char *) "item",(char *) "data", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26017 if (SWIG_arg_fail(2)) SWIG_fail
;
26020 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26021 if (SWIG_arg_fail(3)) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26039 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
= NULL
;
26041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self",(char *) "item", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail
;
26054 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26055 if (SWIG_arg_fail(2)) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26065 wxPoint
* resultptr
;
26066 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
26067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26075 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= NULL
;
26077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26079 int arg3
= (int) wxLIST_RECT_BOUNDS
;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "item",(char *) "code", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26093 if (SWIG_arg_fail(2)) SWIG_fail
;
26097 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26098 if (SWIG_arg_fail(3)) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26109 wxRect
* resultptr
;
26110 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
26111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26119 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
= NULL
;
26121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26123 wxPoint
*arg3
= 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 PyObject
* obj2
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self",(char *) "item",(char *) "pos", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(1)) SWIG_fail
;
26137 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26138 if (SWIG_arg_fail(2)) SWIG_fail
;
26142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26160 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
= NULL
;
26162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26164 PyObject
* obj0
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
26170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= SWIG_From_int(static_cast<int >(result
));
26188 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
= NULL
;
26190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_From_int(static_cast<int >(result
));
26216 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
= NULL
;
26218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
26226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26236 wxSize
* resultptr
;
26237 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
26238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26246 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= NULL
;
26248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= SWIG_From_int(static_cast<int >(result
));
26274 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= NULL
;
26276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 wxColour
* resultptr
;
26295 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26304 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
= NULL
;
26306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26307 wxColour
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "col", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= NULL
;
26338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_From_long(static_cast<long >(result
));
26364 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
= NULL
;
26366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26368 bool arg3
= (bool) true ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "style",(char *) "add", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26381 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26386 if (SWIG_arg_fail(3)) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 (arg1
)->SetSingleStyle(arg2
,arg3
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
= NULL
;
26405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "style", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail
;
26417 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26418 if (SWIG_arg_fail(2)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 (arg1
)->SetWindowStyleFlag(arg2
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 Py_INCREF(Py_None
); resultobj
= Py_None
;
26434 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
= NULL
;
26436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26438 int arg3
= (int) wxLIST_NEXT_ALL
;
26439 int arg4
= (int) wxLIST_STATE_DONTCARE
;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 PyObject
* obj2
= 0 ;
26444 PyObject
* obj3
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail
;
26453 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26454 if (SWIG_arg_fail(2)) SWIG_fail
;
26458 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26459 if (SWIG_arg_fail(3)) SWIG_fail
;
26464 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26465 if (SWIG_arg_fail(4)) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_From_long(static_cast<long >(result
));
26484 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= NULL
;
26486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26488 wxImageList
*result
;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "which", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail
;
26499 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26500 if (SWIG_arg_fail(2)) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26518 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
= NULL
;
26520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26521 wxImageList
*arg2
= (wxImageList
*) 0 ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 PyObject
* obj2
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self",(char *) "imageList",(char *) "which", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26532 if (SWIG_arg_fail(1)) SWIG_fail
;
26533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
26534 if (SWIG_arg_fail(2)) SWIG_fail
;
26536 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26537 if (SWIG_arg_fail(3)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->SetImageList(arg2
,arg3
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 Py_INCREF(Py_None
); resultobj
= Py_None
;
26553 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
= NULL
;
26555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26556 wxImageList
*arg2
= (wxImageList
*) 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 PyObject
* obj2
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "imageList",(char *) "which", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail
;
26568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26569 if (SWIG_arg_fail(2)) SWIG_fail
;
26571 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26572 if (SWIG_arg_fail(3)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 (arg1
)->AssignImageList(arg2
,arg3
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 Py_INCREF(Py_None
); resultobj
= Py_None
;
26588 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
= NULL
;
26590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26592 PyObject
* obj0
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "self", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
26598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26599 if (SWIG_arg_fail(1)) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26616 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
= NULL
;
26618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
26626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26644 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= NULL
;
26646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "item", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail
;
26658 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26659 if (SWIG_arg_fail(2)) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->RefreshItem(arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 Py_INCREF(Py_None
); resultobj
= Py_None
;
26675 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
= NULL
;
26677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 PyObject
* obj2
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail
;
26691 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26692 if (SWIG_arg_fail(2)) SWIG_fail
;
26695 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26696 if (SWIG_arg_fail(3)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->RefreshItems(arg2
,arg3
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26712 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= NULL
;
26714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26715 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char *kwnames
[] = {
26720 (char *) "self",(char *) "flag", NULL
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
26724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26725 if (SWIG_arg_fail(1)) SWIG_fail
;
26728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26729 if (SWIG_arg_fail(2)) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (bool)(arg1
)->Arrange(arg2
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26748 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= NULL
;
26750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "item", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26763 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26764 if (SWIG_arg_fail(2)) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)(arg1
)->DeleteItem(arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26782 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= NULL
;
26784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26786 PyObject
* obj0
= 0 ;
26787 char *kwnames
[] = {
26788 (char *) "self", NULL
26791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)(arg1
)->DeleteAllItems();
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26810 static PyObject
*_wrap_ListCtrl_DeleteColumn(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 *) "col", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",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<int >(SWIG_As_int(obj1
));
26826 if (SWIG_arg_fail(2)) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (bool)(arg1
)->DeleteColumn(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_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= NULL
;
26846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
26854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (bool)(arg1
)->DeleteAllColumns();
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26872 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
= NULL
;
26874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 (arg1
)->ClearAll();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 Py_INCREF(Py_None
); resultobj
= Py_None
;
26897 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= NULL
;
26899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26901 wxTextCtrl
*result
;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "item", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26912 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26913 if (SWIG_arg_fail(2)) SWIG_fail
;
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= wxPyMake_wxObject(result
, 0);
26931 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
= NULL
;
26933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "cancel", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail
;
26946 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26947 if (SWIG_arg_fail(2)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->EndEditLabel(arg2
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
= NULL
;
26967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self",(char *) "item", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail
;
26980 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26981 if (SWIG_arg_fail(2)) SWIG_fail
;
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 result
= (bool)(arg1
)->EnsureVisible(arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26999 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
= NULL
;
27001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27003 wxString
*arg3
= 0 ;
27004 bool arg4
= (bool) false ;
27006 bool temp3
= false ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 PyObject
* obj3
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27023 arg3
= wxString_in_helper(obj2
);
27024 if (arg3
== NULL
) SWIG_fail
;
27029 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
27030 if (SWIG_arg_fail(4)) SWIG_fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_From_long(static_cast<long >(result
));
27057 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= NULL
;
27059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 PyObject
* obj2
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "start",(char *) "data", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27075 if (SWIG_arg_fail(2)) SWIG_fail
;
27078 arg3
= static_cast<long >(SWIG_As_long(obj2
));
27079 if (SWIG_arg_fail(3)) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_From_long(static_cast<long >(result
));
27097 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
= NULL
;
27099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27101 wxPoint
*arg3
= 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 PyObject
* obj2
= 0 ;
27108 PyObject
* obj3
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27125 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27126 if (SWIG_arg_fail(4)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_long(static_cast<long >(result
));
27144 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
= NULL
;
27146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27147 wxPoint
*arg2
= 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "point", NULL
27159 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= SWIG_From_long(static_cast<long >(result
));
27177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27185 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= NULL
;
27187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27188 wxListItem
*arg2
= 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "info", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail
;
27200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(2)) SWIG_fail
;
27202 if (arg2
== NULL
) {
27203 SWIG_null_ref("wxListItem");
27205 if (SWIG_arg_fail(2)) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (long)(arg1
)->InsertItem(*arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_From_long(static_cast<long >(result
));
27223 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= NULL
;
27225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27227 wxString
*arg3
= 0 ;
27228 int arg4
= (int) -1 ;
27230 bool temp3
= false ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 PyObject
* obj3
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27244 if (SWIG_arg_fail(2)) SWIG_fail
;
27247 arg3
= wxString_in_helper(obj2
);
27248 if (arg3
== NULL
) SWIG_fail
;
27253 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27254 if (SWIG_arg_fail(4)) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_From_long(static_cast<long >(result
));
27281 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
= NULL
;
27283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 PyObject
* obj2
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27298 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27299 if (SWIG_arg_fail(2)) SWIG_fail
;
27302 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27303 if (SWIG_arg_fail(3)) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= SWIG_From_long(static_cast<long >(result
));
27321 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
= NULL
;
27323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27325 wxString
*arg3
= 0 ;
27328 bool temp3
= false ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 PyObject
* obj2
= 0 ;
27332 PyObject
* obj3
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail
;
27341 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27345 arg3
= wxString_in_helper(obj2
);
27346 if (arg3
== NULL
) SWIG_fail
;
27350 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27351 if (SWIG_arg_fail(4)) SWIG_fail
;
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= SWIG_From_long(static_cast<long >(result
));
27377 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
= NULL
;
27379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27381 wxListItem
*arg3
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 PyObject
* obj2
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self",(char *) "col",(char *) "info", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27395 if (SWIG_arg_fail(2)) SWIG_fail
;
27398 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27399 if (SWIG_arg_fail(3)) SWIG_fail
;
27400 if (arg3
== NULL
) {
27401 SWIG_null_ref("wxListItem");
27403 if (SWIG_arg_fail(3)) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_From_long(static_cast<long >(result
));
27421 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
= NULL
;
27423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27425 wxString
*arg3
= 0 ;
27426 int arg4
= (int) wxLIST_FORMAT_LEFT
;
27427 int arg5
= (int) -1 ;
27429 bool temp3
= false ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 PyObject
* obj2
= 0 ;
27433 PyObject
* obj3
= 0 ;
27434 PyObject
* obj4
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27444 if (SWIG_arg_fail(2)) SWIG_fail
;
27447 arg3
= wxString_in_helper(obj2
);
27448 if (arg3
== NULL
) SWIG_fail
;
27453 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27454 if (SWIG_arg_fail(4)) SWIG_fail
;
27459 arg5
= static_cast<int >(SWIG_As_int(obj4
));
27460 if (SWIG_arg_fail(5)) SWIG_fail
;
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27471 resultobj
= SWIG_From_long(static_cast<long >(result
));
27487 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= NULL
;
27489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "count", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27502 if (SWIG_arg_fail(2)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->SetItemCount(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= NULL
;
27520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 PyObject
* obj2
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self",(char *) "dx",(char *) "dy", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail
;
27535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27536 if (SWIG_arg_fail(2)) SWIG_fail
;
27539 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27540 if (SWIG_arg_fail(3)) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27558 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
= NULL
;
27560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27562 wxColour
*arg3
= 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 PyObject
* obj2
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "item",(char *) "col", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail
;
27575 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27576 if (SWIG_arg_fail(2)) SWIG_fail
;
27580 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 Py_INCREF(Py_None
); resultobj
= Py_None
;
27596 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
= NULL
;
27598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "item", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail
;
27611 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27612 if (SWIG_arg_fail(2)) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 wxColour
* resultptr
;
27623 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27632 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
= NULL
;
27634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27636 wxColour
*arg3
= 0 ;
27638 PyObject
* obj0
= 0 ;
27639 PyObject
* obj1
= 0 ;
27640 PyObject
* obj2
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "item",(char *) "col", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27649 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27650 if (SWIG_arg_fail(2)) SWIG_fail
;
27654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
= NULL
;
27672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 PyObject
* obj1
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self",(char *) "item", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27683 if (SWIG_arg_fail(1)) SWIG_fail
;
27685 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27686 if (SWIG_arg_fail(2)) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 wxColour
* resultptr
;
27697 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27706 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= NULL
;
27708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 PyObject
* obj2
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "item",(char *) "f", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail
;
27722 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27723 if (SWIG_arg_fail(2)) SWIG_fail
;
27726 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
27727 if (SWIG_arg_fail(3)) SWIG_fail
;
27728 if (arg3
== NULL
) {
27729 SWIG_null_ref("wxFont");
27731 if (SWIG_arg_fail(3)) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
= NULL
;
27749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "item", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27760 if (SWIG_arg_fail(1)) SWIG_fail
;
27762 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27763 if (SWIG_arg_fail(2)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 wxFont
* resultptr
;
27774 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
27775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27783 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
= NULL
;
27785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27786 PyObject
*arg2
= (PyObject
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "func", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
27795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27814 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
= NULL
;
27816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= wxPyMake_wxObject(result
, 0);
27842 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
= NULL
;
27844 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
27845 wxVisualAttributes result
;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "variant", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27854 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
27855 if (SWIG_arg_fail(1)) SWIG_fail
;
27859 if (!wxPyCheckForApp()) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 wxVisualAttributes
* resultptr
;
27868 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
27869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27877 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27880 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
27882 return Py_BuildValue((char *)"");
27884 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
= NULL
;
27886 wxWindow
*arg1
= (wxWindow
*) 0 ;
27887 int arg2
= (int) -1 ;
27888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27892 long arg5
= (long) wxLC_REPORT
;
27893 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27894 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27895 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
27896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27897 wxListView
*result
;
27900 bool temp7
= false ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 PyObject
* obj2
= 0 ;
27904 PyObject
* obj3
= 0 ;
27905 PyObject
* obj4
= 0 ;
27906 PyObject
* obj5
= 0 ;
27907 PyObject
* obj6
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27914 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27918 if (SWIG_arg_fail(2)) SWIG_fail
;
27924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27935 arg5
= static_cast<long >(SWIG_As_long(obj4
));
27936 if (SWIG_arg_fail(5)) SWIG_fail
;
27941 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27942 if (SWIG_arg_fail(6)) SWIG_fail
;
27943 if (arg6
== NULL
) {
27944 SWIG_null_ref("wxValidator");
27946 if (SWIG_arg_fail(6)) SWIG_fail
;
27951 arg7
= wxString_in_helper(obj6
);
27952 if (arg7
== NULL
) SWIG_fail
;
27957 if (!wxPyCheckForApp()) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27979 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
= NULL
;
27981 wxListView
*result
;
27982 char *kwnames
[] = {
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
27988 if (!wxPyCheckForApp()) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (wxListView
*)new wxListView();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
28002 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= NULL
;
28004 wxListView
*arg1
= (wxListView
*) 0 ;
28005 wxWindow
*arg2
= (wxWindow
*) 0 ;
28006 int arg3
= (int) -1 ;
28007 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28008 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28009 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28010 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28011 long arg6
= (long) wxLC_REPORT
;
28012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28014 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28019 bool temp8
= false ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 PyObject
* obj2
= 0 ;
28023 PyObject
* obj3
= 0 ;
28024 PyObject
* obj4
= 0 ;
28025 PyObject
* obj5
= 0 ;
28026 PyObject
* obj6
= 0 ;
28027 PyObject
* obj7
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail
;
28039 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28040 if (SWIG_arg_fail(3)) SWIG_fail
;
28046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28057 arg6
= static_cast<long >(SWIG_As_long(obj5
));
28058 if (SWIG_arg_fail(6)) SWIG_fail
;
28063 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(7)) SWIG_fail
;
28065 if (arg7
== NULL
) {
28066 SWIG_null_ref("wxValidator");
28068 if (SWIG_arg_fail(7)) SWIG_fail
;
28073 arg8
= wxString_in_helper(obj7
);
28074 if (arg8
== NULL
) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28102 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
= NULL
;
28104 wxListView
*arg1
= (wxListView
*) 0 ;
28106 bool arg3
= (bool) true ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 PyObject
* obj2
= 0 ;
28110 char *kwnames
[] = {
28111 (char *) "self",(char *) "n",(char *) "on", NULL
28114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28116 if (SWIG_arg_fail(1)) SWIG_fail
;
28118 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28119 if (SWIG_arg_fail(2)) SWIG_fail
;
28123 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28124 if (SWIG_arg_fail(3)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 (arg1
)->Select(arg2
,arg3
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 Py_INCREF(Py_None
); resultobj
= Py_None
;
28141 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
= NULL
;
28143 wxListView
*arg1
= (wxListView
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "index", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
28152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail
;
28155 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28156 if (SWIG_arg_fail(2)) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 (arg1
)->Focus(arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 Py_INCREF(Py_None
); resultobj
= Py_None
;
28172 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
= NULL
;
28174 wxListView
*arg1
= (wxListView
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 char *kwnames
[] = {
28178 (char *) "self", NULL
28181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
28182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28183 if (SWIG_arg_fail(1)) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_From_long(static_cast<long >(result
));
28200 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= NULL
;
28202 wxListView
*arg1
= (wxListView
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "item", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28216 if (SWIG_arg_fail(2)) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_From_long(static_cast<long >(result
));
28234 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
= NULL
;
28236 wxListView
*arg1
= (wxListView
*) 0 ;
28238 PyObject
* obj0
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
28244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28245 if (SWIG_arg_fail(1)) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_From_long(static_cast<long >(result
));
28262 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
= NULL
;
28264 wxListView
*arg1
= (wxListView
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "index", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28275 if (SWIG_arg_fail(1)) SWIG_fail
;
28277 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28278 if (SWIG_arg_fail(2)) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (bool)(arg1
)->IsSelected(arg2
);
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28296 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= NULL
;
28298 wxListView
*arg1
= (wxListView
*) 0 ;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 PyObject
* obj2
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self",(char *) "col",(char *) "image", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28313 if (SWIG_arg_fail(2)) SWIG_fail
;
28316 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28317 if (SWIG_arg_fail(3)) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 (arg1
)->SetColumnImage(arg2
,arg3
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 Py_INCREF(Py_None
); resultobj
= Py_None
;
28333 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
= NULL
;
28335 wxListView
*arg1
= (wxListView
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "col", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail
;
28347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28348 if (SWIG_arg_fail(2)) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->ClearColumnImage(arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28364 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
28366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28367 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
28369 return Py_BuildValue((char *)"");
28371 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
28372 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
28377 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
28378 PyObject
*pyobj
= NULL
;
28382 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28384 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28391 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
= NULL
;
28393 wxTreeItemId
*result
;
28394 char *kwnames
[] = {
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (wxTreeItemId
*)new wxTreeItemId();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
28413 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
= NULL
;
28415 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 char *kwnames
[] = {
28418 (char *) "self", NULL
28421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
28422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28423 if (SWIG_arg_fail(1)) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 Py_INCREF(Py_None
); resultobj
= Py_None
;
28438 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
= NULL
;
28440 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28466 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= NULL
;
28468 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28469 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "other", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28498 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28499 PyObject
*resultobj
= NULL
;
28500 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28501 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self",(char *) "other", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28511 if (SWIG_arg_fail(1)) SWIG_fail
;
28512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28513 if (SWIG_arg_fail(2)) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28530 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
= NULL
;
28532 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28533 void *arg2
= (void *) 0 ;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self",(char *) "m_pItem", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28542 if (SWIG_arg_fail(1)) SWIG_fail
;
28544 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
28545 SWIG_arg_fail(2);SWIG_fail
;
28548 if (arg1
) (arg1
)->m_pItem
= arg2
;
28550 Py_INCREF(Py_None
); resultobj
= Py_None
;
28557 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
= NULL
;
28559 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
28567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28568 if (SWIG_arg_fail(1)) SWIG_fail
;
28569 result
= (void *) ((arg1
)->m_pItem
);
28571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
28578 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
28580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28581 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
28583 return Py_BuildValue((char *)"");
28585 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
= NULL
;
28587 PyObject
*arg1
= (PyObject
*) NULL
;
28588 wxPyTreeItemData
*result
;
28589 PyObject
* obj0
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "obj", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
28612 static PyObject
*_wrap_delete_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
= NULL
;
28614 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemData",kwnames
,&obj0
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 Py_INCREF(Py_None
); resultobj
= Py_None
;
28637 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
= NULL
;
28639 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
28647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= (PyObject
*)(arg1
)->GetData();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= result
;
28663 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
= NULL
;
28665 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28666 PyObject
*arg2
= (PyObject
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "obj", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->SetData(arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= NULL
;
28693 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28694 wxTreeItemId
*result
;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
28701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
28707 result
= (wxTreeItemId
*) &_result_ref
;
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
28720 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
= NULL
;
28722 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28723 wxTreeItemId
*arg2
= 0 ;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self",(char *) "id", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail
;
28734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail
;
28736 if (arg2
== NULL
) {
28737 SWIG_null_ref("wxTreeItemId");
28739 if (SWIG_arg_fail(2)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= NULL
;
28757 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28758 PyObject
* obj0
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
28764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 wxPyTreeItemData_Destroy(arg1
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 Py_INCREF(Py_None
); resultobj
= Py_None
;
28780 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
28782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28783 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
28785 return Py_BuildValue((char *)"");
28787 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
= NULL
;
28789 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28790 int arg2
= (int) 0 ;
28791 wxTreeEvent
*result
;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "commandType",(char *) "id", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28801 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
28802 if (SWIG_arg_fail(1)) SWIG_fail
;
28807 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28808 if (SWIG_arg_fail(2)) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
28825 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
= NULL
;
28827 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28828 wxTreeItemId result
;
28829 PyObject
* obj0
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
28835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28845 wxTreeItemId
* resultptr
;
28846 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28855 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
= NULL
;
28857 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28858 wxTreeItemId
*arg2
= 0 ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "item", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail
;
28871 if (arg2
== NULL
) {
28872 SWIG_null_ref("wxTreeItemId");
28874 if (SWIG_arg_fail(2)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 Py_INCREF(Py_None
); resultobj
= Py_None
;
28890 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
= NULL
;
28892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28893 wxTreeItemId result
;
28894 PyObject
* obj0
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
28900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28901 if (SWIG_arg_fail(1)) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28910 wxTreeItemId
* resultptr
;
28911 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28920 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
= NULL
;
28922 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28923 wxTreeItemId
*arg2
= 0 ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "self",(char *) "item", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28932 if (SWIG_arg_fail(1)) SWIG_fail
;
28934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28935 if (SWIG_arg_fail(2)) SWIG_fail
;
28936 if (arg2
== NULL
) {
28937 SWIG_null_ref("wxTreeItemId");
28939 if (SWIG_arg_fail(2)) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 Py_INCREF(Py_None
); resultobj
= Py_None
;
28955 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
= NULL
;
28957 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28959 PyObject
* obj0
= 0 ;
28960 char *kwnames
[] = {
28961 (char *) "self", NULL
28964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
28965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28966 if (SWIG_arg_fail(1)) SWIG_fail
;
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 wxPoint
* resultptr
;
28976 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
28977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28985 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= NULL
;
28987 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28988 wxPoint
*arg2
= 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char *kwnames
[] = {
28993 (char *) "self",(char *) "pt", NULL
28996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28998 if (SWIG_arg_fail(1)) SWIG_fail
;
29001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 Py_INCREF(Py_None
); resultobj
= Py_None
;
29017 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
= NULL
;
29019 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29020 wxKeyEvent
*result
;
29021 PyObject
* obj0
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
29027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
29033 result
= (wxKeyEvent
*) &_result_ref
;
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
29046 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= NULL
;
29048 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
29056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29057 if (SWIG_arg_fail(1)) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= SWIG_From_int(static_cast<int >(result
));
29074 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
= NULL
;
29076 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29077 wxKeyEvent
*arg2
= 0 ;
29078 PyObject
* obj0
= 0 ;
29079 PyObject
* obj1
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "evt", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
29085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail
;
29088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
29089 if (SWIG_arg_fail(2)) SWIG_fail
;
29090 if (arg2
== NULL
) {
29091 SWIG_null_ref("wxKeyEvent");
29093 if (SWIG_arg_fail(2)) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 Py_INCREF(Py_None
); resultobj
= Py_None
;
29109 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
= NULL
;
29111 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29113 PyObject
* obj0
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
29119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
29125 result
= (wxString
*) &_result_ref
;
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29144 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= NULL
;
29146 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29147 wxString
*arg2
= 0 ;
29148 bool temp2
= false ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self",(char *) "label", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 arg2
= wxString_in_helper(obj1
);
29160 if (arg2
== NULL
) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 (arg1
)->SetLabel((wxString
const &)*arg2
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 Py_INCREF(Py_None
); resultobj
= Py_None
;
29185 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
= NULL
;
29187 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
29195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29196 if (SWIG_arg_fail(1)) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29213 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
= NULL
;
29215 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "editCancelled", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
29224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail
;
29227 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
29228 if (SWIG_arg_fail(2)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->SetEditCanceled(arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= NULL
;
29246 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29247 wxString
*arg2
= 0 ;
29248 bool temp2
= false ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self",(char *) "toolTip", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
29256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 arg2
= wxString_in_helper(obj1
);
29260 if (arg2
== NULL
) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 (arg1
)->SetToolTip((wxString
const &)*arg2
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 Py_INCREF(Py_None
); resultobj
= Py_None
;
29285 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= NULL
;
29287 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29289 PyObject
* obj0
= 0 ;
29290 char *kwnames
[] = {
29291 (char *) "self", NULL
29294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
29295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29296 if (SWIG_arg_fail(1)) SWIG_fail
;
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (arg1
)->GetToolTip();
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29317 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
29319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29320 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
29322 return Py_BuildValue((char *)"");
29324 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= NULL
;
29326 wxWindow
*arg1
= (wxWindow
*) 0 ;
29327 int arg2
= (int) -1 ;
29328 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29329 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29330 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29331 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29332 long arg5
= (long) wxTR_DEFAULT_STYLE
;
29333 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29334 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29335 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
29336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29337 wxPyTreeCtrl
*result
;
29340 bool temp7
= false ;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 PyObject
* obj2
= 0 ;
29344 PyObject
* obj3
= 0 ;
29345 PyObject
* obj4
= 0 ;
29346 PyObject
* obj5
= 0 ;
29347 PyObject
* obj6
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail
;
29357 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29358 if (SWIG_arg_fail(2)) SWIG_fail
;
29364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29370 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29375 arg5
= static_cast<long >(SWIG_As_long(obj4
));
29376 if (SWIG_arg_fail(5)) SWIG_fail
;
29381 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29382 if (SWIG_arg_fail(6)) SWIG_fail
;
29383 if (arg6
== NULL
) {
29384 SWIG_null_ref("wxValidator");
29386 if (SWIG_arg_fail(6)) SWIG_fail
;
29391 arg7
= wxString_in_helper(obj6
);
29392 if (arg7
== NULL
) SWIG_fail
;
29397 if (!wxPyCheckForApp()) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29419 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29420 PyObject
*resultobj
= NULL
;
29421 wxPyTreeCtrl
*result
;
29422 char *kwnames
[] = {
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
29428 if (!wxPyCheckForApp()) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29442 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
= NULL
;
29444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29445 wxWindow
*arg2
= (wxWindow
*) 0 ;
29446 int arg3
= (int) -1 ;
29447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29451 long arg6
= (long) wxTR_DEFAULT_STYLE
;
29452 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29453 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29454 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
29455 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29459 bool temp8
= false ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 PyObject
* obj2
= 0 ;
29463 PyObject
* obj3
= 0 ;
29464 PyObject
* obj4
= 0 ;
29465 PyObject
* obj5
= 0 ;
29466 PyObject
* obj6
= 0 ;
29467 PyObject
* obj7
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
29473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29474 if (SWIG_arg_fail(1)) SWIG_fail
;
29475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(2)) SWIG_fail
;
29479 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29480 if (SWIG_arg_fail(3)) SWIG_fail
;
29486 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29492 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29497 arg6
= static_cast<long >(SWIG_As_long(obj5
));
29498 if (SWIG_arg_fail(6)) SWIG_fail
;
29503 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29504 if (SWIG_arg_fail(7)) SWIG_fail
;
29505 if (arg7
== NULL
) {
29506 SWIG_null_ref("wxValidator");
29508 if (SWIG_arg_fail(7)) SWIG_fail
;
29513 arg8
= wxString_in_helper(obj7
);
29514 if (arg8
== NULL
) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29542 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
= NULL
;
29544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29545 PyObject
*arg2
= (PyObject
*) 0 ;
29546 PyObject
*arg3
= (PyObject
*) 0 ;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 char *kwnames
[] = {
29551 (char *) "self",(char *) "self",(char *) "_class", NULL
29554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29556 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29566 Py_INCREF(Py_None
); resultobj
= Py_None
;
29573 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
= NULL
;
29575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29577 PyObject
* obj0
= 0 ;
29578 char *kwnames
[] = {
29579 (char *) "self", NULL
29582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
29583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29584 if (SWIG_arg_fail(1)) SWIG_fail
;
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29601 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
= NULL
;
29603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29604 unsigned int result
;
29605 PyObject
* obj0
= 0 ;
29606 char *kwnames
[] = {
29607 (char *) "self", NULL
29610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
29611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29612 if (SWIG_arg_fail(1)) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29629 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
= NULL
;
29631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29632 unsigned int arg2
;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self",(char *) "indent", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29644 if (SWIG_arg_fail(2)) SWIG_fail
;
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 (arg1
)->SetIndent(arg2
);
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 Py_INCREF(Py_None
); resultobj
= Py_None
;
29660 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= NULL
;
29662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29663 unsigned int result
;
29664 PyObject
* obj0
= 0 ;
29665 char *kwnames
[] = {
29666 (char *) "self", NULL
29669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
29670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29671 if (SWIG_arg_fail(1)) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29688 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
= NULL
;
29690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29691 unsigned int arg2
;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 char *kwnames
[] = {
29695 (char *) "self",(char *) "spacing", NULL
29698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
29699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail
;
29702 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29703 if (SWIG_arg_fail(2)) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->SetSpacing(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 Py_INCREF(Py_None
); resultobj
= Py_None
;
29719 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
= NULL
;
29721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29722 wxImageList
*result
;
29723 PyObject
* obj0
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
29729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29730 if (SWIG_arg_fail(1)) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29747 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
= NULL
;
29749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29750 wxImageList
*result
;
29751 PyObject
* obj0
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
29757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29775 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
= NULL
;
29777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29778 wxImageList
*arg2
= (wxImageList
*) 0 ;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 char *kwnames
[] = {
29782 (char *) "self",(char *) "imageList", NULL
29785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail
;
29788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29789 if (SWIG_arg_fail(2)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 (arg1
)->SetImageList(arg2
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 Py_INCREF(Py_None
); resultobj
= Py_None
;
29804 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= NULL
;
29806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29807 wxImageList
*arg2
= (wxImageList
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self",(char *) "imageList", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail
;
29817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 (arg1
)->SetStateImageList(arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 Py_INCREF(Py_None
); resultobj
= Py_None
;
29833 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= NULL
;
29835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29836 wxImageList
*arg2
= (wxImageList
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "self",(char *) "imageList", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail
;
29846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29847 if (SWIG_arg_fail(2)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 (arg1
)->AssignImageList(arg2
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 Py_INCREF(Py_None
); resultobj
= Py_None
;
29862 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
= NULL
;
29864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29865 wxImageList
*arg2
= (wxImageList
*) 0 ;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 char *kwnames
[] = {
29869 (char *) "self",(char *) "imageList", NULL
29872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail
;
29875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29876 if (SWIG_arg_fail(2)) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->AssignStateImageList(arg2
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 Py_INCREF(Py_None
); resultobj
= Py_None
;
29891 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= NULL
;
29893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29894 wxTreeItemId
*arg2
= 0 ;
29896 PyObject
* obj0
= 0 ;
29897 PyObject
* obj1
= 0 ;
29898 char *kwnames
[] = {
29899 (char *) "self",(char *) "item", NULL
29902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
29903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail
;
29906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(2)) SWIG_fail
;
29908 if (arg2
== NULL
) {
29909 SWIG_null_ref("wxTreeItemId");
29911 if (SWIG_arg_fail(2)) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29933 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
= NULL
;
29935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29936 wxTreeItemId
*arg2
= 0 ;
29937 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self",(char *) "item",(char *) "which", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29948 if (SWIG_arg_fail(1)) SWIG_fail
;
29950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29951 if (SWIG_arg_fail(2)) SWIG_fail
;
29952 if (arg2
== NULL
) {
29953 SWIG_null_ref("wxTreeItemId");
29955 if (SWIG_arg_fail(2)) SWIG_fail
;
29959 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
29960 if (SWIG_arg_fail(3)) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_From_int(static_cast<int >(result
));
29979 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
= NULL
;
29981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29982 wxTreeItemId
*arg2
= 0 ;
29983 wxPyTreeItemData
*result
;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self",(char *) "item", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
29991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29992 if (SWIG_arg_fail(1)) SWIG_fail
;
29994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29995 if (SWIG_arg_fail(2)) SWIG_fail
;
29996 if (arg2
== NULL
) {
29997 SWIG_null_ref("wxTreeItemId");
29999 if (SWIG_arg_fail(2)) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
30015 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
= NULL
;
30017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30018 wxTreeItemId
*arg2
= 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char *kwnames
[] = {
30023 (char *) "self",(char *) "item", NULL
30026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
30027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30028 if (SWIG_arg_fail(1)) SWIG_fail
;
30030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30031 if (SWIG_arg_fail(2)) SWIG_fail
;
30032 if (arg2
== NULL
) {
30033 SWIG_null_ref("wxTreeItemId");
30035 if (SWIG_arg_fail(2)) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= result
;
30051 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
= NULL
;
30053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30054 wxTreeItemId
*arg2
= 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self",(char *) "item", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30064 if (SWIG_arg_fail(1)) SWIG_fail
;
30066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30067 if (SWIG_arg_fail(2)) SWIG_fail
;
30068 if (arg2
== NULL
) {
30069 SWIG_null_ref("wxTreeItemId");
30071 if (SWIG_arg_fail(2)) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30081 wxColour
* resultptr
;
30082 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30091 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= NULL
;
30093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30094 wxTreeItemId
*arg2
= 0 ;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "self",(char *) "item", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30104 if (SWIG_arg_fail(1)) SWIG_fail
;
30106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30107 if (SWIG_arg_fail(2)) SWIG_fail
;
30108 if (arg2
== NULL
) {
30109 SWIG_null_ref("wxTreeItemId");
30111 if (SWIG_arg_fail(2)) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30121 wxColour
* resultptr
;
30122 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30131 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= NULL
;
30133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30134 wxTreeItemId
*arg2
= 0 ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self",(char *) "item", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail
;
30146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(2)) SWIG_fail
;
30148 if (arg2
== NULL
) {
30149 SWIG_null_ref("wxTreeItemId");
30151 if (SWIG_arg_fail(2)) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30161 wxFont
* resultptr
;
30162 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
30163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30171 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= NULL
;
30173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30174 wxTreeItemId
*arg2
= 0 ;
30175 wxString
*arg3
= 0 ;
30176 bool temp3
= false ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "item",(char *) "text", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 if (arg2
== NULL
) {
30191 SWIG_null_ref("wxTreeItemId");
30193 if (SWIG_arg_fail(2)) SWIG_fail
;
30196 arg3
= wxString_in_helper(obj2
);
30197 if (arg3
== NULL
) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 Py_INCREF(Py_None
); resultobj
= Py_None
;
30222 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
= NULL
;
30224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30225 wxTreeItemId
*arg2
= 0 ;
30227 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 PyObject
* obj2
= 0 ;
30231 PyObject
* obj3
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30238 if (SWIG_arg_fail(1)) SWIG_fail
;
30240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30241 if (SWIG_arg_fail(2)) SWIG_fail
;
30242 if (arg2
== NULL
) {
30243 SWIG_null_ref("wxTreeItemId");
30245 if (SWIG_arg_fail(2)) SWIG_fail
;
30248 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30249 if (SWIG_arg_fail(3)) SWIG_fail
;
30253 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
30254 if (SWIG_arg_fail(4)) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 Py_INCREF(Py_None
); resultobj
= Py_None
;
30271 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
= NULL
;
30273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30274 wxTreeItemId
*arg2
= 0 ;
30275 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
30276 PyObject
* obj0
= 0 ;
30277 PyObject
* obj1
= 0 ;
30278 PyObject
* obj2
= 0 ;
30279 char *kwnames
[] = {
30280 (char *) "self",(char *) "item",(char *) "data", NULL
30283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail
;
30287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30289 if (arg2
== NULL
) {
30290 SWIG_null_ref("wxTreeItemId");
30292 if (SWIG_arg_fail(2)) SWIG_fail
;
30294 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30295 if (SWIG_arg_fail(3)) SWIG_fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 Py_INCREF(Py_None
); resultobj
= Py_None
;
30310 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
= NULL
;
30312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30313 wxTreeItemId
*arg2
= 0 ;
30314 PyObject
*arg3
= (PyObject
*) 0 ;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 PyObject
* obj2
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self",(char *) "item",(char *) "obj", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail
;
30326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30327 if (SWIG_arg_fail(2)) SWIG_fail
;
30328 if (arg2
== NULL
) {
30329 SWIG_null_ref("wxTreeItemId");
30331 if (SWIG_arg_fail(2)) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 Py_INCREF(Py_None
); resultobj
= Py_None
;
30348 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
= NULL
;
30350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30351 wxTreeItemId
*arg2
= 0 ;
30352 bool arg3
= (bool) true ;
30353 PyObject
* obj0
= 0 ;
30354 PyObject
* obj1
= 0 ;
30355 PyObject
* obj2
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "item",(char *) "has", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30362 if (SWIG_arg_fail(1)) SWIG_fail
;
30364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 if (arg2
== NULL
) {
30367 SWIG_null_ref("wxTreeItemId");
30369 if (SWIG_arg_fail(2)) SWIG_fail
;
30373 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30374 if (SWIG_arg_fail(3)) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 Py_INCREF(Py_None
); resultobj
= Py_None
;
30391 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
= NULL
;
30393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30394 wxTreeItemId
*arg2
= 0 ;
30395 bool arg3
= (bool) true ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 PyObject
* obj2
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self",(char *) "item",(char *) "bold", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail
;
30407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30408 if (SWIG_arg_fail(2)) SWIG_fail
;
30409 if (arg2
== NULL
) {
30410 SWIG_null_ref("wxTreeItemId");
30412 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30417 if (SWIG_arg_fail(3)) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 Py_INCREF(Py_None
); resultobj
= Py_None
;
30434 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
= NULL
;
30436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30437 wxTreeItemId
*arg2
= 0 ;
30438 bool arg3
= (bool) true ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 PyObject
* obj2
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self",(char *) "item",(char *) "highlight", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail
;
30450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(2)) SWIG_fail
;
30452 if (arg2
== NULL
) {
30453 SWIG_null_ref("wxTreeItemId");
30455 if (SWIG_arg_fail(2)) SWIG_fail
;
30459 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30460 if (SWIG_arg_fail(3)) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 Py_INCREF(Py_None
); resultobj
= Py_None
;
30477 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
= NULL
;
30479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30480 wxTreeItemId
*arg2
= 0 ;
30481 wxColour
*arg3
= 0 ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self",(char *) "item",(char *) "col", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail
;
30496 if (arg2
== NULL
) {
30497 SWIG_null_ref("wxTreeItemId");
30499 if (SWIG_arg_fail(2)) SWIG_fail
;
30503 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30520 PyObject
*resultobj
= NULL
;
30521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30522 wxTreeItemId
*arg2
= 0 ;
30523 wxColour
*arg3
= 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 PyObject
* obj2
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self",(char *) "item",(char *) "col", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30534 if (SWIG_arg_fail(1)) SWIG_fail
;
30536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(2)) SWIG_fail
;
30538 if (arg2
== NULL
) {
30539 SWIG_null_ref("wxTreeItemId");
30541 if (SWIG_arg_fail(2)) SWIG_fail
;
30545 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30561 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
= NULL
;
30563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30564 wxTreeItemId
*arg2
= 0 ;
30566 PyObject
* obj0
= 0 ;
30567 PyObject
* obj1
= 0 ;
30568 PyObject
* obj2
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "item",(char *) "font", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail
;
30577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail
;
30579 if (arg2
== NULL
) {
30580 SWIG_null_ref("wxTreeItemId");
30582 if (SWIG_arg_fail(2)) SWIG_fail
;
30585 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30586 if (SWIG_arg_fail(3)) SWIG_fail
;
30587 if (arg3
== NULL
) {
30588 SWIG_null_ref("wxFont");
30590 if (SWIG_arg_fail(3)) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 Py_INCREF(Py_None
); resultobj
= Py_None
;
30606 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= NULL
;
30608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30609 wxTreeItemId
*arg2
= 0 ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "item", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail
;
30621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail
;
30623 if (arg2
== NULL
) {
30624 SWIG_null_ref("wxTreeItemId");
30626 if (SWIG_arg_fail(2)) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30644 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
= NULL
;
30646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30647 wxTreeItemId
*arg2
= 0 ;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 char *kwnames
[] = {
30652 (char *) "self",(char *) "item", NULL
30655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail
;
30659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30660 if (SWIG_arg_fail(2)) SWIG_fail
;
30661 if (arg2
== NULL
) {
30662 SWIG_null_ref("wxTreeItemId");
30664 if (SWIG_arg_fail(2)) SWIG_fail
;
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30682 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
= NULL
;
30684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30685 wxTreeItemId
*arg2
= 0 ;
30687 PyObject
* obj0
= 0 ;
30688 PyObject
* obj1
= 0 ;
30689 char *kwnames
[] = {
30690 (char *) "self",(char *) "item", NULL
30693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
30694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail
;
30697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30698 if (SWIG_arg_fail(2)) SWIG_fail
;
30699 if (arg2
== NULL
) {
30700 SWIG_null_ref("wxTreeItemId");
30702 if (SWIG_arg_fail(2)) SWIG_fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30720 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
= NULL
;
30722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30723 wxTreeItemId
*arg2
= 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 char *kwnames
[] = {
30728 (char *) "self",(char *) "item", NULL
30731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
30732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30733 if (SWIG_arg_fail(1)) SWIG_fail
;
30735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30736 if (SWIG_arg_fail(2)) SWIG_fail
;
30737 if (arg2
== NULL
) {
30738 SWIG_null_ref("wxTreeItemId");
30740 if (SWIG_arg_fail(2)) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30758 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
= NULL
;
30760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30761 wxTreeItemId
*arg2
= 0 ;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self",(char *) "item", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
30770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail
;
30773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30775 if (arg2
== NULL
) {
30776 SWIG_null_ref("wxTreeItemId");
30778 if (SWIG_arg_fail(2)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
= NULL
;
30798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30799 wxTreeItemId
*arg2
= 0 ;
30800 bool arg3
= (bool) true ;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 PyObject
* obj2
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "item",(char *) "recursively", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail
;
30813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(2)) SWIG_fail
;
30815 if (arg2
== NULL
) {
30816 SWIG_null_ref("wxTreeItemId");
30818 if (SWIG_arg_fail(2)) SWIG_fail
;
30822 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30823 if (SWIG_arg_fail(3)) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
30842 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= NULL
;
30844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30845 wxTreeItemId result
;
30846 PyObject
* obj0
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "self", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
30852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 wxTreeItemId
* resultptr
;
30863 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30872 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= NULL
;
30874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30875 wxTreeItemId result
;
30876 PyObject
* obj0
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
30882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30892 wxTreeItemId
* resultptr
;
30893 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30902 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
= NULL
;
30904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
30912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30913 if (SWIG_arg_fail(1)) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= result
;
30928 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
= NULL
;
30930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30931 wxTreeItemId
*arg2
= 0 ;
30932 wxTreeItemId result
;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self",(char *) "item", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30941 if (SWIG_arg_fail(1)) SWIG_fail
;
30943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30944 if (SWIG_arg_fail(2)) SWIG_fail
;
30945 if (arg2
== NULL
) {
30946 SWIG_null_ref("wxTreeItemId");
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30958 wxTreeItemId
* resultptr
;
30959 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30968 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
= NULL
;
30970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30971 wxTreeItemId
*arg2
= 0 ;
30973 PyObject
* obj0
= 0 ;
30974 PyObject
* obj1
= 0 ;
30975 char *kwnames
[] = {
30976 (char *) "self",(char *) "item", NULL
30979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail
;
30983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30984 if (SWIG_arg_fail(2)) SWIG_fail
;
30985 if (arg2
== NULL
) {
30986 SWIG_null_ref("wxTreeItemId");
30988 if (SWIG_arg_fail(2)) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= result
;
31004 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
= NULL
;
31006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31007 wxTreeItemId
*arg2
= 0 ;
31008 void *arg3
= (void *) 0 ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 PyObject
* obj2
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self",(char *) "item",(char *) "cookie", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail
;
31021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31022 if (SWIG_arg_fail(2)) SWIG_fail
;
31023 if (arg2
== NULL
) {
31024 SWIG_null_ref("wxTreeItemId");
31026 if (SWIG_arg_fail(2)) SWIG_fail
;
31029 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
31030 SWIG_arg_fail(3);SWIG_fail
;
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31037 wxPyEndAllowThreads(__tstate
);
31038 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= result
;
31047 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
= NULL
;
31049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31050 wxTreeItemId
*arg2
= 0 ;
31051 wxTreeItemId result
;
31052 PyObject
* obj0
= 0 ;
31053 PyObject
* obj1
= 0 ;
31054 char *kwnames
[] = {
31055 (char *) "self",(char *) "item", NULL
31058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
31059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31060 if (SWIG_arg_fail(1)) SWIG_fail
;
31062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31063 if (SWIG_arg_fail(2)) SWIG_fail
;
31064 if (arg2
== NULL
) {
31065 SWIG_null_ref("wxTreeItemId");
31067 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 wxTreeItemId
* resultptr
;
31078 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31087 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
= NULL
;
31089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31090 wxTreeItemId
*arg2
= 0 ;
31091 wxTreeItemId result
;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "item", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail
;
31102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail
;
31104 if (arg2
== NULL
) {
31105 SWIG_null_ref("wxTreeItemId");
31107 if (SWIG_arg_fail(2)) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31117 wxTreeItemId
* resultptr
;
31118 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31127 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
= NULL
;
31129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31130 wxTreeItemId
*arg2
= 0 ;
31131 wxTreeItemId result
;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self",(char *) "item", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail
;
31142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail
;
31144 if (arg2
== NULL
) {
31145 SWIG_null_ref("wxTreeItemId");
31147 if (SWIG_arg_fail(2)) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31157 wxTreeItemId
* resultptr
;
31158 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31167 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= NULL
;
31169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31170 wxTreeItemId result
;
31171 PyObject
* obj0
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
31177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31178 if (SWIG_arg_fail(1)) SWIG_fail
;
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31187 wxTreeItemId
* resultptr
;
31188 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31197 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
= NULL
;
31199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31200 wxTreeItemId
*arg2
= 0 ;
31201 wxTreeItemId result
;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "item", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail
;
31212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31213 if (SWIG_arg_fail(2)) SWIG_fail
;
31214 if (arg2
== NULL
) {
31215 SWIG_null_ref("wxTreeItemId");
31217 if (SWIG_arg_fail(2)) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 wxTreeItemId
* resultptr
;
31228 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31237 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
= NULL
;
31239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31240 wxTreeItemId
*arg2
= 0 ;
31241 wxTreeItemId result
;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "item", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31250 if (SWIG_arg_fail(1)) SWIG_fail
;
31252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31253 if (SWIG_arg_fail(2)) SWIG_fail
;
31254 if (arg2
== NULL
) {
31255 SWIG_null_ref("wxTreeItemId");
31257 if (SWIG_arg_fail(2)) SWIG_fail
;
31260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31261 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 wxTreeItemId
* resultptr
;
31268 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31277 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= NULL
;
31279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31280 wxString
*arg2
= 0 ;
31281 int arg3
= (int) -1 ;
31282 int arg4
= (int) -1 ;
31283 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
31284 wxTreeItemId result
;
31285 bool temp2
= false ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 PyObject
* obj2
= 0 ;
31289 PyObject
* obj3
= 0 ;
31290 PyObject
* obj4
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31297 if (SWIG_arg_fail(1)) SWIG_fail
;
31299 arg2
= wxString_in_helper(obj1
);
31300 if (arg2
== NULL
) SWIG_fail
;
31305 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31306 if (SWIG_arg_fail(3)) SWIG_fail
;
31311 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31312 if (SWIG_arg_fail(4)) SWIG_fail
;
31316 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31317 if (SWIG_arg_fail(5)) SWIG_fail
;
31320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31321 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31327 wxTreeItemId
* resultptr
;
31328 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31345 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
= NULL
;
31347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31348 wxTreeItemId
*arg2
= 0 ;
31349 wxString
*arg3
= 0 ;
31350 int arg4
= (int) -1 ;
31351 int arg5
= (int) -1 ;
31352 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31353 wxTreeItemId result
;
31354 bool temp3
= false ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 PyObject
* obj2
= 0 ;
31358 PyObject
* obj3
= 0 ;
31359 PyObject
* obj4
= 0 ;
31360 PyObject
* obj5
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31367 if (SWIG_arg_fail(1)) SWIG_fail
;
31369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31370 if (SWIG_arg_fail(2)) SWIG_fail
;
31371 if (arg2
== NULL
) {
31372 SWIG_null_ref("wxTreeItemId");
31374 if (SWIG_arg_fail(2)) SWIG_fail
;
31377 arg3
= wxString_in_helper(obj2
);
31378 if (arg3
== NULL
) SWIG_fail
;
31383 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31384 if (SWIG_arg_fail(4)) SWIG_fail
;
31389 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31390 if (SWIG_arg_fail(5)) SWIG_fail
;
31394 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31395 if (SWIG_arg_fail(6)) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31405 wxTreeItemId
* resultptr
;
31406 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31423 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31424 PyObject
*resultobj
= NULL
;
31425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31426 wxTreeItemId
*arg2
= 0 ;
31427 wxTreeItemId
*arg3
= 0 ;
31428 wxString
*arg4
= 0 ;
31429 int arg5
= (int) -1 ;
31430 int arg6
= (int) -1 ;
31431 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31432 wxTreeItemId result
;
31433 bool temp4
= false ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 PyObject
* obj3
= 0 ;
31438 PyObject
* obj4
= 0 ;
31439 PyObject
* obj5
= 0 ;
31440 PyObject
* obj6
= 0 ;
31441 char *kwnames
[] = {
31442 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail
;
31449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31450 if (SWIG_arg_fail(2)) SWIG_fail
;
31451 if (arg2
== NULL
) {
31452 SWIG_null_ref("wxTreeItemId");
31454 if (SWIG_arg_fail(2)) SWIG_fail
;
31457 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31458 if (SWIG_arg_fail(3)) SWIG_fail
;
31459 if (arg3
== NULL
) {
31460 SWIG_null_ref("wxTreeItemId");
31462 if (SWIG_arg_fail(3)) SWIG_fail
;
31465 arg4
= wxString_in_helper(obj3
);
31466 if (arg4
== NULL
) SWIG_fail
;
31471 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31472 if (SWIG_arg_fail(5)) SWIG_fail
;
31477 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31478 if (SWIG_arg_fail(6)) SWIG_fail
;
31482 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31483 if (SWIG_arg_fail(7)) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31493 wxTreeItemId
* resultptr
;
31494 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31511 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= NULL
;
31513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31514 wxTreeItemId
*arg2
= 0 ;
31516 wxString
*arg4
= 0 ;
31517 int arg5
= (int) -1 ;
31518 int arg6
= (int) -1 ;
31519 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31520 wxTreeItemId result
;
31521 bool temp4
= false ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 PyObject
* obj3
= 0 ;
31526 PyObject
* obj4
= 0 ;
31527 PyObject
* obj5
= 0 ;
31528 PyObject
* obj6
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail
;
31537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31538 if (SWIG_arg_fail(2)) SWIG_fail
;
31539 if (arg2
== NULL
) {
31540 SWIG_null_ref("wxTreeItemId");
31542 if (SWIG_arg_fail(2)) SWIG_fail
;
31545 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
31546 if (SWIG_arg_fail(3)) SWIG_fail
;
31549 arg4
= wxString_in_helper(obj3
);
31550 if (arg4
== NULL
) SWIG_fail
;
31555 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31556 if (SWIG_arg_fail(5)) SWIG_fail
;
31561 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31562 if (SWIG_arg_fail(6)) SWIG_fail
;
31566 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31567 if (SWIG_arg_fail(7)) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 wxTreeItemId
* resultptr
;
31578 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31595 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= NULL
;
31597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31598 wxTreeItemId
*arg2
= 0 ;
31599 wxString
*arg3
= 0 ;
31600 int arg4
= (int) -1 ;
31601 int arg5
= (int) -1 ;
31602 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31603 wxTreeItemId result
;
31604 bool temp3
= false ;
31605 PyObject
* obj0
= 0 ;
31606 PyObject
* obj1
= 0 ;
31607 PyObject
* obj2
= 0 ;
31608 PyObject
* obj3
= 0 ;
31609 PyObject
* obj4
= 0 ;
31610 PyObject
* obj5
= 0 ;
31611 char *kwnames
[] = {
31612 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail
;
31619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31620 if (SWIG_arg_fail(2)) SWIG_fail
;
31621 if (arg2
== NULL
) {
31622 SWIG_null_ref("wxTreeItemId");
31624 if (SWIG_arg_fail(2)) SWIG_fail
;
31627 arg3
= wxString_in_helper(obj2
);
31628 if (arg3
== NULL
) SWIG_fail
;
31633 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31634 if (SWIG_arg_fail(4)) SWIG_fail
;
31639 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31640 if (SWIG_arg_fail(5)) SWIG_fail
;
31644 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31645 if (SWIG_arg_fail(6)) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31655 wxTreeItemId
* resultptr
;
31656 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31673 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
= NULL
;
31675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31676 wxTreeItemId
*arg2
= 0 ;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self",(char *) "item", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31685 if (SWIG_arg_fail(1)) SWIG_fail
;
31687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31688 if (SWIG_arg_fail(2)) SWIG_fail
;
31689 if (arg2
== NULL
) {
31690 SWIG_null_ref("wxTreeItemId");
31692 if (SWIG_arg_fail(2)) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 Py_INCREF(Py_None
); resultobj
= Py_None
;
31708 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= NULL
;
31710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31711 wxTreeItemId
*arg2
= 0 ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 char *kwnames
[] = {
31715 (char *) "self",(char *) "item", NULL
31718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail
;
31722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31723 if (SWIG_arg_fail(2)) SWIG_fail
;
31724 if (arg2
== NULL
) {
31725 SWIG_null_ref("wxTreeItemId");
31727 if (SWIG_arg_fail(2)) SWIG_fail
;
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31731 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 Py_INCREF(Py_None
); resultobj
= Py_None
;
31743 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31744 PyObject
*resultobj
= NULL
;
31745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
31752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31753 if (SWIG_arg_fail(1)) SWIG_fail
;
31755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31756 (arg1
)->DeleteAllItems();
31758 wxPyEndAllowThreads(__tstate
);
31759 if (PyErr_Occurred()) SWIG_fail
;
31761 Py_INCREF(Py_None
); resultobj
= Py_None
;
31768 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31769 PyObject
*resultobj
= NULL
;
31770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31771 wxTreeItemId
*arg2
= 0 ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self",(char *) "item", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(2)) SWIG_fail
;
31784 if (arg2
== NULL
) {
31785 SWIG_null_ref("wxTreeItemId");
31787 if (SWIG_arg_fail(2)) SWIG_fail
;
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31791 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
31793 wxPyEndAllowThreads(__tstate
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 Py_INCREF(Py_None
); resultobj
= Py_None
;
31803 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31804 PyObject
*resultobj
= NULL
;
31805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31806 wxTreeItemId
*arg2
= 0 ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self",(char *) "item", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
31814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31815 if (SWIG_arg_fail(1)) SWIG_fail
;
31817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31818 if (SWIG_arg_fail(2)) SWIG_fail
;
31819 if (arg2
== NULL
) {
31820 SWIG_null_ref("wxTreeItemId");
31822 if (SWIG_arg_fail(2)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 Py_INCREF(Py_None
); resultobj
= Py_None
;
31838 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
= NULL
;
31840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31841 wxTreeItemId
*arg2
= 0 ;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self",(char *) "item", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
31849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail
;
31852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31853 if (SWIG_arg_fail(2)) SWIG_fail
;
31854 if (arg2
== NULL
) {
31855 SWIG_null_ref("wxTreeItemId");
31857 if (SWIG_arg_fail(2)) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 Py_INCREF(Py_None
); resultobj
= Py_None
;
31873 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= NULL
;
31875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31876 wxTreeItemId
*arg2
= 0 ;
31877 PyObject
* obj0
= 0 ;
31878 PyObject
* obj1
= 0 ;
31879 char *kwnames
[] = {
31880 (char *) "self",(char *) "item", NULL
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
31884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail
;
31887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31888 if (SWIG_arg_fail(2)) SWIG_fail
;
31889 if (arg2
== NULL
) {
31890 SWIG_null_ref("wxTreeItemId");
31892 if (SWIG_arg_fail(2)) SWIG_fail
;
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31901 Py_INCREF(Py_None
); resultobj
= Py_None
;
31908 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31909 PyObject
*resultobj
= NULL
;
31910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
31917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31921 (arg1
)->Unselect();
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 Py_INCREF(Py_None
); resultobj
= Py_None
;
31933 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= NULL
;
31935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31936 wxTreeItemId
*arg2
= 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "self",(char *) "item", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail
;
31947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31948 if (SWIG_arg_fail(2)) SWIG_fail
;
31949 if (arg2
== NULL
) {
31950 SWIG_null_ref("wxTreeItemId");
31952 if (SWIG_arg_fail(2)) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31961 Py_INCREF(Py_None
); resultobj
= Py_None
;
31968 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
= NULL
;
31970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31971 PyObject
* obj0
= 0 ;
31972 char *kwnames
[] = {
31973 (char *) "self", NULL
31976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
31977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31978 if (SWIG_arg_fail(1)) SWIG_fail
;
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 (arg1
)->UnselectAll();
31983 wxPyEndAllowThreads(__tstate
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31986 Py_INCREF(Py_None
); resultobj
= Py_None
;
31993 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
= NULL
;
31995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31996 wxTreeItemId
*arg2
= 0 ;
31997 bool arg3
= (bool) true ;
31998 PyObject
* obj0
= 0 ;
31999 PyObject
* obj1
= 0 ;
32000 PyObject
* obj2
= 0 ;
32001 char *kwnames
[] = {
32002 (char *) "self",(char *) "item",(char *) "select", NULL
32005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32007 if (SWIG_arg_fail(1)) SWIG_fail
;
32009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32010 if (SWIG_arg_fail(2)) SWIG_fail
;
32011 if (arg2
== NULL
) {
32012 SWIG_null_ref("wxTreeItemId");
32014 if (SWIG_arg_fail(2)) SWIG_fail
;
32018 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32019 if (SWIG_arg_fail(3)) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 Py_INCREF(Py_None
); resultobj
= Py_None
;
32036 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= NULL
;
32038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32039 wxTreeItemId
*arg2
= 0 ;
32040 PyObject
* obj0
= 0 ;
32041 PyObject
* obj1
= 0 ;
32042 char *kwnames
[] = {
32043 (char *) "self",(char *) "item", NULL
32046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
32047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32048 if (SWIG_arg_fail(1)) SWIG_fail
;
32050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32051 if (SWIG_arg_fail(2)) SWIG_fail
;
32052 if (arg2
== NULL
) {
32053 SWIG_null_ref("wxTreeItemId");
32055 if (SWIG_arg_fail(2)) SWIG_fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32064 Py_INCREF(Py_None
); resultobj
= Py_None
;
32071 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
= NULL
;
32073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32074 wxTreeItemId
*arg2
= 0 ;
32075 PyObject
* obj0
= 0 ;
32076 PyObject
* obj1
= 0 ;
32077 char *kwnames
[] = {
32078 (char *) "self",(char *) "item", NULL
32081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
32082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32083 if (SWIG_arg_fail(1)) SWIG_fail
;
32085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32086 if (SWIG_arg_fail(2)) SWIG_fail
;
32087 if (arg2
== NULL
) {
32088 SWIG_null_ref("wxTreeItemId");
32090 if (SWIG_arg_fail(2)) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 Py_INCREF(Py_None
); resultobj
= Py_None
;
32106 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
= NULL
;
32108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32109 wxTreeItemId
*arg2
= 0 ;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "self",(char *) "item", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
32117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail
;
32120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32121 if (SWIG_arg_fail(2)) SWIG_fail
;
32122 if (arg2
== NULL
) {
32123 SWIG_null_ref("wxTreeItemId");
32125 if (SWIG_arg_fail(2)) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 Py_INCREF(Py_None
); resultobj
= Py_None
;
32141 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
= NULL
;
32143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32144 wxTreeItemId
*arg2
= 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "self",(char *) "item", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32153 if (SWIG_arg_fail(1)) SWIG_fail
;
32155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32156 if (SWIG_arg_fail(2)) SWIG_fail
;
32157 if (arg2
== NULL
) {
32158 SWIG_null_ref("wxTreeItemId");
32160 if (SWIG_arg_fail(2)) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 Py_INCREF(Py_None
); resultobj
= Py_None
;
32176 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
= NULL
;
32178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32179 wxTextCtrl
*result
;
32180 PyObject
* obj0
= 0 ;
32181 char *kwnames
[] = {
32182 (char *) "self", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
32186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32187 if (SWIG_arg_fail(1)) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= wxPyMake_wxObject(result
, 0);
32204 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
= NULL
;
32206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32207 wxTreeItemId
*arg2
= 0 ;
32208 bool arg3
= (bool) false ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 PyObject
* obj2
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32218 if (SWIG_arg_fail(1)) SWIG_fail
;
32220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32221 if (SWIG_arg_fail(2)) SWIG_fail
;
32222 if (arg2
== NULL
) {
32223 SWIG_null_ref("wxTreeItemId");
32225 if (SWIG_arg_fail(2)) SWIG_fail
;
32229 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32230 if (SWIG_arg_fail(3)) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 Py_INCREF(Py_None
); resultobj
= Py_None
;
32247 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
= NULL
;
32249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32250 wxTreeItemId
*arg2
= 0 ;
32251 PyObject
* obj0
= 0 ;
32252 PyObject
* obj1
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self",(char *) "item", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
32258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail
;
32261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32262 if (SWIG_arg_fail(2)) SWIG_fail
;
32263 if (arg2
== NULL
) {
32264 SWIG_null_ref("wxTreeItemId");
32266 if (SWIG_arg_fail(2)) SWIG_fail
;
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32275 Py_INCREF(Py_None
); resultobj
= Py_None
;
32282 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32283 PyObject
*resultobj
= NULL
;
32284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32285 wxPoint
*arg2
= 0 ;
32287 wxTreeItemId result
;
32291 PyObject
* obj0
= 0 ;
32292 PyObject
* obj1
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self",(char *) "point", NULL
32297 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
32299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32300 if (SWIG_arg_fail(1)) SWIG_fail
;
32303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32313 wxTreeItemId
* resultptr
;
32314 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32318 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32325 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
= NULL
;
32327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32328 wxTreeItemId
*arg2
= 0 ;
32329 bool arg3
= (bool) false ;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 PyObject
* obj2
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail
;
32342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32343 if (SWIG_arg_fail(2)) SWIG_fail
;
32344 if (arg2
== NULL
) {
32345 SWIG_null_ref("wxTreeItemId");
32347 if (SWIG_arg_fail(2)) SWIG_fail
;
32351 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32352 if (SWIG_arg_fail(3)) SWIG_fail
;
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32362 resultobj
= result
;
32369 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
= NULL
;
32371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32372 wxTreeItemId
*arg2
= 0 ;
32374 PyObject
* obj0
= 0 ;
32375 PyObject
* obj1
= 0 ;
32376 PyObject
* obj2
= 0 ;
32377 char *kwnames
[] = {
32378 (char *) "self",(char *) "node",(char *) "state", NULL
32381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32383 if (SWIG_arg_fail(1)) SWIG_fail
;
32385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32386 if (SWIG_arg_fail(2)) SWIG_fail
;
32387 if (arg2
== NULL
) {
32388 SWIG_null_ref("wxTreeItemId");
32390 if (SWIG_arg_fail(2)) SWIG_fail
;
32393 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32394 if (SWIG_arg_fail(3)) SWIG_fail
;
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 Py_INCREF(Py_None
); resultobj
= Py_None
;
32410 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
= NULL
;
32412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32413 wxTreeItemId
*arg2
= 0 ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self",(char *) "node", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32426 if (SWIG_arg_fail(2)) SWIG_fail
;
32427 if (arg2
== NULL
) {
32428 SWIG_null_ref("wxTreeItemId");
32430 if (SWIG_arg_fail(2)) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= SWIG_From_int(static_cast<int >(result
));
32448 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
= NULL
;
32450 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32451 wxVisualAttributes result
;
32452 PyObject
* obj0
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "variant", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32460 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
32461 if (SWIG_arg_fail(1)) SWIG_fail
;
32465 if (!wxPyCheckForApp()) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32473 wxVisualAttributes
* resultptr
;
32474 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32483 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
32485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32486 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
32488 return Py_BuildValue((char *)"");
32490 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
32491 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
32496 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
32497 PyObject
*pyobj
= NULL
;
32501 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32503 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32510 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32511 PyObject
*resultobj
= NULL
;
32512 wxWindow
*arg1
= (wxWindow
*) 0 ;
32513 int arg2
= (int) (int)-1 ;
32514 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
32515 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32520 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32521 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32523 int arg8
= (int) 0 ;
32524 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
32525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
32526 wxGenericDirCtrl
*result
;
32527 bool temp3
= false ;
32530 bool temp7
= false ;
32531 bool temp9
= false ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 PyObject
* obj2
= 0 ;
32535 PyObject
* obj3
= 0 ;
32536 PyObject
* obj4
= 0 ;
32537 PyObject
* obj5
= 0 ;
32538 PyObject
* obj6
= 0 ;
32539 PyObject
* obj7
= 0 ;
32540 PyObject
* obj8
= 0 ;
32541 char *kwnames
[] = {
32542 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
32546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail
;
32550 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32551 if (SWIG_arg_fail(2)) SWIG_fail
;
32556 arg3
= wxString_in_helper(obj2
);
32557 if (arg3
== NULL
) SWIG_fail
;
32564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32575 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32576 if (SWIG_arg_fail(6)) SWIG_fail
;
32581 arg7
= wxString_in_helper(obj6
);
32582 if (arg7
== NULL
) SWIG_fail
;
32588 arg8
= static_cast<int >(SWIG_As_int(obj7
));
32589 if (SWIG_arg_fail(8)) SWIG_fail
;
32594 arg9
= wxString_in_helper(obj8
);
32595 if (arg9
== NULL
) SWIG_fail
;
32600 if (!wxPyCheckForApp()) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32638 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
= NULL
;
32640 wxGenericDirCtrl
*result
;
32641 char *kwnames
[] = {
32645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
32647 if (!wxPyCheckForApp()) SWIG_fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32661 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
= NULL
;
32663 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32664 wxWindow
*arg2
= (wxWindow
*) 0 ;
32665 int arg3
= (int) (int)-1 ;
32666 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
32667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
32669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
32670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
32671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
32672 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32673 wxString
const &arg8_defvalue
= wxPyEmptyString
;
32674 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32675 int arg9
= (int) 0 ;
32676 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
32677 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
32679 bool temp4
= false ;
32682 bool temp8
= false ;
32683 bool temp10
= false ;
32684 PyObject
* obj0
= 0 ;
32685 PyObject
* obj1
= 0 ;
32686 PyObject
* obj2
= 0 ;
32687 PyObject
* obj3
= 0 ;
32688 PyObject
* obj4
= 0 ;
32689 PyObject
* obj5
= 0 ;
32690 PyObject
* obj6
= 0 ;
32691 PyObject
* obj7
= 0 ;
32692 PyObject
* obj8
= 0 ;
32693 PyObject
* obj9
= 0 ;
32694 char *kwnames
[] = {
32695 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
32699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32700 if (SWIG_arg_fail(1)) SWIG_fail
;
32701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32702 if (SWIG_arg_fail(2)) SWIG_fail
;
32705 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32706 if (SWIG_arg_fail(3)) SWIG_fail
;
32711 arg4
= wxString_in_helper(obj3
);
32712 if (arg4
== NULL
) SWIG_fail
;
32719 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
32725 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
32730 arg7
= static_cast<long >(SWIG_As_long(obj6
));
32731 if (SWIG_arg_fail(7)) SWIG_fail
;
32736 arg8
= wxString_in_helper(obj7
);
32737 if (arg8
== NULL
) SWIG_fail
;
32743 arg9
= static_cast<int >(SWIG_As_int(obj8
));
32744 if (SWIG_arg_fail(9)) SWIG_fail
;
32749 arg10
= wxString_in_helper(obj9
);
32750 if (arg10
== NULL
) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32794 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
= NULL
;
32796 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32797 wxString
*arg2
= 0 ;
32799 bool temp2
= false ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self",(char *) "path", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 arg2
= wxString_in_helper(obj1
);
32811 if (arg2
== NULL
) SWIG_fail
;
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32838 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
= NULL
;
32840 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
32848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32849 if (SWIG_arg_fail(1)) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32870 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
= NULL
;
32872 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32873 wxString
*arg2
= 0 ;
32874 bool temp2
= false ;
32875 PyObject
* obj0
= 0 ;
32876 PyObject
* obj1
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self",(char *) "path", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail
;
32885 arg2
= wxString_in_helper(obj1
);
32886 if (arg2
== NULL
) SWIG_fail
;
32890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32891 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
32893 wxPyEndAllowThreads(__tstate
);
32894 if (PyErr_Occurred()) SWIG_fail
;
32896 Py_INCREF(Py_None
); resultobj
= Py_None
;
32911 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
= NULL
;
32913 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
32921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32943 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
= NULL
;
32945 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32947 PyObject
* obj0
= 0 ;
32948 char *kwnames
[] = {
32949 (char *) "self", NULL
32952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
32953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32954 if (SWIG_arg_fail(1)) SWIG_fail
;
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32975 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32976 PyObject
*resultobj
= NULL
;
32977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32978 wxString
*arg2
= 0 ;
32979 bool temp2
= false ;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 char *kwnames
[] = {
32983 (char *) "self",(char *) "path", NULL
32986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32988 if (SWIG_arg_fail(1)) SWIG_fail
;
32990 arg2
= wxString_in_helper(obj1
);
32991 if (arg2
== NULL
) SWIG_fail
;
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 (arg1
)->SetPath((wxString
const &)*arg2
);
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33001 Py_INCREF(Py_None
); resultobj
= Py_None
;
33016 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
= NULL
;
33018 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 char *kwnames
[] = {
33023 (char *) "self",(char *) "show", NULL
33026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
33027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail
;
33030 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
33031 if (SWIG_arg_fail(2)) SWIG_fail
;
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 (arg1
)->ShowHidden(arg2
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 Py_INCREF(Py_None
); resultobj
= Py_None
;
33047 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
= NULL
;
33049 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33051 PyObject
* obj0
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
33057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail
;
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (bool)(arg1
)->GetShowHidden();
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33075 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
= NULL
;
33077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33079 PyObject
* obj0
= 0 ;
33080 char *kwnames
[] = {
33081 (char *) "self", NULL
33084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
33085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33086 if (SWIG_arg_fail(1)) SWIG_fail
;
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33107 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
= NULL
;
33109 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33110 wxString
*arg2
= 0 ;
33111 bool temp2
= false ;
33112 PyObject
* obj0
= 0 ;
33113 PyObject
* obj1
= 0 ;
33114 char *kwnames
[] = {
33115 (char *) "self",(char *) "filter", NULL
33118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
33119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33120 if (SWIG_arg_fail(1)) SWIG_fail
;
33122 arg2
= wxString_in_helper(obj1
);
33123 if (arg2
== NULL
) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->SetFilter((wxString
const &)*arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 Py_INCREF(Py_None
); resultobj
= Py_None
;
33148 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
= NULL
;
33150 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33152 PyObject
* obj0
= 0 ;
33153 char *kwnames
[] = {
33154 (char *) "self", NULL
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
33158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail
;
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= SWIG_From_int(static_cast<int >(result
));
33176 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
= NULL
;
33178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33180 PyObject
* obj0
= 0 ;
33181 PyObject
* obj1
= 0 ;
33182 char *kwnames
[] = {
33183 (char *) "self",(char *) "n", NULL
33186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
33187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail
;
33190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33191 if (SWIG_arg_fail(2)) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 (arg1
)->SetFilterIndex(arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33200 Py_INCREF(Py_None
); resultobj
= Py_None
;
33207 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33208 PyObject
*resultobj
= NULL
;
33209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33210 wxTreeItemId result
;
33211 PyObject
* obj0
= 0 ;
33212 char *kwnames
[] = {
33213 (char *) "self", NULL
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
33217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33218 if (SWIG_arg_fail(1)) SWIG_fail
;
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33221 result
= (arg1
)->GetRootId();
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33227 wxTreeItemId
* resultptr
;
33228 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33237 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
= NULL
;
33239 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33240 wxPyTreeCtrl
*result
;
33241 PyObject
* obj0
= 0 ;
33242 char *kwnames
[] = {
33243 (char *) "self", NULL
33246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
33247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= wxPyMake_wxObject(result
, 0);
33265 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
= NULL
;
33267 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33268 wxDirFilterListCtrl
*result
;
33269 PyObject
* obj0
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
33275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33276 if (SWIG_arg_fail(1)) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
33281 wxPyEndAllowThreads(__tstate
);
33282 if (PyErr_Occurred()) SWIG_fail
;
33284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
33291 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
= NULL
;
33293 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33294 wxTreeItemId arg2
;
33295 wxString
*arg3
= 0 ;
33297 wxTreeItemId result
;
33298 bool temp3
= false ;
33301 PyObject
* obj0
= 0 ;
33302 PyObject
* obj1
= 0 ;
33303 PyObject
* obj2
= 0 ;
33304 char *kwnames
[] = {
33305 (char *) "self",(char *) "parentId",(char *) "path", NULL
33308 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
33309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33311 if (SWIG_arg_fail(1)) SWIG_fail
;
33313 wxTreeItemId
* argp
;
33314 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
33315 if (SWIG_arg_fail(2)) SWIG_fail
;
33316 if (argp
== NULL
) {
33317 SWIG_null_ref("wxTreeItemId");
33319 if (SWIG_arg_fail(2)) SWIG_fail
;
33323 arg3
= wxString_in_helper(obj2
);
33324 if (arg3
== NULL
) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33335 wxTreeItemId
* resultptr
;
33336 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33339 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
33340 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
33355 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
= NULL
;
33357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33358 PyObject
* obj0
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
33364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33365 if (SWIG_arg_fail(1)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 (arg1
)->DoResize();
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 Py_INCREF(Py_None
); resultobj
= Py_None
;
33380 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
= NULL
;
33382 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33383 PyObject
* obj0
= 0 ;
33384 char *kwnames
[] = {
33385 (char *) "self", NULL
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
33389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33390 if (SWIG_arg_fail(1)) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 (arg1
)->ReCreateTree();
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33398 Py_INCREF(Py_None
); resultobj
= Py_None
;
33405 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
33407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33408 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
33410 return Py_BuildValue((char *)"");
33412 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
= NULL
;
33414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33415 int arg2
= (int) (int)-1 ;
33416 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33417 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33418 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33419 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33420 long arg5
= (long) 0 ;
33421 wxDirFilterListCtrl
*result
;
33424 PyObject
* obj0
= 0 ;
33425 PyObject
* obj1
= 0 ;
33426 PyObject
* obj2
= 0 ;
33427 PyObject
* obj3
= 0 ;
33428 PyObject
* obj4
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail
;
33438 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33439 if (SWIG_arg_fail(2)) SWIG_fail
;
33445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33456 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33457 if (SWIG_arg_fail(5)) SWIG_fail
;
33461 if (!wxPyCheckForApp()) SWIG_fail
;
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33465 wxPyEndAllowThreads(__tstate
);
33466 if (PyErr_Occurred()) SWIG_fail
;
33468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33475 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33476 PyObject
*resultobj
= NULL
;
33477 wxDirFilterListCtrl
*result
;
33478 char *kwnames
[] = {
33482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
33484 if (!wxPyCheckForApp()) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33498 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
= NULL
;
33500 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33501 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
33502 int arg3
= (int) (int)-1 ;
33503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33507 long arg6
= (long) 0 ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 PyObject
* obj2
= 0 ;
33514 PyObject
* obj3
= 0 ;
33515 PyObject
* obj4
= 0 ;
33516 PyObject
* obj5
= 0 ;
33517 char *kwnames
[] = {
33518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33523 if (SWIG_arg_fail(1)) SWIG_fail
;
33524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33525 if (SWIG_arg_fail(2)) SWIG_fail
;
33528 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
33529 if (SWIG_arg_fail(3)) SWIG_fail
;
33535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33546 arg6
= static_cast<long >(SWIG_As_long(obj5
));
33547 if (SWIG_arg_fail(6)) SWIG_fail
;
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33566 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33567 PyObject
*resultobj
= NULL
;
33568 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33569 wxString
*arg2
= 0 ;
33571 bool temp2
= false ;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 PyObject
* obj2
= 0 ;
33575 char *kwnames
[] = {
33576 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail
;
33583 arg2
= wxString_in_helper(obj1
);
33584 if (arg2
== NULL
) SWIG_fail
;
33588 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33589 if (SWIG_arg_fail(3)) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33598 Py_INCREF(Py_None
); resultobj
= Py_None
;
33613 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
33615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33616 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
33618 return Py_BuildValue((char *)"");
33620 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
= NULL
;
33622 wxWindow
*arg1
= (wxWindow
*) 0 ;
33623 int arg2
= (int) (int)-1 ;
33624 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33625 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33626 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33627 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33628 long arg5
= (long) 0 ;
33629 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33630 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33631 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33633 wxPyControl
*result
;
33636 bool temp7
= false ;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 PyObject
* obj2
= 0 ;
33640 PyObject
* obj3
= 0 ;
33641 PyObject
* obj4
= 0 ;
33642 PyObject
* obj5
= 0 ;
33643 PyObject
* obj6
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail
;
33653 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33654 if (SWIG_arg_fail(2)) SWIG_fail
;
33660 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33666 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33671 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33672 if (SWIG_arg_fail(5)) SWIG_fail
;
33677 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33678 if (SWIG_arg_fail(6)) SWIG_fail
;
33679 if (arg6
== NULL
) {
33680 SWIG_null_ref("wxValidator");
33682 if (SWIG_arg_fail(6)) SWIG_fail
;
33687 arg7
= wxString_in_helper(obj6
);
33688 if (arg7
== NULL
) SWIG_fail
;
33693 if (!wxPyCheckForApp()) SWIG_fail
;
33694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33695 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33697 wxPyEndAllowThreads(__tstate
);
33698 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33715 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33716 PyObject
*resultobj
= NULL
;
33717 wxPyControl
*result
;
33718 char *kwnames
[] = {
33722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
33724 if (!wxPyCheckForApp()) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (wxPyControl
*)new wxPyControl();
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33738 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33739 PyObject
*resultobj
= NULL
;
33740 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33741 PyObject
*arg2
= (PyObject
*) 0 ;
33742 PyObject
*arg3
= (PyObject
*) 0 ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 PyObject
* obj2
= 0 ;
33746 char *kwnames
[] = {
33747 (char *) "self",(char *) "self",(char *) "_class", NULL
33750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33752 if (SWIG_arg_fail(1)) SWIG_fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 Py_INCREF(Py_None
); resultobj
= Py_None
;
33769 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
= NULL
;
33771 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 char *kwnames
[] = {
33777 (char *) "self",(char *) "size", NULL
33780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail
;
33785 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 Py_INCREF(Py_None
); resultobj
= Py_None
;
33801 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= NULL
;
33803 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33804 wxDC
*arg2
= (wxDC
*) 0 ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 char *kwnames
[] = {
33809 (char *) "self",(char *) "dc", NULL
33812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail
;
33815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33816 if (SWIG_arg_fail(2)) SWIG_fail
;
33818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33819 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33833 static PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
= NULL
;
33835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33840 PyObject
* obj0
= 0 ;
33841 PyObject
* obj1
= 0 ;
33842 PyObject
* obj2
= 0 ;
33843 PyObject
* obj3
= 0 ;
33844 PyObject
* obj4
= 0 ;
33845 char *kwnames
[] = {
33846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33851 if (SWIG_arg_fail(1)) SWIG_fail
;
33853 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33854 if (SWIG_arg_fail(2)) SWIG_fail
;
33857 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33858 if (SWIG_arg_fail(3)) SWIG_fail
;
33861 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33862 if (SWIG_arg_fail(4)) SWIG_fail
;
33865 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33866 if (SWIG_arg_fail(5)) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 Py_INCREF(Py_None
); resultobj
= Py_None
;
33882 static PyObject
*_wrap_PyControl_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
= NULL
;
33884 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33889 int arg6
= (int) wxSIZE_AUTO
;
33890 PyObject
* obj0
= 0 ;
33891 PyObject
* obj1
= 0 ;
33892 PyObject
* obj2
= 0 ;
33893 PyObject
* obj3
= 0 ;
33894 PyObject
* obj4
= 0 ;
33895 PyObject
* obj5
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33905 if (SWIG_arg_fail(2)) SWIG_fail
;
33908 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33909 if (SWIG_arg_fail(3)) SWIG_fail
;
33912 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33913 if (SWIG_arg_fail(4)) SWIG_fail
;
33916 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33917 if (SWIG_arg_fail(5)) SWIG_fail
;
33921 arg6
= static_cast<int >(SWIG_As_int(obj5
));
33922 if (SWIG_arg_fail(6)) SWIG_fail
;
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 Py_INCREF(Py_None
); resultobj
= Py_None
;
33939 static PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
= NULL
;
33941 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33944 PyObject
* obj0
= 0 ;
33945 PyObject
* obj1
= 0 ;
33946 PyObject
* obj2
= 0 ;
33947 char *kwnames
[] = {
33948 (char *) "self",(char *) "width",(char *) "height", NULL
33951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail
;
33955 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33956 if (SWIG_arg_fail(2)) SWIG_fail
;
33959 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33960 if (SWIG_arg_fail(3)) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 (arg1
)->DoSetClientSize(arg2
,arg3
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 Py_INCREF(Py_None
); resultobj
= Py_None
;
33976 static PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
= NULL
;
33978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 PyObject
* obj2
= 0 ;
33984 char *kwnames
[] = {
33985 (char *) "self",(char *) "x",(char *) "y", NULL
33988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail
;
33992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33993 if (SWIG_arg_fail(2)) SWIG_fail
;
33996 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33997 if (SWIG_arg_fail(3)) SWIG_fail
;
34000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34001 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
34003 wxPyEndAllowThreads(__tstate
);
34004 if (PyErr_Occurred()) SWIG_fail
;
34006 Py_INCREF(Py_None
); resultobj
= Py_None
;
34013 static PyObject
*_wrap_PyControl_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34014 PyObject
*resultobj
= NULL
;
34015 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34016 int *arg2
= (int *) 0 ;
34017 int *arg3
= (int *) 0 ;
34022 PyObject
* obj0
= 0 ;
34023 char *kwnames
[] = {
34024 (char *) "self", NULL
34027 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34028 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetSize",kwnames
,&obj0
)) goto fail
;
34030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34031 if (SWIG_arg_fail(1)) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 Py_INCREF(Py_None
); resultobj
= Py_None
;
34040 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34041 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34042 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34043 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34050 static PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34051 PyObject
*resultobj
= NULL
;
34052 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34053 int *arg2
= (int *) 0 ;
34054 int *arg3
= (int *) 0 ;
34059 PyObject
* obj0
= 0 ;
34060 char *kwnames
[] = {
34061 (char *) "self", NULL
34064 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34065 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
34067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34068 if (SWIG_arg_fail(1)) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 Py_INCREF(Py_None
); resultobj
= Py_None
;
34077 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34078 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34079 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34080 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34087 static PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
= NULL
;
34089 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34090 int *arg2
= (int *) 0 ;
34091 int *arg3
= (int *) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self", NULL
34101 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34102 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetPosition",kwnames
,&obj0
)) goto fail
;
34104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34105 if (SWIG_arg_fail(1)) SWIG_fail
;
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 Py_INCREF(Py_None
); resultobj
= Py_None
;
34114 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34115 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34116 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34117 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34124 static PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
= NULL
;
34126 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34128 PyObject
* obj0
= 0 ;
34129 char *kwnames
[] = {
34130 (char *) "self", NULL
34133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
34134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34135 if (SWIG_arg_fail(1)) SWIG_fail
;
34137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34138 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34144 wxSize
* resultptr
;
34145 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34154 static PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= NULL
;
34156 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34158 PyObject
* obj0
= 0 ;
34159 char *kwnames
[] = {
34160 (char *) "self", NULL
34163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
34164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34165 if (SWIG_arg_fail(1)) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34174 wxSize
* resultptr
;
34175 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34184 static PyObject
*_wrap_PyControl_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34185 PyObject
*resultobj
= NULL
;
34186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34187 PyObject
* obj0
= 0 ;
34188 char *kwnames
[] = {
34189 (char *) "self", NULL
34192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_InitDialog",kwnames
,&obj0
)) goto fail
;
34193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail
;
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 (arg1
)->InitDialog();
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 Py_INCREF(Py_None
); resultobj
= Py_None
;
34209 static PyObject
*_wrap_PyControl_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
= NULL
;
34211 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34213 PyObject
* obj0
= 0 ;
34214 char *kwnames
[] = {
34215 (char *) "self", NULL
34218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
34219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (bool)(arg1
)->TransferDataToWindow();
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34237 static PyObject
*_wrap_PyControl_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34238 PyObject
*resultobj
= NULL
;
34239 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 char *kwnames
[] = {
34243 (char *) "self", NULL
34246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
34247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34248 if (SWIG_arg_fail(1)) SWIG_fail
;
34250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34251 result
= (bool)(arg1
)->TransferDataFromWindow();
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34265 static PyObject
*_wrap_PyControl_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
= NULL
;
34267 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34269 PyObject
* obj0
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_Validate",kwnames
,&obj0
)) goto fail
;
34275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail
;
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 result
= (bool)(arg1
)->Validate();
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34293 static PyObject
*_wrap_PyControl_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
= NULL
;
34295 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34297 PyObject
* obj0
= 0 ;
34298 char *kwnames
[] = {
34299 (char *) "self", NULL
34302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
34303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34304 if (SWIG_arg_fail(1)) SWIG_fail
;
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocus();
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34321 static PyObject
*_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34322 PyObject
*resultobj
= NULL
;
34323 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34325 PyObject
* obj0
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
34331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail
;
34334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34335 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocusFromKeyboard();
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34349 static PyObject
*_wrap_PyControl_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
= NULL
;
34351 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34353 PyObject
* obj0
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetMaxSize",kwnames
,&obj0
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 result
= ((wxPyControl
const *)arg1
)->GetMaxSize();
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34369 wxSize
* resultptr
;
34370 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34379 static PyObject
*_wrap_PyControl_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
= NULL
;
34381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34382 wxWindow
*arg2
= (wxWindow
*) 0 ;
34383 PyObject
* obj0
= 0 ;
34384 PyObject
* obj1
= 0 ;
34385 char *kwnames
[] = {
34386 (char *) "self",(char *) "child", NULL
34389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34391 if (SWIG_arg_fail(1)) SWIG_fail
;
34392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34393 if (SWIG_arg_fail(2)) SWIG_fail
;
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 (arg1
)->AddChild(arg2
);
34398 wxPyEndAllowThreads(__tstate
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34401 Py_INCREF(Py_None
); resultobj
= Py_None
;
34408 static PyObject
*_wrap_PyControl_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34409 PyObject
*resultobj
= NULL
;
34410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34411 wxWindow
*arg2
= (wxWindow
*) 0 ;
34412 PyObject
* obj0
= 0 ;
34413 PyObject
* obj1
= 0 ;
34414 char *kwnames
[] = {
34415 (char *) "self",(char *) "child", NULL
34418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34420 if (SWIG_arg_fail(1)) SWIG_fail
;
34421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34422 if (SWIG_arg_fail(2)) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 (arg1
)->RemoveChild(arg2
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 Py_INCREF(Py_None
); resultobj
= Py_None
;
34437 static PyObject
*_wrap_PyControl_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
= NULL
;
34439 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34441 PyObject
* obj0
= 0 ;
34442 char *kwnames
[] = {
34443 (char *) "self", NULL
34446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
34447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34448 if (SWIG_arg_fail(1)) SWIG_fail
;
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 result
= (bool)((wxPyControl
const *)arg1
)->ShouldInheritColours();
34453 wxPyEndAllowThreads(__tstate
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34465 static PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= NULL
;
34467 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34468 wxVisualAttributes result
;
34469 PyObject
* obj0
= 0 ;
34470 char *kwnames
[] = {
34471 (char *) "self", NULL
34474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34476 if (SWIG_arg_fail(1)) SWIG_fail
;
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 result
= (arg1
)->GetDefaultAttributes();
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34485 wxVisualAttributes
* resultptr
;
34486 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
34487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34495 static PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
= NULL
;
34497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34498 PyObject
* obj0
= 0 ;
34499 char *kwnames
[] = {
34500 (char *) "self", NULL
34503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
34504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34505 if (SWIG_arg_fail(1)) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 (arg1
)->OnInternalIdle();
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34513 Py_INCREF(Py_None
); resultobj
= Py_None
;
34520 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
34522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34523 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
34525 return Py_BuildValue((char *)"");
34527 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
= NULL
;
34529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
34530 int arg2
= (int) 0 ;
34531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34533 wxHelpEvent
*result
;
34535 PyObject
* obj0
= 0 ;
34536 PyObject
* obj1
= 0 ;
34537 PyObject
* obj2
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "type",(char *) "winid",(char *) "pt", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34545 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
34546 if (SWIG_arg_fail(1)) SWIG_fail
;
34551 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34552 if (SWIG_arg_fail(2)) SWIG_fail
;
34558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
34575 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
= NULL
;
34577 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34579 PyObject
* obj0
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
34585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34586 if (SWIG_arg_fail(1)) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34595 wxPoint
* resultptr
;
34596 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
34597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34605 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= NULL
;
34607 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34608 wxPoint
*arg2
= 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char *kwnames
[] = {
34613 (char *) "self",(char *) "pos", NULL
34616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34618 if (SWIG_arg_fail(1)) SWIG_fail
;
34621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 Py_INCREF(Py_None
); resultobj
= Py_None
;
34637 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
= NULL
;
34639 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34641 PyObject
* obj0
= 0 ;
34642 char *kwnames
[] = {
34643 (char *) "self", NULL
34646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
34647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
34653 result
= (wxString
*) &_result_ref
;
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34672 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34673 PyObject
*resultobj
= NULL
;
34674 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34675 wxString
*arg2
= 0 ;
34676 bool temp2
= false ;
34677 PyObject
* obj0
= 0 ;
34678 PyObject
* obj1
= 0 ;
34679 char *kwnames
[] = {
34680 (char *) "self",(char *) "link", NULL
34683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
34684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34685 if (SWIG_arg_fail(1)) SWIG_fail
;
34687 arg2
= wxString_in_helper(obj1
);
34688 if (arg2
== NULL
) SWIG_fail
;
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 (arg1
)->SetLink((wxString
const &)*arg2
);
34695 wxPyEndAllowThreads(__tstate
);
34696 if (PyErr_Occurred()) SWIG_fail
;
34698 Py_INCREF(Py_None
); resultobj
= Py_None
;
34713 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
= NULL
;
34715 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34717 PyObject
* obj0
= 0 ;
34718 char *kwnames
[] = {
34719 (char *) "self", NULL
34722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
34723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34724 if (SWIG_arg_fail(1)) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
34729 result
= (wxString
*) &_result_ref
;
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34739 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34748 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
= NULL
;
34750 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34751 wxString
*arg2
= 0 ;
34752 bool temp2
= false ;
34753 PyObject
* obj0
= 0 ;
34754 PyObject
* obj1
= 0 ;
34755 char *kwnames
[] = {
34756 (char *) "self",(char *) "target", NULL
34759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
34760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34761 if (SWIG_arg_fail(1)) SWIG_fail
;
34763 arg2
= wxString_in_helper(obj1
);
34764 if (arg2
== NULL
) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 (arg1
)->SetTarget((wxString
const &)*arg2
);
34771 wxPyEndAllowThreads(__tstate
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34774 Py_INCREF(Py_None
); resultobj
= Py_None
;
34789 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
34791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34792 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
34794 return Py_BuildValue((char *)"");
34796 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34797 PyObject
*resultobj
= NULL
;
34798 wxWindow
*arg1
= (wxWindow
*) NULL
;
34799 bool arg2
= (bool) true ;
34800 wxContextHelp
*result
;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "window",(char *) "doNow", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail
;
34814 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
34815 if (SWIG_arg_fail(2)) SWIG_fail
;
34819 if (!wxPyCheckForApp()) SWIG_fail
;
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
34833 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
= NULL
;
34835 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34836 PyObject
* obj0
= 0 ;
34837 char *kwnames
[] = {
34838 (char *) "self", NULL
34841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
34842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34843 if (SWIG_arg_fail(1)) SWIG_fail
;
34845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 wxPyEndAllowThreads(__tstate
);
34849 if (PyErr_Occurred()) SWIG_fail
;
34851 Py_INCREF(Py_None
); resultobj
= Py_None
;
34858 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
= NULL
;
34860 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34861 wxWindow
*arg2
= (wxWindow
*) NULL
;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self",(char *) "window", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34871 if (SWIG_arg_fail(1)) SWIG_fail
;
34873 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34874 if (SWIG_arg_fail(2)) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34892 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34893 PyObject
*resultobj
= NULL
;
34894 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34896 PyObject
* obj0
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
34902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34903 if (SWIG_arg_fail(1)) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 result
= (bool)(arg1
)->EndContextHelp();
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34920 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
34922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34923 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
34925 return Py_BuildValue((char *)"");
34927 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= NULL
;
34929 wxWindow
*arg1
= (wxWindow
*) 0 ;
34930 int arg2
= (int) wxID_CONTEXT_HELP
;
34931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34933 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34934 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34935 long arg5
= (long) wxBU_AUTODRAW
;
34936 wxContextHelpButton
*result
;
34939 PyObject
* obj0
= 0 ;
34940 PyObject
* obj1
= 0 ;
34941 PyObject
* obj2
= 0 ;
34942 PyObject
* obj3
= 0 ;
34943 PyObject
* obj4
= 0 ;
34944 char *kwnames
[] = {
34945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34950 if (SWIG_arg_fail(1)) SWIG_fail
;
34953 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34954 if (SWIG_arg_fail(2)) SWIG_fail
;
34960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34971 arg5
= static_cast<long >(SWIG_As_long(obj4
));
34972 if (SWIG_arg_fail(5)) SWIG_fail
;
34976 if (!wxPyCheckForApp()) SWIG_fail
;
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
34990 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
34992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34993 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
34995 return Py_BuildValue((char *)"");
34997 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34998 PyObject
*resultobj
= NULL
;
34999 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35000 wxHelpProvider
*result
;
35001 PyObject
* obj0
= 0 ;
35002 char *kwnames
[] = {
35003 (char *) "helpProvider", NULL
35006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
35007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
35008 if (SWIG_arg_fail(1)) SWIG_fail
;
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 1);
35023 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
= NULL
;
35025 wxHelpProvider
*result
;
35026 char *kwnames
[] = {
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (wxHelpProvider
*)wxHelpProvider::Get();
35035 wxPyEndAllowThreads(__tstate
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
35045 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35046 PyObject
*resultobj
= NULL
;
35047 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35048 wxWindow
*arg2
= (wxWindow
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 char *kwnames
[] = {
35053 (char *) "self",(char *) "window", NULL
35056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35058 if (SWIG_arg_fail(1)) SWIG_fail
;
35059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35060 if (SWIG_arg_fail(2)) SWIG_fail
;
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
35065 wxPyEndAllowThreads(__tstate
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35081 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35082 PyObject
*resultobj
= NULL
;
35083 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35084 wxWindow
*arg2
= (wxWindow
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 PyObject
* obj1
= 0 ;
35088 char *kwnames
[] = {
35089 (char *) "self",(char *) "window", NULL
35092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35094 if (SWIG_arg_fail(1)) SWIG_fail
;
35095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35096 if (SWIG_arg_fail(2)) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (bool)(arg1
)->ShowHelp(arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35113 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
= NULL
;
35115 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35116 wxWindow
*arg2
= (wxWindow
*) 0 ;
35117 wxString
*arg3
= 0 ;
35118 bool temp3
= false ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 PyObject
* obj2
= 0 ;
35122 char *kwnames
[] = {
35123 (char *) "self",(char *) "window",(char *) "text", NULL
35126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35128 if (SWIG_arg_fail(1)) SWIG_fail
;
35129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35130 if (SWIG_arg_fail(2)) SWIG_fail
;
35132 arg3
= wxString_in_helper(obj2
);
35133 if (arg3
== NULL
) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 Py_INCREF(Py_None
); resultobj
= Py_None
;
35158 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
= NULL
;
35160 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35162 wxString
*arg3
= 0 ;
35163 bool temp3
= false ;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 PyObject
* obj2
= 0 ;
35167 char *kwnames
[] = {
35168 (char *) "self",(char *) "id",(char *) "text", NULL
35171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35173 if (SWIG_arg_fail(1)) SWIG_fail
;
35175 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35176 if (SWIG_arg_fail(2)) SWIG_fail
;
35179 arg3
= wxString_in_helper(obj2
);
35180 if (arg3
== NULL
) SWIG_fail
;
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35190 Py_INCREF(Py_None
); resultobj
= Py_None
;
35205 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= NULL
;
35207 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35208 wxWindow
*arg2
= (wxWindow
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 PyObject
* obj1
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self",(char *) "window", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail
;
35218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35219 if (SWIG_arg_fail(2)) SWIG_fail
;
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 (arg1
)->RemoveHelp(arg2
);
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 Py_INCREF(Py_None
); resultobj
= Py_None
;
35234 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35235 PyObject
*resultobj
= NULL
;
35236 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35237 PyObject
* obj0
= 0 ;
35238 char *kwnames
[] = {
35239 (char *) "self", NULL
35242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
35243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35244 if (SWIG_arg_fail(1)) SWIG_fail
;
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35247 wxHelpProvider_Destroy(arg1
);
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 Py_INCREF(Py_None
); resultobj
= Py_None
;
35259 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35262 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
35264 return Py_BuildValue((char *)"");
35266 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
= NULL
;
35268 wxSimpleHelpProvider
*result
;
35269 char *kwnames
[] = {
35273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35276 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
35288 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35291 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
35293 return Py_BuildValue((char *)"");
35295 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
= NULL
;
35297 wxBitmap
*arg1
= 0 ;
35298 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35299 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35300 wxGenericDragImage
*result
;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "image",(char *) "cursor", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
35309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35310 if (SWIG_arg_fail(1)) SWIG_fail
;
35311 if (arg1
== NULL
) {
35312 SWIG_null_ref("wxBitmap");
35314 if (SWIG_arg_fail(1)) SWIG_fail
;
35318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35319 if (SWIG_arg_fail(2)) SWIG_fail
;
35320 if (arg2
== NULL
) {
35321 SWIG_null_ref("wxCursor");
35323 if (SWIG_arg_fail(2)) SWIG_fail
;
35327 if (!wxPyCheckForApp()) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35341 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
= NULL
;
35344 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35345 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35346 wxGenericDragImage
*result
;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 char *kwnames
[] = {
35350 (char *) "image",(char *) "cursor", NULL
35353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
35355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
35356 if (SWIG_arg_fail(1)) SWIG_fail
;
35357 if (arg1
== NULL
) {
35358 SWIG_null_ref("wxIcon");
35360 if (SWIG_arg_fail(1)) SWIG_fail
;
35364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35365 if (SWIG_arg_fail(2)) SWIG_fail
;
35366 if (arg2
== NULL
) {
35367 SWIG_null_ref("wxCursor");
35369 if (SWIG_arg_fail(2)) SWIG_fail
;
35373 if (!wxPyCheckForApp()) SWIG_fail
;
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35387 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35388 PyObject
*resultobj
= NULL
;
35389 wxString
*arg1
= 0 ;
35390 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35391 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35392 wxGenericDragImage
*result
;
35393 bool temp1
= false ;
35394 PyObject
* obj0
= 0 ;
35395 PyObject
* obj1
= 0 ;
35396 char *kwnames
[] = {
35397 (char *) "str",(char *) "cursor", NULL
35400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
35402 arg1
= wxString_in_helper(obj0
);
35403 if (arg1
== NULL
) SWIG_fail
;
35408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35409 if (SWIG_arg_fail(2)) SWIG_fail
;
35410 if (arg2
== NULL
) {
35411 SWIG_null_ref("wxCursor");
35413 if (SWIG_arg_fail(2)) SWIG_fail
;
35417 if (!wxPyCheckForApp()) SWIG_fail
;
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35439 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
= NULL
;
35441 wxPyTreeCtrl
*arg1
= 0 ;
35442 wxTreeItemId
*arg2
= 0 ;
35443 wxGenericDragImage
*result
;
35444 PyObject
* obj0
= 0 ;
35445 PyObject
* obj1
= 0 ;
35446 char *kwnames
[] = {
35447 (char *) "treeCtrl",(char *) "id", NULL
35450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35453 if (SWIG_arg_fail(1)) SWIG_fail
;
35454 if (arg1
== NULL
) {
35455 SWIG_null_ref("wxPyTreeCtrl");
35457 if (SWIG_arg_fail(1)) SWIG_fail
;
35460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
35461 if (SWIG_arg_fail(2)) SWIG_fail
;
35462 if (arg2
== NULL
) {
35463 SWIG_null_ref("wxTreeItemId");
35465 if (SWIG_arg_fail(2)) SWIG_fail
;
35468 if (!wxPyCheckForApp()) SWIG_fail
;
35469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35470 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
35472 wxPyEndAllowThreads(__tstate
);
35473 if (PyErr_Occurred()) SWIG_fail
;
35475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35482 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35483 PyObject
*resultobj
= NULL
;
35484 wxPyListCtrl
*arg1
= 0 ;
35486 wxGenericDragImage
*result
;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 char *kwnames
[] = {
35490 (char *) "listCtrl",(char *) "id", NULL
35493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35496 if (SWIG_arg_fail(1)) SWIG_fail
;
35497 if (arg1
== NULL
) {
35498 SWIG_null_ref("wxPyListCtrl");
35500 if (SWIG_arg_fail(1)) SWIG_fail
;
35503 arg2
= static_cast<long >(SWIG_As_long(obj1
));
35504 if (SWIG_arg_fail(2)) SWIG_fail
;
35507 if (!wxPyCheckForApp()) SWIG_fail
;
35508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35509 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
35511 wxPyEndAllowThreads(__tstate
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35521 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= NULL
;
35523 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char *kwnames
[] = {
35526 (char *) "self", NULL
35529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
35530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35531 if (SWIG_arg_fail(1)) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 Py_INCREF(Py_None
); resultobj
= Py_None
;
35546 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
= NULL
;
35548 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35549 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35550 PyObject
* obj0
= 0 ;
35551 PyObject
* obj1
= 0 ;
35552 char *kwnames
[] = {
35553 (char *) "self",(char *) "bitmap", NULL
35556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35558 if (SWIG_arg_fail(1)) SWIG_fail
;
35559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35560 if (SWIG_arg_fail(2)) SWIG_fail
;
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 (arg1
)->SetBackingBitmap(arg2
);
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 Py_INCREF(Py_None
); resultobj
= Py_None
;
35575 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
= NULL
;
35577 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35578 wxPoint
*arg2
= 0 ;
35579 wxWindow
*arg3
= (wxWindow
*) 0 ;
35580 bool arg4
= (bool) false ;
35581 wxRect
*arg5
= (wxRect
*) NULL
;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 PyObject
* obj2
= 0 ;
35587 PyObject
* obj3
= 0 ;
35588 PyObject
* obj4
= 0 ;
35589 char *kwnames
[] = {
35590 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35595 if (SWIG_arg_fail(1)) SWIG_fail
;
35598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35600 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35601 if (SWIG_arg_fail(3)) SWIG_fail
;
35604 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35605 if (SWIG_arg_fail(4)) SWIG_fail
;
35609 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
35610 if (SWIG_arg_fail(5)) SWIG_fail
;
35613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35628 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35629 PyObject
*resultobj
= NULL
;
35630 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35631 wxPoint
*arg2
= 0 ;
35632 wxWindow
*arg3
= (wxWindow
*) 0 ;
35633 wxWindow
*arg4
= (wxWindow
*) 0 ;
35636 PyObject
* obj0
= 0 ;
35637 PyObject
* obj1
= 0 ;
35638 PyObject
* obj2
= 0 ;
35639 PyObject
* obj3
= 0 ;
35640 char *kwnames
[] = {
35641 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35646 if (SWIG_arg_fail(1)) SWIG_fail
;
35649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35651 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35652 if (SWIG_arg_fail(3)) SWIG_fail
;
35653 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35654 if (SWIG_arg_fail(4)) SWIG_fail
;
35656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35671 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35672 PyObject
*resultobj
= NULL
;
35673 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35675 PyObject
* obj0
= 0 ;
35676 char *kwnames
[] = {
35677 (char *) "self", NULL
35680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
35681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35682 if (SWIG_arg_fail(1)) SWIG_fail
;
35684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35685 result
= (bool)(arg1
)->EndDrag();
35687 wxPyEndAllowThreads(__tstate
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35699 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35700 PyObject
*resultobj
= NULL
;
35701 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35702 wxPoint
*arg2
= 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self",(char *) "pt", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
35712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35713 if (SWIG_arg_fail(1)) SWIG_fail
;
35716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35734 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
= NULL
;
35736 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35738 PyObject
* obj0
= 0 ;
35739 char *kwnames
[] = {
35740 (char *) "self", NULL
35743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
35744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35745 if (SWIG_arg_fail(1)) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= (bool)(arg1
)->Show();
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35762 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35763 PyObject
*resultobj
= NULL
;
35764 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35766 PyObject
* obj0
= 0 ;
35767 char *kwnames
[] = {
35768 (char *) "self", NULL
35771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
35772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35773 if (SWIG_arg_fail(1)) SWIG_fail
;
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (bool)(arg1
)->Hide();
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35790 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
= NULL
;
35792 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35793 wxPoint
*arg2
= 0 ;
35796 PyObject
* obj0
= 0 ;
35797 PyObject
* obj1
= 0 ;
35798 char *kwnames
[] = {
35799 (char *) "self",(char *) "pos", NULL
35802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
35803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35804 if (SWIG_arg_fail(1)) SWIG_fail
;
35807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35811 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
35813 wxPyEndAllowThreads(__tstate
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35817 wxRect
* resultptr
;
35818 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
35819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35827 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
= NULL
;
35829 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35831 wxPoint
*arg3
= 0 ;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 PyObject
* obj2
= 0 ;
35837 char *kwnames
[] = {
35838 (char *) "self",(char *) "dc",(char *) "pos", NULL
35841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35843 if (SWIG_arg_fail(1)) SWIG_fail
;
35845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35846 if (SWIG_arg_fail(2)) SWIG_fail
;
35847 if (arg2
== NULL
) {
35848 SWIG_null_ref("wxDC");
35850 if (SWIG_arg_fail(2)) SWIG_fail
;
35854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35872 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
= NULL
;
35874 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35876 wxMemoryDC
*arg3
= 0 ;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 PyObject
* obj2
= 0 ;
35885 PyObject
* obj3
= 0 ;
35886 PyObject
* obj4
= 0 ;
35887 char *kwnames
[] = {
35888 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35893 if (SWIG_arg_fail(1)) SWIG_fail
;
35895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35896 if (SWIG_arg_fail(2)) SWIG_fail
;
35897 if (arg2
== NULL
) {
35898 SWIG_null_ref("wxDC");
35900 if (SWIG_arg_fail(2)) SWIG_fail
;
35903 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
35904 if (SWIG_arg_fail(3)) SWIG_fail
;
35905 if (arg3
== NULL
) {
35906 SWIG_null_ref("wxMemoryDC");
35908 if (SWIG_arg_fail(3)) SWIG_fail
;
35912 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35916 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
35922 wxPyEndAllowThreads(__tstate
);
35923 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35934 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= NULL
;
35936 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35937 wxPoint
*arg2
= 0 ;
35938 wxPoint
*arg3
= 0 ;
35944 PyObject
* obj0
= 0 ;
35945 PyObject
* obj1
= 0 ;
35946 PyObject
* obj2
= 0 ;
35947 PyObject
* obj3
= 0 ;
35948 PyObject
* obj4
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35965 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35966 if (SWIG_arg_fail(4)) SWIG_fail
;
35969 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
35970 if (SWIG_arg_fail(5)) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35974 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35988 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
35990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35991 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
35993 return Py_BuildValue((char *)"");
35995 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
35996 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
36001 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
36002 PyObject
*pyobj
= NULL
;
36006 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
36008 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
36015 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
= NULL
;
36017 wxWindow
*arg1
= (wxWindow
*) 0 ;
36018 int arg2
= (int) -1 ;
36019 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
36020 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
36021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36025 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
36026 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36027 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36028 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
36029 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36030 wxDatePickerCtrl
*result
;
36033 bool temp8
= false ;
36034 PyObject
* obj0
= 0 ;
36035 PyObject
* obj1
= 0 ;
36036 PyObject
* obj2
= 0 ;
36037 PyObject
* obj3
= 0 ;
36038 PyObject
* obj4
= 0 ;
36039 PyObject
* obj5
= 0 ;
36040 PyObject
* obj6
= 0 ;
36041 PyObject
* obj7
= 0 ;
36042 char *kwnames
[] = {
36043 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36048 if (SWIG_arg_fail(1)) SWIG_fail
;
36051 arg2
= static_cast<int >(SWIG_As_int(obj1
));
36052 if (SWIG_arg_fail(2)) SWIG_fail
;
36057 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(3)) SWIG_fail
;
36059 if (arg3
== NULL
) {
36060 SWIG_null_ref("wxDateTime");
36062 if (SWIG_arg_fail(3)) SWIG_fail
;
36068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36079 arg6
= static_cast<long >(SWIG_As_long(obj5
));
36080 if (SWIG_arg_fail(6)) SWIG_fail
;
36085 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36086 if (SWIG_arg_fail(7)) SWIG_fail
;
36087 if (arg7
== NULL
) {
36088 SWIG_null_ref("wxValidator");
36090 if (SWIG_arg_fail(7)) SWIG_fail
;
36095 arg8
= wxString_in_helper(obj7
);
36096 if (arg8
== NULL
) SWIG_fail
;
36101 if (!wxPyCheckForApp()) SWIG_fail
;
36102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36103 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
36123 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= NULL
;
36125 wxDatePickerCtrl
*result
;
36126 char *kwnames
[] = {
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
36132 if (!wxPyCheckForApp()) SWIG_fail
;
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
36136 wxPyEndAllowThreads(__tstate
);
36137 if (PyErr_Occurred()) SWIG_fail
;
36139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
36146 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36147 PyObject
*resultobj
= NULL
;
36148 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36149 wxWindow
*arg2
= (wxWindow
*) 0 ;
36150 int arg3
= (int) -1 ;
36151 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
36152 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
36153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36157 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
36158 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
36159 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
36160 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
36161 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36165 bool temp9
= false ;
36166 PyObject
* obj0
= 0 ;
36167 PyObject
* obj1
= 0 ;
36168 PyObject
* obj2
= 0 ;
36169 PyObject
* obj3
= 0 ;
36170 PyObject
* obj4
= 0 ;
36171 PyObject
* obj5
= 0 ;
36172 PyObject
* obj6
= 0 ;
36173 PyObject
* obj7
= 0 ;
36174 PyObject
* obj8
= 0 ;
36175 char *kwnames
[] = {
36176 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
36180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36181 if (SWIG_arg_fail(1)) SWIG_fail
;
36182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36183 if (SWIG_arg_fail(2)) SWIG_fail
;
36186 arg3
= static_cast<int >(SWIG_As_int(obj2
));
36187 if (SWIG_arg_fail(3)) SWIG_fail
;
36192 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36193 if (SWIG_arg_fail(4)) SWIG_fail
;
36194 if (arg4
== NULL
) {
36195 SWIG_null_ref("wxDateTime");
36197 if (SWIG_arg_fail(4)) SWIG_fail
;
36203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36214 arg7
= static_cast<long >(SWIG_As_long(obj6
));
36215 if (SWIG_arg_fail(7)) SWIG_fail
;
36220 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36221 if (SWIG_arg_fail(8)) SWIG_fail
;
36222 if (arg8
== NULL
) {
36223 SWIG_null_ref("wxValidator");
36225 if (SWIG_arg_fail(8)) SWIG_fail
;
36230 arg9
= wxString_in_helper(obj8
);
36231 if (arg9
== NULL
) SWIG_fail
;
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36259 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36260 PyObject
*resultobj
= NULL
;
36261 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36262 wxDateTime
*arg2
= 0 ;
36263 PyObject
* obj0
= 0 ;
36264 PyObject
* obj1
= 0 ;
36265 char *kwnames
[] = {
36266 (char *) "self",(char *) "dt", NULL
36269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
36270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36271 if (SWIG_arg_fail(1)) SWIG_fail
;
36273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36274 if (SWIG_arg_fail(2)) SWIG_fail
;
36275 if (arg2
== NULL
) {
36276 SWIG_null_ref("wxDateTime");
36278 if (SWIG_arg_fail(2)) SWIG_fail
;
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36287 Py_INCREF(Py_None
); resultobj
= Py_None
;
36294 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36295 PyObject
*resultobj
= NULL
;
36296 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36298 PyObject
* obj0
= 0 ;
36299 char *kwnames
[] = {
36300 (char *) "self", NULL
36303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
36304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail
;
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36314 wxDateTime
* resultptr
;
36315 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36324 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
= NULL
;
36326 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36327 wxDateTime
*arg2
= 0 ;
36328 wxDateTime
*arg3
= 0 ;
36329 PyObject
* obj0
= 0 ;
36330 PyObject
* obj1
= 0 ;
36331 PyObject
* obj2
= 0 ;
36332 char *kwnames
[] = {
36333 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36338 if (SWIG_arg_fail(1)) SWIG_fail
;
36340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36341 if (SWIG_arg_fail(2)) SWIG_fail
;
36342 if (arg2
== NULL
) {
36343 SWIG_null_ref("wxDateTime");
36345 if (SWIG_arg_fail(2)) SWIG_fail
;
36348 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36349 if (SWIG_arg_fail(3)) SWIG_fail
;
36350 if (arg3
== NULL
) {
36351 SWIG_null_ref("wxDateTime");
36353 if (SWIG_arg_fail(3)) SWIG_fail
;
36356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36357 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
36359 wxPyEndAllowThreads(__tstate
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36362 Py_INCREF(Py_None
); resultobj
= Py_None
;
36369 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36370 PyObject
*resultobj
= NULL
;
36371 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36373 PyObject
* obj0
= 0 ;
36374 char *kwnames
[] = {
36375 (char *) "self", NULL
36378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
36379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36380 if (SWIG_arg_fail(1)) SWIG_fail
;
36382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36383 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36389 wxDateTime
* resultptr
;
36390 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36399 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36400 PyObject
*resultobj
= NULL
;
36401 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36403 PyObject
* obj0
= 0 ;
36404 char *kwnames
[] = {
36405 (char *) "self", NULL
36408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
36409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36410 if (SWIG_arg_fail(1)) SWIG_fail
;
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
36415 wxPyEndAllowThreads(__tstate
);
36416 if (PyErr_Occurred()) SWIG_fail
;
36419 wxDateTime
* resultptr
;
36420 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36429 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
36431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36432 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
36434 return Py_BuildValue((char *)"");
36436 static PyMethodDef SwigMethods
[] = {
36437 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
36444 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
36459 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
36471 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
36477 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
36509 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
36523 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
36528 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
36535 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
36541 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
36549 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
36572 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
36581 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
36612 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
36670 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
36675 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
36687 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
36700 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
36712 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
36716 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
36734 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
36741 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
36767 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
36775 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_GetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
) _wrap_BookCtrlBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
36802 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
36808 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
36819 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
36821 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
36826 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
36828 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
36834 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
36836 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"new_PreTreebook", (PyCFunction
) _wrap_new_PreTreebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"Treebook_InsertPage", (PyCFunction
) _wrap_Treebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"Treebook_AddPage", (PyCFunction
) _wrap_Treebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"Treebook_DeletePage", (PyCFunction
) _wrap_Treebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
) _wrap_Treebook_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
36850 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
36852 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"new_PreToolbook", (PyCFunction
) _wrap_new_PreToolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"Toolbook_GetToolBar", (PyCFunction
) _wrap_Toolbook_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"Toolbook_Realize", (PyCFunction
) _wrap_Toolbook_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
36858 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
36860 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
36890 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
36935 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
36941 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"delete_ListItemAttr", (PyCFunction
) _wrap_delete_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
36955 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
37007 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
37034 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37055 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37075 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37080 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37091 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37107 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
37108 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37110 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37112 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
37120 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37121 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37124 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37125 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37126 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
37128 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37129 { (char *)"delete_TreeItemData", (PyCFunction
) _wrap_delete_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37131 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37133 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37135 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
37136 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37138 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37140 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37141 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37143 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37145 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37146 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37147 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37148 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37150 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37152 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
37153 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37154 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37155 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37157 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37158 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37160 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37162 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37163 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37164 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37165 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37167 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37169 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37170 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37172 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37173 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37174 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37175 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37176 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37177 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37178 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37179 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37180 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37184 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37185 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37187 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37188 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37189 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37190 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37191 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37192 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37193 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37194 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37195 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37196 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37197 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37198 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37199 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37200 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37201 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37202 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37203 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37204 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37205 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37206 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37207 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37208 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37209 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37210 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37211 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37212 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37213 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37214 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37215 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37216 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37217 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37218 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37219 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37220 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37221 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37222 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37223 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37224 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37225 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37226 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37227 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37228 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37229 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37230 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37231 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
37232 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37233 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37234 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37235 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37236 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37237 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37238 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37239 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37240 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37241 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37242 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37243 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37244 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37245 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37246 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37247 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37248 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37249 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37250 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37251 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37252 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37253 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
37254 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37256 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37257 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37258 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
37259 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37260 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37261 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37262 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37263 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37264 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37265 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37266 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37267 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37268 { (char *)"PyControl_DoGetSize", (PyCFunction
) _wrap_PyControl_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37269 { (char *)"PyControl_DoGetClientSize", (PyCFunction
) _wrap_PyControl_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37270 { (char *)"PyControl_DoGetPosition", (PyCFunction
) _wrap_PyControl_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37271 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37272 { (char *)"PyControl_DoGetBestSize", (PyCFunction
) _wrap_PyControl_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37273 { (char *)"PyControl_InitDialog", (PyCFunction
) _wrap_PyControl_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37274 { (char *)"PyControl_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37275 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37276 { (char *)"PyControl_Validate", (PyCFunction
) _wrap_PyControl_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"PyControl_AcceptsFocus", (PyCFunction
) _wrap_PyControl_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37279 { (char *)"PyControl_GetMaxSize", (PyCFunction
) _wrap_PyControl_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"PyControl_AddChild", (PyCFunction
) _wrap_PyControl_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"PyControl_RemoveChild", (PyCFunction
) _wrap_PyControl_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37282 { (char *)"PyControl_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37283 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37284 { (char *)"PyControl_OnInternalIdle", (PyCFunction
) _wrap_PyControl_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37285 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
37286 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37287 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37288 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37289 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37290 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37291 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37293 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
37294 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37295 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37298 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
37299 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37300 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
37301 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37302 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37303 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37304 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37305 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37306 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37307 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37308 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37309 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
37310 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37311 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
37312 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37313 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37317 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37320 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37322 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37324 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37325 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37326 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37327 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37328 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37329 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
37330 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37331 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37332 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37333 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37335 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37336 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37338 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
37339 { NULL
, NULL
, 0, NULL
}
37343 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37345 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37348 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37349 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37351 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37352 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37354 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37355 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37357 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37358 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37360 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
37361 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37363 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
37364 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37366 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37367 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37369 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37370 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37372 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37375 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
37376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37378 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37379 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37381 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37384 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
37385 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37387 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
37388 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37390 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
37391 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37393 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
37394 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37396 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
37397 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37399 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
37400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37402 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
37403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
37405 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37406 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37408 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37411 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37412 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37414 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37415 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37417 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37418 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37420 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37421 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37423 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37424 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37426 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37427 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37429 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37432 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37433 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37435 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37436 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37438 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37441 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37442 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37444 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37445 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37447 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37448 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37450 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37451 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37453 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37454 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37456 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37457 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37459 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37462 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37463 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37465 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37466 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37468 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37471 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37474 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37475 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37477 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37478 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37480 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37481 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37483 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
37484 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37486 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
37487 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37489 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
37490 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37492 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
37493 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37495 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37496 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37498 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
37499 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37501 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
37502 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37504 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
37505 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
37507 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
37508 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
37510 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
37511 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
37513 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
37514 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
37516 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
37517 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
37519 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
37520 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
37522 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
37523 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
37525 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
37526 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37528 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
37529 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
37531 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
37532 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37534 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
37535 return (void *)((wxControl
*) ((wxPyControl
*) x
));
37537 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
37538 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
37540 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
37541 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
37543 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37544 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37546 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
37547 return (void *)((wxControl
*) ((wxGauge
*) x
));
37549 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
37550 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
37552 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
37553 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37555 static void *_p_wxListbookTo_p_wxControl(void *x
) {
37556 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
37558 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
37559 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
37561 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
37562 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
37564 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
37565 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
37567 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
37568 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37570 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
37571 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37573 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
37574 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37576 static void *_p_wxListViewTo_p_wxControl(void *x
) {
37577 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
37579 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
37580 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
37582 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
37583 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
37585 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
37586 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
37588 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
37589 return (void *)((wxControl
*) ((wxStaticText
*) x
));
37591 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
37592 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
37594 static void *_p_wxSliderTo_p_wxControl(void *x
) {
37595 return (void *)((wxControl
*) ((wxSlider
*) x
));
37597 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
37598 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
37600 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
37601 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
37603 static void *_p_wxButtonTo_p_wxControl(void *x
) {
37604 return (void *)((wxControl
*) ((wxButton
*) x
));
37606 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
37607 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
37609 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
37610 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37612 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
37613 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
37615 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
37616 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
37618 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
37619 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
37621 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
37622 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
37624 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
37625 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37627 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
37628 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37630 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
37631 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37633 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
37634 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
37636 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
37637 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37639 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
37640 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37642 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
37643 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37645 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
37646 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37648 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
37649 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37651 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
37652 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37654 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
37655 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37657 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
37658 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
37660 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
37661 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
37663 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
37664 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
37666 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
37667 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
37669 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37672 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
37673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37675 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37676 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37678 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37679 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37681 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
37682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37684 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37685 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37687 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
37688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37690 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
37691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37693 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
37694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37696 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37697 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37699 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37700 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37702 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
37703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37705 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
37706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37708 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
37709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37711 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
37712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37714 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
37715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37717 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37718 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37720 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
37721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37723 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
37724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37726 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37729 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
37730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37732 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
37733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37735 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
37736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37738 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
37739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37741 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
37742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37744 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
37745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37747 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
37748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37750 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
37751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37753 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
37754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37756 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
37757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37759 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
37760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37762 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
37763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37765 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
37766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37768 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
37769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37771 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
37772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37774 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
37775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37777 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
37778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37780 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
37781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37783 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
37784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37786 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
37787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37789 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
37790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37792 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
37793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37795 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
37796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37798 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
37799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37801 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
37802 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
37804 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
37805 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
37807 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
37808 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37810 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
37811 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37813 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
37814 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
37816 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37817 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37819 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
37820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37822 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37823 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37825 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37826 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37828 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37831 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37832 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37834 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
37835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37837 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37838 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37840 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37841 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37843 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37844 return (void *)((wxObject
*) ((wxSizer
*) x
));
37846 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37847 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37849 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
37850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37852 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
37853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37855 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37858 static void *_p_wxEventTo_p_wxObject(void *x
) {
37859 return (void *)((wxObject
*) ((wxEvent
*) x
));
37861 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37862 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37864 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37865 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37867 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37868 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37870 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
37871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37873 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
37874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37876 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
37877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37879 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37880 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37882 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37883 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37885 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37886 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37888 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37889 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37891 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37892 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37894 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37895 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37897 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
37898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37900 static void *_p_wxControlTo_p_wxObject(void *x
) {
37901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37903 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
37904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37906 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
37907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37909 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
37910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37912 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
37913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37915 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
37916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37918 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37919 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37921 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
37922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37924 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37925 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37927 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37928 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37930 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
37931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37933 static void *_p_wxListViewTo_p_wxObject(void *x
) {
37934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37936 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
37937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37939 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
37940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37942 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37943 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37945 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37948 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
37949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37951 static void *_p_wxListbookTo_p_wxObject(void *x
) {
37952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37954 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37955 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37957 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
37958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37960 static void *_p_wxSliderTo_p_wxObject(void *x
) {
37961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37963 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37964 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37966 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37969 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37970 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37972 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37975 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37976 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37978 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37979 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37981 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37982 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37984 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37985 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37987 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37988 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37990 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37991 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37993 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
37994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37996 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
37997 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
37999 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
38000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
38002 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38005 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38008 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38011 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38014 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38015 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38017 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38018 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38020 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38021 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38023 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38024 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38026 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38029 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38032 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38033 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38035 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38038 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38041 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38042 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38044 static void *_p_wxListEventTo_p_wxObject(void *x
) {
38045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
38047 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
38048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38050 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
38051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38053 static void *_p_wxButtonTo_p_wxObject(void *x
) {
38054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
38056 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
38057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38059 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
38060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
38062 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
38063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38065 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38066 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38068 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38069 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38071 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
38072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
38074 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
38075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
38077 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
38078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
38080 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
38081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
38083 static void *_p_wxListItemTo_p_wxObject(void *x
) {
38084 return (void *)((wxObject
*) ((wxListItem
*) x
));
38086 static void *_p_wxImageTo_p_wxObject(void *x
) {
38087 return (void *)((wxObject
*) ((wxImage
*) x
));
38089 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38090 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38092 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
38093 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38095 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
38096 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
38098 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
38099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
38101 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
38102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38104 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
38105 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38107 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
38108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38110 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
38111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38113 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
38114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38116 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38119 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38120 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38122 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38123 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38125 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38126 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38128 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38129 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38131 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38134 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38135 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38137 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38140 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38141 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38143 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38146 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38147 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38149 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38150 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38152 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38153 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38155 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
38156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38158 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
38159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38161 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38164 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38165 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38167 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
38168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
38170 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38171 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38173 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38174 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38176 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38179 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
38180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
38182 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38185 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
38186 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
38188 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
38189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38191 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38194 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38195 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38197 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38198 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38200 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
38201 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
38203 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
38204 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38206 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
38207 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
38209 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
38210 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
38212 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
38213 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
38215 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38216 return (void *)((wxWindow
*) ((wxControl
*) x
));
38218 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
38219 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
38221 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
38222 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
38224 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
38225 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
38227 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
38228 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38230 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
38231 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
38233 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
38234 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
38236 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
38237 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
38239 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38240 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38242 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
38243 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
38245 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
38246 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
38248 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
38249 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
38251 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
38252 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
38254 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
38255 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
38257 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
38258 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
38260 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
38261 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
38263 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
38264 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38266 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
38267 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
38269 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
38270 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38272 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
38273 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
38275 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
38276 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
38278 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
38279 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
38281 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
38282 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
38284 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
38285 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
38287 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
38288 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
38290 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
38291 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
38293 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
38294 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
38296 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
38297 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
38299 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
38300 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
38302 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
38303 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38305 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
38306 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38308 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
38309 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
38311 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
38312 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
38314 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38315 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38317 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38318 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38320 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38321 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38323 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38324 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38326 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38327 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38329 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
38330 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38332 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
38333 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
38335 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
38336 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
38338 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
38339 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38341 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
38342 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38344 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
38345 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38347 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
38348 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38350 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
38351 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38353 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
38354 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38356 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
38357 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38359 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
38360 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38362 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
38363 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
38365 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
38366 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38368 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
38369 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
38371 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
38372 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38374 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
38375 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38377 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
38378 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38380 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
38381 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
38383 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
38384 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38386 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
38387 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38389 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
38390 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
38392 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
38393 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38395 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
38396 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
38398 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
38399 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
38401 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
38402 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
38404 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
38405 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
38407 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
38408 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
38409 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38410 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
38411 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
38412 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38413 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38414 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38415 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
38416 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38417 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38418 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38419 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38420 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38421 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38422 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
38423 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38424 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38425 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38426 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38427 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38428 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
38429 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38430 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38431 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38432 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
38433 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38434 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38435 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38436 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
38437 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38438 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38439 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38440 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38441 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
38442 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38443 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38444 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
38445 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38446 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38447 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38448 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38449 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38450 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
38451 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
38452 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
38453 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38454 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38455 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
38456 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
38457 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38458 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38459 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
38460 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
38461 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
38462 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
38463 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
38464 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38465 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38466 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38467 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38468 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38469 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38470 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
38471 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
38472 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38473 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38474 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38475 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
38476 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
38477 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
38478 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
38479 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
38480 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38481 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38482 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38483 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38484 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38485 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38486 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38487 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38488 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38489 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38490 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38491 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38492 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38493 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
38494 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38495 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38496 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38497 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38498 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38499 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38500 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38501 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
38502 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38503 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
38504 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
38505 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38506 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38507 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
38508 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
38509 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
38510 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
38511 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38512 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
38513 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
38514 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
38515 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
38516 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
38517 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
38518 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
38519 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
38520 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
38521 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
38522 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
38523 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
38524 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
38525 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
38526 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
38527 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
38528 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38529 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38530 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
38531 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
38532 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38533 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38534 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38535 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38536 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38537 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38538 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38539 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38540 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
38541 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38542 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38543 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
38544 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38545 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38546 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38547 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38548 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38549 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38550 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38551 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38552 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
38553 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38554 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38555 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38556 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38557 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38558 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38559 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38560 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38561 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38562 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38563 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38564 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38565 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38566 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38567 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38568 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38569 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38570 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38571 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38572 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38574 static swig_type_info
*swig_type_initial
[] = {
38577 &_swigt__p_form_ops_t
,
38580 &_swigt__p_unsigned_char
,
38581 &_swigt__p_unsigned_int
,
38582 &_swigt__p_unsigned_long
,
38584 &_swigt__p_wxANIHandler
,
38585 &_swigt__p_wxAcceleratorTable
,
38586 &_swigt__p_wxActivateEvent
,
38587 &_swigt__p_wxArrayInt
,
38588 &_swigt__p_wxArrayString
,
38589 &_swigt__p_wxBMPHandler
,
38590 &_swigt__p_wxBitmap
,
38591 &_swigt__p_wxBitmapButton
,
38592 &_swigt__p_wxBookCtrlBase
,
38593 &_swigt__p_wxBookCtrlBaseEvent
,
38594 &_swigt__p_wxBoxSizer
,
38595 &_swigt__p_wxButton
,
38596 &_swigt__p_wxCURHandler
,
38597 &_swigt__p_wxCheckBox
,
38598 &_swigt__p_wxCheckListBox
,
38599 &_swigt__p_wxChildFocusEvent
,
38600 &_swigt__p_wxChoice
,
38601 &_swigt__p_wxChoicebook
,
38602 &_swigt__p_wxChoicebookEvent
,
38603 &_swigt__p_wxCloseEvent
,
38604 &_swigt__p_wxColour
,
38605 &_swigt__p_wxComboBox
,
38606 &_swigt__p_wxCommandEvent
,
38607 &_swigt__p_wxContextHelp
,
38608 &_swigt__p_wxContextHelpButton
,
38609 &_swigt__p_wxContextMenuEvent
,
38610 &_swigt__p_wxControl
,
38611 &_swigt__p_wxControlWithItems
,
38612 &_swigt__p_wxCursor
,
38614 &_swigt__p_wxDateEvent
,
38615 &_swigt__p_wxDatePickerCtrl
,
38616 &_swigt__p_wxDateTime
,
38617 &_swigt__p_wxDirFilterListCtrl
,
38618 &_swigt__p_wxDisplayChangedEvent
,
38619 &_swigt__p_wxDropFilesEvent
,
38620 &_swigt__p_wxDuplexMode
,
38621 &_swigt__p_wxEraseEvent
,
38622 &_swigt__p_wxEvent
,
38623 &_swigt__p_wxEvtHandler
,
38624 &_swigt__p_wxFSFile
,
38625 &_swigt__p_wxFileSystem
,
38626 &_swigt__p_wxFlexGridSizer
,
38627 &_swigt__p_wxFocusEvent
,
38629 &_swigt__p_wxGBSizerItem
,
38630 &_swigt__p_wxGIFHandler
,
38631 &_swigt__p_wxGauge
,
38632 &_swigt__p_wxGenericDirCtrl
,
38633 &_swigt__p_wxGenericDragImage
,
38634 &_swigt__p_wxGridBagSizer
,
38635 &_swigt__p_wxGridSizer
,
38636 &_swigt__p_wxHelpEvent
,
38637 &_swigt__p_wxHelpProvider
,
38638 &_swigt__p_wxICOHandler
,
38640 &_swigt__p_wxIconizeEvent
,
38641 &_swigt__p_wxIdleEvent
,
38642 &_swigt__p_wxImage
,
38643 &_swigt__p_wxImageHandler
,
38644 &_swigt__p_wxImageList
,
38645 &_swigt__p_wxIndividualLayoutConstraint
,
38646 &_swigt__p_wxInitDialogEvent
,
38647 &_swigt__p_wxItemContainer
,
38648 &_swigt__p_wxJPEGHandler
,
38649 &_swigt__p_wxKeyEvent
,
38650 &_swigt__p_wxLayoutConstraints
,
38651 &_swigt__p_wxListBox
,
38652 &_swigt__p_wxListEvent
,
38653 &_swigt__p_wxListItem
,
38654 &_swigt__p_wxListItemAttr
,
38655 &_swigt__p_wxListView
,
38656 &_swigt__p_wxListbook
,
38657 &_swigt__p_wxListbookEvent
,
38658 &_swigt__p_wxMaximizeEvent
,
38659 &_swigt__p_wxMemoryDC
,
38661 &_swigt__p_wxMenuBar
,
38662 &_swigt__p_wxMenuEvent
,
38663 &_swigt__p_wxMenuItem
,
38664 &_swigt__p_wxMouseCaptureChangedEvent
,
38665 &_swigt__p_wxMouseEvent
,
38666 &_swigt__p_wxMoveEvent
,
38667 &_swigt__p_wxNavigationKeyEvent
,
38668 &_swigt__p_wxNcPaintEvent
,
38669 &_swigt__p_wxNotebook
,
38670 &_swigt__p_wxNotebookEvent
,
38671 &_swigt__p_wxNotifyEvent
,
38672 &_swigt__p_wxObject
,
38673 &_swigt__p_wxPCXHandler
,
38674 &_swigt__p_wxPNGHandler
,
38675 &_swigt__p_wxPNMHandler
,
38676 &_swigt__p_wxPaintEvent
,
38677 &_swigt__p_wxPaletteChangedEvent
,
38678 &_swigt__p_wxPaperSize
,
38679 &_swigt__p_wxPoint
,
38680 &_swigt__p_wxPyApp
,
38681 &_swigt__p_wxPyCommandEvent
,
38682 &_swigt__p_wxPyControl
,
38683 &_swigt__p_wxPyEvent
,
38684 &_swigt__p_wxPyImageHandler
,
38685 &_swigt__p_wxPyListCtrl
,
38686 &_swigt__p_wxPySizer
,
38687 &_swigt__p_wxPyTreeCtrl
,
38688 &_swigt__p_wxPyTreeItemData
,
38689 &_swigt__p_wxPyValidator
,
38690 &_swigt__p_wxQueryNewPaletteEvent
,
38691 &_swigt__p_wxRadioBox
,
38692 &_swigt__p_wxRadioButton
,
38694 &_swigt__p_wxScrollBar
,
38695 &_swigt__p_wxScrollEvent
,
38696 &_swigt__p_wxScrollWinEvent
,
38697 &_swigt__p_wxSetCursorEvent
,
38698 &_swigt__p_wxShowEvent
,
38699 &_swigt__p_wxSimpleHelpProvider
,
38701 &_swigt__p_wxSizeEvent
,
38702 &_swigt__p_wxSizer
,
38703 &_swigt__p_wxSizerItem
,
38704 &_swigt__p_wxSlider
,
38705 &_swigt__p_wxSpinButton
,
38706 &_swigt__p_wxSpinCtrl
,
38707 &_swigt__p_wxSpinEvent
,
38708 &_swigt__p_wxStaticBitmap
,
38709 &_swigt__p_wxStaticBox
,
38710 &_swigt__p_wxStaticBoxSizer
,
38711 &_swigt__p_wxStaticLine
,
38712 &_swigt__p_wxStaticText
,
38713 &_swigt__p_wxStdDialogButtonSizer
,
38714 &_swigt__p_wxString
,
38715 &_swigt__p_wxSysColourChangedEvent
,
38716 &_swigt__p_wxTIFFHandler
,
38717 &_swigt__p_wxTextAttr
,
38718 &_swigt__p_wxTextCtrl
,
38719 &_swigt__p_wxTextUrlEvent
,
38720 &_swigt__p_wxToggleButton
,
38721 &_swigt__p_wxToolBar
,
38722 &_swigt__p_wxToolBarBase
,
38723 &_swigt__p_wxToolBarToolBase
,
38724 &_swigt__p_wxToolbook
,
38725 &_swigt__p_wxToolbookEvent
,
38726 &_swigt__p_wxTreeCtrl
,
38727 &_swigt__p_wxTreeEvent
,
38728 &_swigt__p_wxTreeItemId
,
38729 &_swigt__p_wxTreebook
,
38730 &_swigt__p_wxTreebookEvent
,
38731 &_swigt__p_wxUpdateUIEvent
,
38732 &_swigt__p_wxValidator
,
38733 &_swigt__p_wxVisualAttributes
,
38734 &_swigt__p_wxWindow
,
38735 &_swigt__p_wxWindowCreateEvent
,
38736 &_swigt__p_wxWindowDestroyEvent
,
38737 &_swigt__p_wxXPMHandler
,
38738 &_swigt__ptrdiff_t
,
38739 &_swigt__std__ptrdiff_t
,
38740 &_swigt__unsigned_int
,
38743 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
38744 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38745 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38746 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38747 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
38748 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38749 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38750 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38751 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38752 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
38753 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38754 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38755 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}};
38756 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}};
38757 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}};
38758 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}};
38759 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
38760 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
38761 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
38762 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
38763 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38764 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38765 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
38766 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38767 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38768 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38769 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38770 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38771 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38772 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38773 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38774 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}};
38775 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
38776 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
38777 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}};
38778 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_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}};
38779 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38780 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38781 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38782 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38783 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38784 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38785 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38786 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38787 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38788 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38789 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38790 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38791 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38792 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38793 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38794 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38795 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38796 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38797 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38798 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38799 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38800 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38801 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38802 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38803 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38804 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38805 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38806 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38807 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38808 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38809 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}};
38810 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38811 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38812 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38813 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38814 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}};
38815 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38816 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
38817 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38818 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
38819 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
38820 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}};
38821 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38822 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
38823 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}};
38824 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38825 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}};
38826 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
38827 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
38828 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
38829 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
38830 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
38831 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38832 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
38833 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38834 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
38835 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38836 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}};
38837 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38838 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38839 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38840 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38841 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38842 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38843 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38844 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38845 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38846 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38847 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38848 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38849 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38850 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38851 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38852 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38853 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38854 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38855 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38856 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38857 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38858 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38859 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38860 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38861 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38862 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38863 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38864 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38865 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38866 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38867 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}};
38868 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38869 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38870 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
38871 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}};
38872 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38873 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
38874 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
38875 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
38876 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38877 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
38878 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
38879 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38880 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
38881 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
38882 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38883 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38884 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38885 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
38886 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
38887 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
38888 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38889 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
38890 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38891 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
38892 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
38893 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
38894 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}};
38895 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
38896 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
38897 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38898 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38899 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38900 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
38901 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
38902 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38903 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}};
38904 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
38905 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}};
38906 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38907 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38908 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38910 static swig_cast_info
*swig_cast_initial
[] = {
38913 _swigc__p_form_ops_t
,
38916 _swigc__p_unsigned_char
,
38917 _swigc__p_unsigned_int
,
38918 _swigc__p_unsigned_long
,
38920 _swigc__p_wxANIHandler
,
38921 _swigc__p_wxAcceleratorTable
,
38922 _swigc__p_wxActivateEvent
,
38923 _swigc__p_wxArrayInt
,
38924 _swigc__p_wxArrayString
,
38925 _swigc__p_wxBMPHandler
,
38926 _swigc__p_wxBitmap
,
38927 _swigc__p_wxBitmapButton
,
38928 _swigc__p_wxBookCtrlBase
,
38929 _swigc__p_wxBookCtrlBaseEvent
,
38930 _swigc__p_wxBoxSizer
,
38931 _swigc__p_wxButton
,
38932 _swigc__p_wxCURHandler
,
38933 _swigc__p_wxCheckBox
,
38934 _swigc__p_wxCheckListBox
,
38935 _swigc__p_wxChildFocusEvent
,
38936 _swigc__p_wxChoice
,
38937 _swigc__p_wxChoicebook
,
38938 _swigc__p_wxChoicebookEvent
,
38939 _swigc__p_wxCloseEvent
,
38940 _swigc__p_wxColour
,
38941 _swigc__p_wxComboBox
,
38942 _swigc__p_wxCommandEvent
,
38943 _swigc__p_wxContextHelp
,
38944 _swigc__p_wxContextHelpButton
,
38945 _swigc__p_wxContextMenuEvent
,
38946 _swigc__p_wxControl
,
38947 _swigc__p_wxControlWithItems
,
38948 _swigc__p_wxCursor
,
38950 _swigc__p_wxDateEvent
,
38951 _swigc__p_wxDatePickerCtrl
,
38952 _swigc__p_wxDateTime
,
38953 _swigc__p_wxDirFilterListCtrl
,
38954 _swigc__p_wxDisplayChangedEvent
,
38955 _swigc__p_wxDropFilesEvent
,
38956 _swigc__p_wxDuplexMode
,
38957 _swigc__p_wxEraseEvent
,
38959 _swigc__p_wxEvtHandler
,
38960 _swigc__p_wxFSFile
,
38961 _swigc__p_wxFileSystem
,
38962 _swigc__p_wxFlexGridSizer
,
38963 _swigc__p_wxFocusEvent
,
38965 _swigc__p_wxGBSizerItem
,
38966 _swigc__p_wxGIFHandler
,
38968 _swigc__p_wxGenericDirCtrl
,
38969 _swigc__p_wxGenericDragImage
,
38970 _swigc__p_wxGridBagSizer
,
38971 _swigc__p_wxGridSizer
,
38972 _swigc__p_wxHelpEvent
,
38973 _swigc__p_wxHelpProvider
,
38974 _swigc__p_wxICOHandler
,
38976 _swigc__p_wxIconizeEvent
,
38977 _swigc__p_wxIdleEvent
,
38979 _swigc__p_wxImageHandler
,
38980 _swigc__p_wxImageList
,
38981 _swigc__p_wxIndividualLayoutConstraint
,
38982 _swigc__p_wxInitDialogEvent
,
38983 _swigc__p_wxItemContainer
,
38984 _swigc__p_wxJPEGHandler
,
38985 _swigc__p_wxKeyEvent
,
38986 _swigc__p_wxLayoutConstraints
,
38987 _swigc__p_wxListBox
,
38988 _swigc__p_wxListEvent
,
38989 _swigc__p_wxListItem
,
38990 _swigc__p_wxListItemAttr
,
38991 _swigc__p_wxListView
,
38992 _swigc__p_wxListbook
,
38993 _swigc__p_wxListbookEvent
,
38994 _swigc__p_wxMaximizeEvent
,
38995 _swigc__p_wxMemoryDC
,
38997 _swigc__p_wxMenuBar
,
38998 _swigc__p_wxMenuEvent
,
38999 _swigc__p_wxMenuItem
,
39000 _swigc__p_wxMouseCaptureChangedEvent
,
39001 _swigc__p_wxMouseEvent
,
39002 _swigc__p_wxMoveEvent
,
39003 _swigc__p_wxNavigationKeyEvent
,
39004 _swigc__p_wxNcPaintEvent
,
39005 _swigc__p_wxNotebook
,
39006 _swigc__p_wxNotebookEvent
,
39007 _swigc__p_wxNotifyEvent
,
39008 _swigc__p_wxObject
,
39009 _swigc__p_wxPCXHandler
,
39010 _swigc__p_wxPNGHandler
,
39011 _swigc__p_wxPNMHandler
,
39012 _swigc__p_wxPaintEvent
,
39013 _swigc__p_wxPaletteChangedEvent
,
39014 _swigc__p_wxPaperSize
,
39017 _swigc__p_wxPyCommandEvent
,
39018 _swigc__p_wxPyControl
,
39019 _swigc__p_wxPyEvent
,
39020 _swigc__p_wxPyImageHandler
,
39021 _swigc__p_wxPyListCtrl
,
39022 _swigc__p_wxPySizer
,
39023 _swigc__p_wxPyTreeCtrl
,
39024 _swigc__p_wxPyTreeItemData
,
39025 _swigc__p_wxPyValidator
,
39026 _swigc__p_wxQueryNewPaletteEvent
,
39027 _swigc__p_wxRadioBox
,
39028 _swigc__p_wxRadioButton
,
39030 _swigc__p_wxScrollBar
,
39031 _swigc__p_wxScrollEvent
,
39032 _swigc__p_wxScrollWinEvent
,
39033 _swigc__p_wxSetCursorEvent
,
39034 _swigc__p_wxShowEvent
,
39035 _swigc__p_wxSimpleHelpProvider
,
39037 _swigc__p_wxSizeEvent
,
39039 _swigc__p_wxSizerItem
,
39040 _swigc__p_wxSlider
,
39041 _swigc__p_wxSpinButton
,
39042 _swigc__p_wxSpinCtrl
,
39043 _swigc__p_wxSpinEvent
,
39044 _swigc__p_wxStaticBitmap
,
39045 _swigc__p_wxStaticBox
,
39046 _swigc__p_wxStaticBoxSizer
,
39047 _swigc__p_wxStaticLine
,
39048 _swigc__p_wxStaticText
,
39049 _swigc__p_wxStdDialogButtonSizer
,
39050 _swigc__p_wxString
,
39051 _swigc__p_wxSysColourChangedEvent
,
39052 _swigc__p_wxTIFFHandler
,
39053 _swigc__p_wxTextAttr
,
39054 _swigc__p_wxTextCtrl
,
39055 _swigc__p_wxTextUrlEvent
,
39056 _swigc__p_wxToggleButton
,
39057 _swigc__p_wxToolBar
,
39058 _swigc__p_wxToolBarBase
,
39059 _swigc__p_wxToolBarToolBase
,
39060 _swigc__p_wxToolbook
,
39061 _swigc__p_wxToolbookEvent
,
39062 _swigc__p_wxTreeCtrl
,
39063 _swigc__p_wxTreeEvent
,
39064 _swigc__p_wxTreeItemId
,
39065 _swigc__p_wxTreebook
,
39066 _swigc__p_wxTreebookEvent
,
39067 _swigc__p_wxUpdateUIEvent
,
39068 _swigc__p_wxValidator
,
39069 _swigc__p_wxVisualAttributes
,
39070 _swigc__p_wxWindow
,
39071 _swigc__p_wxWindowCreateEvent
,
39072 _swigc__p_wxWindowDestroyEvent
,
39073 _swigc__p_wxXPMHandler
,
39075 _swigc__std__ptrdiff_t
,
39076 _swigc__unsigned_int
,
39080 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39082 static swig_const_info swig_const_table
[] = {
39083 {0, 0, 0, 0.0, 0, 0}};
39088 /*************************************************************************
39089 * Type initialization:
39090 * This problem is tough by the requirement that no dynamic
39091 * memory is used. Also, since swig_type_info structures store pointers to
39092 * swig_cast_info structures and swig_cast_info structures store pointers back
39093 * to swig_type_info structures, we need some lookup code at initialization.
39094 * The idea is that swig generates all the structures that are needed.
39095 * The runtime then collects these partially filled structures.
39096 * The SWIG_InitializeModule function takes these initial arrays out of
39097 * swig_module, and does all the lookup, filling in the swig_module.types
39098 * array with the correct data and linking the correct swig_cast_info
39099 * structures together.
39101 * The generated swig_type_info structures are assigned staticly to an initial
39102 * array. We just loop though that array, and handle each type individually.
39103 * First we lookup if this type has been already loaded, and if so, use the
39104 * loaded structure instead of the generated one. Then we have to fill in the
39105 * cast linked list. The cast data is initially stored in something like a
39106 * two-dimensional array. Each row corresponds to a type (there are the same
39107 * number of rows as there are in the swig_type_initial array). Each entry in
39108 * a column is one of the swig_cast_info structures for that type.
39109 * The cast_initial array is actually an array of arrays, because each row has
39110 * a variable number of columns. So to actually build the cast linked list,
39111 * we find the array of casts associated with the type, and loop through it
39112 * adding the casts to the list. The one last trick we need to do is making
39113 * sure the type pointer in the swig_cast_info struct is correct.
39115 * First off, we lookup the cast->type name to see if it is already loaded.
39116 * There are three cases to handle:
39117 * 1) If the cast->type has already been loaded AND the type we are adding
39118 * casting info to has not been loaded (it is in this module), THEN we
39119 * replace the cast->type pointer with the type pointer that has already
39121 * 2) If BOTH types (the one we are adding casting info to, and the
39122 * cast->type) are loaded, THEN the cast info has already been loaded by
39123 * the previous module so we just ignore it.
39124 * 3) Finally, if cast->type has not already been loaded, then we add that
39125 * swig_cast_info to the linked list (because the cast->type) pointer will
39137 #define SWIGRUNTIME_DEBUG
39141 SWIG_InitializeModule(void *clientdata
) {
39143 swig_module_info
*module_head
;
39144 static int init_run
= 0;
39146 clientdata
= clientdata
;
39148 if (init_run
) return;
39151 /* Initialize the swig_module */
39152 swig_module
.type_initial
= swig_type_initial
;
39153 swig_module
.cast_initial
= swig_cast_initial
;
39155 /* Try and load any already created modules */
39156 module_head
= SWIG_GetModule(clientdata
);
39158 swig_module
.next
= module_head
->next
;
39159 module_head
->next
= &swig_module
;
39161 /* This is the first module loaded */
39162 swig_module
.next
= &swig_module
;
39163 SWIG_SetModule(clientdata
, &swig_module
);
39166 /* Now work on filling in swig_module.types */
39167 #ifdef SWIGRUNTIME_DEBUG
39168 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39170 for (i
= 0; i
< swig_module
.size
; ++i
) {
39171 swig_type_info
*type
= 0;
39172 swig_type_info
*ret
;
39173 swig_cast_info
*cast
;
39175 #ifdef SWIGRUNTIME_DEBUG
39176 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39179 /* if there is another module already loaded */
39180 if (swig_module
.next
!= &swig_module
) {
39181 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39184 /* Overwrite clientdata field */
39185 #ifdef SWIGRUNTIME_DEBUG
39186 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39188 if (swig_module
.type_initial
[i
]->clientdata
) {
39189 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39190 #ifdef SWIGRUNTIME_DEBUG
39191 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39195 type
= swig_module
.type_initial
[i
];
39198 /* Insert casting types */
39199 cast
= swig_module
.cast_initial
[i
];
39200 while (cast
->type
) {
39201 /* Don't need to add information already in the list */
39203 #ifdef SWIGRUNTIME_DEBUG
39204 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39206 if (swig_module
.next
!= &swig_module
) {
39207 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39208 #ifdef SWIGRUNTIME_DEBUG
39209 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39213 if (type
== swig_module
.type_initial
[i
]) {
39214 #ifdef SWIGRUNTIME_DEBUG
39215 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39220 /* Check for casting already in the list */
39221 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39222 #ifdef SWIGRUNTIME_DEBUG
39223 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39225 if (!ocast
) ret
= 0;
39230 #ifdef SWIGRUNTIME_DEBUG
39231 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39234 type
->cast
->prev
= cast
;
39235 cast
->next
= type
->cast
;
39241 /* Set entry in modules->types array equal to the type */
39242 swig_module
.types
[i
] = type
;
39244 swig_module
.types
[i
] = 0;
39246 #ifdef SWIGRUNTIME_DEBUG
39247 printf("**** SWIG_InitializeModule: Cast List ******\n");
39248 for (i
= 0; i
< swig_module
.size
; ++i
) {
39250 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39251 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39252 while (cast
->type
) {
39253 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39257 printf("---- Total casts: %d\n",j
);
39259 printf("**** SWIG_InitializeModule: Cast List ******\n");
39263 /* This function will propagate the clientdata field of type to
39264 * any new swig_type_info structures that have been added into the list
39265 * of equivalent types. It is like calling
39266 * SWIG_TypeClientData(type, clientdata) a second time.
39269 SWIG_PropagateClientData(void) {
39271 swig_cast_info
*equiv
;
39272 static int init_run
= 0;
39274 if (init_run
) return;
39277 for (i
= 0; i
< swig_module
.size
; i
++) {
39278 if (swig_module
.types
[i
]->clientdata
) {
39279 equiv
= swig_module
.types
[i
]->cast
;
39281 if (!equiv
->converter
) {
39282 if (equiv
->type
&& !equiv
->type
->clientdata
)
39283 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39285 equiv
= equiv
->next
;
39305 /* Python-specific SWIG API */
39306 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39307 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39308 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39310 /* -----------------------------------------------------------------------------
39311 * global variable support code.
39312 * ----------------------------------------------------------------------------- */
39314 typedef struct swig_globalvar
{
39315 char *name
; /* Name of global variable */
39316 PyObject
*(*get_attr
)(void); /* Return the current value */
39317 int (*set_attr
)(PyObject
*); /* Set the value */
39318 struct swig_globalvar
*next
;
39321 typedef struct swig_varlinkobject
{
39323 swig_globalvar
*vars
;
39324 } swig_varlinkobject
;
39326 SWIGINTERN PyObject
*
39327 swig_varlink_repr(swig_varlinkobject
*v
) {
39329 return PyString_FromString("<Swig global variables>");
39333 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
39334 swig_globalvar
*var
;
39336 fprintf(fp
,"Swig global variables { ");
39337 for (var
= v
->vars
; var
; var
=var
->next
) {
39338 fprintf(fp
,"%s", var
->name
);
39339 if (var
->next
) fprintf(fp
,", ");
39341 fprintf(fp
," }\n");
39345 SWIGINTERN PyObject
*
39346 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39347 swig_globalvar
*var
= v
->vars
;
39349 if (strcmp(var
->name
,n
) == 0) {
39350 return (*var
->get_attr
)();
39354 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39359 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39360 swig_globalvar
*var
= v
->vars
;
39362 if (strcmp(var
->name
,n
) == 0) {
39363 return (*var
->set_attr
)(p
);
39367 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39371 SWIGINTERN PyTypeObject
*
39372 swig_varlink_type(void) {
39373 static char varlink__doc__
[] = "Swig var link object";
39374 static PyTypeObject varlink_type
39375 #if !defined(__cplusplus)
39377 static int type_init
= 0;
39382 PyObject_HEAD_INIT(&PyType_Type
)
39383 0, /* Number of items in variable part (ob_size) */
39384 (char *)"swigvarlink", /* Type name (tp_name) */
39385 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39386 0, /* Itemsize (tp_itemsize) */
39387 0, /* Deallocator (tp_dealloc) */
39388 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39389 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39390 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39391 0, /* tp_compare */
39392 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39393 0, /* tp_as_number */
39394 0, /* tp_as_sequence */
39395 0, /* tp_as_mapping */
39399 0, /* tp_getattro */
39400 0, /* tp_setattro */
39401 0, /* tp_as_buffer */
39403 varlink__doc__
, /* tp_doc */
39404 #if PY_VERSION_HEX >= 0x02000000
39405 0, /* tp_traverse */
39408 #if PY_VERSION_HEX >= 0x02010000
39409 0, /* tp_richcompare */
39410 0, /* tp_weaklistoffset */
39412 #if PY_VERSION_HEX >= 0x02020000
39413 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39415 #if PY_VERSION_HEX >= 0x02030000
39418 #ifdef COUNT_ALLOCS
39419 0,0,0,0 /* tp_alloc -> tp_next */
39422 #if !defined(__cplusplus)
39423 varlink_type
= tmp
;
39427 return &varlink_type
;
39430 /* Create a variable linking object for use later */
39431 SWIGINTERN PyObject
*
39432 SWIG_Python_newvarlink(void) {
39433 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39437 return ((PyObject
*) result
);
39441 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39442 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39443 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39445 size_t size
= strlen(name
)+1;
39446 gv
->name
= (char *)malloc(size
);
39448 strncpy(gv
->name
,name
,size
);
39449 gv
->get_attr
= get_attr
;
39450 gv
->set_attr
= set_attr
;
39451 gv
->next
= v
->vars
;
39457 /* -----------------------------------------------------------------------------
39458 * constants/methods manipulation
39459 * ----------------------------------------------------------------------------- */
39461 /* Install Constants */
39463 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39466 for (i
= 0; constants
[i
].type
; ++i
) {
39467 switch(constants
[i
].type
) {
39469 obj
= PyInt_FromLong(constants
[i
].lvalue
);
39471 case SWIG_PY_FLOAT
:
39472 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
39474 case SWIG_PY_STRING
:
39475 if (constants
[i
].pvalue
) {
39476 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
39478 Py_INCREF(Py_None
);
39482 case SWIG_PY_POINTER
:
39483 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39485 case SWIG_PY_BINARY
:
39486 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39493 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
39499 /* -----------------------------------------------------------------------------*/
39500 /* Fix SwigMethods to carry the callback ptrs when needed */
39501 /* -----------------------------------------------------------------------------*/
39504 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39505 swig_const_info
*const_table
,
39506 swig_type_info
**types
,
39507 swig_type_info
**types_initial
) {
39509 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39510 char *c
= methods
[i
].ml_doc
;
39511 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39513 swig_const_info
*ci
= 0;
39514 char *name
= c
+ 10;
39515 for (j
= 0; const_table
[j
].type
; ++j
) {
39516 if (strncmp(const_table
[j
].name
, name
,
39517 strlen(const_table
[j
].name
)) == 0) {
39518 ci
= &(const_table
[j
]);
39523 size_t shift
= (ci
->ptype
) - types
;
39524 swig_type_info
*ty
= types_initial
[shift
];
39525 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39526 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39527 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39530 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39532 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39534 strncpy(buff
, "swig_ptr: ", 10);
39536 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39537 methods
[i
].ml_doc
= ndoc
;
39545 /* -----------------------------------------------------------------------------*
39546 * Initialize type list
39547 * -----------------------------------------------------------------------------*/
39553 /* -----------------------------------------------------------------------------*
39554 * Partial Init method
39555 * -----------------------------------------------------------------------------*/
39560 SWIGEXPORT
void SWIG_init(void) {
39561 static PyObject
*SWIG_globals
= 0;
39563 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
39565 /* Fix SwigMethods to carry the callback ptrs when needed */
39566 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39568 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39569 d
= PyModule_GetDict(m
);
39571 SWIG_InitializeModule(0);
39572 SWIG_InstallConstants(d
,swig_const_table
);
39574 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
39575 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
39577 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
39580 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
39583 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
39586 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
39589 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
39592 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
39595 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
39597 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
39599 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
39602 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
39605 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
39608 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
39611 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
39614 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
39616 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
39617 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
39618 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
39620 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
39623 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
39626 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
39629 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
39631 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
39632 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
39633 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
39634 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
39635 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
39637 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
39640 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
39643 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
39646 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
39649 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
39652 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
39655 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
39658 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
39661 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
39664 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
39667 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
39670 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
39673 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
39676 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
39679 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
39682 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
39685 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
39688 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
39691 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
39694 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
39697 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
39700 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
39703 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
39706 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
39709 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
39712 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
39715 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
39718 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
39721 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
39724 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
39727 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
39730 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
39733 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
39736 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
39739 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
39742 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
39745 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
39748 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
39751 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
39754 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
39757 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
39760 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
39763 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
39766 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
39769 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
39772 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
39774 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
39775 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
39776 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
39777 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
39778 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
39779 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
39780 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
39782 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
39785 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
39788 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
39791 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
39793 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
39794 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
39795 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
39796 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
39798 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
39801 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
39804 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
39807 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
39810 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
39813 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
39816 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
39819 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
39822 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
39825 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
39828 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
39831 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
39833 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
39834 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
39835 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
39837 PyDict_SetItemString(d
,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT
)));
39840 PyDict_SetItemString(d
,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP
)));
39843 PyDict_SetItemString(d
,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM
)));
39846 PyDict_SetItemString(d
,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT
)));
39849 PyDict_SetItemString(d
,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT
)));
39852 PyDict_SetItemString(d
,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK
)));
39855 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
39858 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
39861 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
39864 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
39867 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
39870 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
39873 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
39876 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
39879 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
39882 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
39885 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
39887 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
39888 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
39890 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
39893 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
39896 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
39899 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
39902 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
39905 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
39907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
39908 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
39910 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
39913 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
39916 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
39919 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
39922 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
39925 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
39927 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
39928 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
39929 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
39930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
39931 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
39932 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
39933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
39934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
39936 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
39939 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
39942 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
39945 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
39948 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
39951 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
39954 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
39957 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
39960 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
39963 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
39966 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
39969 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
39972 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
39975 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
39977 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
39979 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
39982 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
39985 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
39988 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
39991 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
39994 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
39997 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
40000 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
40003 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
40006 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
40009 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
40012 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
40015 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
40018 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
40021 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
40024 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
40027 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
40030 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
40033 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
40036 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
40039 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
40042 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
40045 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
40048 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
40051 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
40054 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
40057 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
40060 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
40063 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
40066 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
40069 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
40072 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
40075 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
40078 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
40081 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
40084 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
40087 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
40090 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
40093 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
40096 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
40099 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
40102 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
40105 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
40108 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
40111 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
40114 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
40117 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
40120 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
40123 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
40126 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
40129 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
40132 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
40135 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
40138 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
40141 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
40144 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
40147 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
40150 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
40153 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
40156 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
40159 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
40162 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
40165 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
40168 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
40171 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
40174 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
40177 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
40180 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
40182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
40183 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
40184 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
40185 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
40186 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
40187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
40188 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
40189 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
40190 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
40191 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
40192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
40193 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
40194 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
40195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
40196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
40197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
40198 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
40199 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
40200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
40201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
40203 // Map renamed classes back to their common name for OOR
40204 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40206 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
40208 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
40211 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
40214 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
40217 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
40220 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
40223 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
40226 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
40229 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
40232 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
40235 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
40238 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
40241 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
40244 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
40247 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
40250 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
40253 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
40256 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
40259 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
40262 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
40265 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
40268 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
40271 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
40274 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
40277 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
40280 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
40283 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
40286 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
40289 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
40292 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
40295 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
40298 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
40301 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
40304 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
40307 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
40310 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
40312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
40313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
40314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
40315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
40316 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
40317 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
40318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
40319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
40320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
40321 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
40322 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
40323 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
40324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
40325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
40326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
40327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
40328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
40329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
40330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
40331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
40332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
40334 // Map renamed classes back to their common name for OOR
40335 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40336 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40338 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
40340 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
40343 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
40346 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
40349 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
40352 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
40355 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
40358 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
40360 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
40361 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
40363 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40365 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
40367 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
40370 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
40373 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
40376 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
40379 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));