1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_long swig_types[4]
1439 #define SWIGTYPE_p_unsigned_char swig_types[5]
1440 #define SWIGTYPE_p_unsigned_int swig_types[6]
1441 #define SWIGTYPE_p_unsigned_long swig_types[7]
1442 #define SWIGTYPE_p_void swig_types[8]
1443 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1444 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1447 #define SWIGTYPE_p_wxArrayString swig_types[13]
1448 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449 #define SWIGTYPE_p_wxBitmap swig_types[15]
1450 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454 #define SWIGTYPE_p_wxButton swig_types[20]
1455 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1456 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1457 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459 #define SWIGTYPE_p_wxChoice swig_types[25]
1460 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1461 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxColour swig_types[29]
1464 #define SWIGTYPE_p_wxComboBox swig_types[30]
1465 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1467 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469 #define SWIGTYPE_p_wxControl swig_types[35]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471 #define SWIGTYPE_p_wxCursor swig_types[37]
1472 #define SWIGTYPE_p_wxDC swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481 #define SWIGTYPE_p_wxEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483 #define SWIGTYPE_p_wxFSFile swig_types[49]
1484 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1485 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487 #define SWIGTYPE_p_wxFont swig_types[53]
1488 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490 #define SWIGTYPE_p_wxGauge swig_types[56]
1491 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1495 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1498 #define SWIGTYPE_p_wxIcon swig_types[64]
1499 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501 #define SWIGTYPE_p_wxImage swig_types[67]
1502 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1503 #define SWIGTYPE_p_wxImageList swig_types[69]
1504 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510 #define SWIGTYPE_p_wxListBox swig_types[76]
1511 #define SWIGTYPE_p_wxListEvent swig_types[77]
1512 #define SWIGTYPE_p_wxListItem swig_types[78]
1513 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514 #define SWIGTYPE_p_wxListView swig_types[80]
1515 #define SWIGTYPE_p_wxListbook swig_types[81]
1516 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519 #define SWIGTYPE_p_wxMenu swig_types[85]
1520 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1521 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1523 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528 #define SWIGTYPE_p_wxNotebook swig_types[94]
1529 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531 #define SWIGTYPE_p_wxObject swig_types[97]
1532 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1538 #define SWIGTYPE_p_wxPoint swig_types[104]
1539 #define SWIGTYPE_p_wxPyApp swig_types[105]
1540 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541 #define SWIGTYPE_p_wxPyControl swig_types[107]
1542 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545 #define SWIGTYPE_p_wxPySizer swig_types[111]
1546 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1549 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1551 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1552 #define SWIGTYPE_p_wxRect swig_types[118]
1553 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1554 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1558 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559 #define SWIGTYPE_p_wxSize swig_types[125]
1560 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561 #define SWIGTYPE_p_wxSizer swig_types[127]
1562 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1563 #define SWIGTYPE_p_wxSlider swig_types[129]
1564 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1565 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1571 #define SWIGTYPE_p_wxStaticText swig_types[137]
1572 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573 #define SWIGTYPE_p_wxString swig_types[139]
1574 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1577 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1580 #define SWIGTYPE_p_wxToolBar swig_types[146]
1581 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1583 #define SWIGTYPE_p_wxToolbook swig_types[149]
1584 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588 #define SWIGTYPE_p_wxTreebook swig_types[154]
1589 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591 #define SWIGTYPE_p_wxValidator swig_types[157]
1592 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593 #define SWIGTYPE_p_wxWindow swig_types[159]
1594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597 #define SWIGTYPE_ptrdiff_t swig_types[163]
1598 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599 #define SWIGTYPE_unsigned_int swig_types[165]
1600 static swig_type_info
*swig_types
[167];
1601 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
1602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1605 /* -------- TYPES TABLE (END) -------- */
1608 /*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611 #define SWIG_init init_controls_
1613 #define SWIG_name "_controls_"
1615 #include "wx/wxPython/wxPython.h"
1616 #include "wx/wxPython/pyclasses.h"
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1619 static const wxString
wxPyEmptyString(wxEmptyString
);
1620 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1622 const wxArrayString wxPyEmptyStringArray
;
1624 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1626 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1627 #define SWIG_From_int PyInt_FromLong
1635 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1638 if (value
< min_value
) {
1640 PyErr_Format(PyExc_OverflowError
,
1641 "value %ld is less than '%s' minimum %ld",
1642 value
, errmsg
, min_value
);
1645 } else if (value
> max_value
) {
1647 PyErr_Format(PyExc_OverflowError
,
1648 "value %ld is greater than '%s' maximum %ld",
1649 value
, errmsg
, max_value
);
1658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1660 if (PyNumber_Check(obj
)) {
1661 if (val
) *val
= PyInt_AsLong(obj
);
1665 SWIG_Python_TypeError("number", obj
);
1671 #if INT_MAX != LONG_MAX
1673 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1675 const char* errmsg
= val
? "int" : (char*)0;
1677 if (SWIG_AsVal_long(obj
, &v
)) {
1678 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1679 if (val
) *val
= static_cast<int >(v
);
1688 SWIG_type_error(errmsg
, obj
);
1693 SWIGINTERNINLINE
int
1694 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1696 return SWIG_AsVal_long(obj
,(long*)val
);
1701 SWIGINTERNINLINE
int
1702 SWIG_As_int(PyObject
* obj
)
1705 if (!SWIG_AsVal_int(obj
, &v
)) {
1707 this is needed to make valgrind/purify happier.
1709 memset((void*)&v
, 0, sizeof(int));
1715 SWIGINTERNINLINE
long
1716 SWIG_As_long(PyObject
* obj
)
1719 if (!SWIG_AsVal_long(obj
, &v
)) {
1721 this is needed to make valgrind/purify happier.
1723 memset((void*)&v
, 0, sizeof(long));
1729 SWIGINTERNINLINE
int
1730 SWIG_Check_int(PyObject
* obj
)
1732 return SWIG_AsVal_int(obj
, (int*)0);
1736 SWIGINTERNINLINE
int
1737 SWIG_Check_long(PyObject
* obj
)
1739 return SWIG_AsVal_long(obj
, (long*)0);
1742 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1745 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1747 if (obj
== Py_True
) {
1748 if (val
) *val
= true;
1751 if (obj
== Py_False
) {
1752 if (val
) *val
= false;
1756 if (SWIG_AsVal_int(obj
, &res
)) {
1757 if (val
) *val
= res
? true : false;
1763 SWIG_type_error("bool", obj
);
1769 SWIGINTERNINLINE
bool
1770 SWIG_As_bool(PyObject
* obj
)
1773 if (!SWIG_AsVal_bool(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(bool));
1783 SWIGINTERNINLINE
int
1784 SWIG_Check_bool(PyObject
* obj
)
1786 return SWIG_AsVal_bool(obj
, (bool*)0);
1789 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1790 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1792 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1793 #define SWIG_From_long PyInt_FromLong
1796 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1797 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1798 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1799 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1801 #include <wx/checklst.h>
1804 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1805 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1807 wxPyClientData
* data
= new wxPyClientData(clientData
);
1808 self
->Insert(item
, pos
, data
);
1810 self
->Insert(item
, pos
);
1812 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1814 self
->GetSelections(lst
);
1815 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1816 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1817 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1821 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1823 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1824 self
->GetItem(item
)->SetTextColour(c
);
1827 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1829 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1830 self
->GetItem(item
)->SetBackgroundColour(c
);
1833 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1835 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1836 self
->GetItem(item
)->SetFont(f
);
1839 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1841 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1847 } else if (result
== Py_None
) {
1851 if (!PyTuple_Check(result
)) {
1853 result
= PyTuple_New(1);
1854 PyTuple_SET_ITEM(result
, 0, o2
);
1856 o3
= PyTuple_New(1);
1857 PyTuple_SetItem(o3
, 0, obj
);
1859 result
= PySequence_Concat(o2
, o3
);
1869 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1872 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1873 SWIG_Python_TypeError("unsigned number", obj
);
1876 *val
= (unsigned long)v
;
1881 SWIGINTERNINLINE
unsigned long
1882 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1885 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1887 this is needed to make valgrind/purify happier.
1889 memset((void*)&v
, 0, sizeof(unsigned long));
1895 SWIGINTERNINLINE
int
1896 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1898 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1901 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1902 self
->AppendText(text
);
1904 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1905 return self
->GetValue().Mid(from
, to
- from
);
1907 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1908 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1909 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1910 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1911 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1913 #include <wx/slider.h>
1916 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1917 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1919 #if !wxUSE_TOGGLEBTN
1920 // implement dummy items for platforms that don't have this class
1922 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1924 class wxToggleButton
: public wxControl
1927 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1928 const wxPoint
&, const wxSize
&, long,
1929 const wxValidator
&, const wxString
&)
1930 { wxPyRaiseNotImplemented(); }
1933 { wxPyRaiseNotImplemented(); }
1937 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1939 SWIGINTERNINLINE PyObject
*
1940 SWIG_From_unsigned_SS_long(unsigned long value
)
1942 return (value
> LONG_MAX
) ?
1943 PyLong_FromUnsignedLong(value
)
1944 : PyInt_FromLong(static_cast<long >(value
));
1948 #if UINT_MAX < LONG_MAX
1949 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1950 #define SWIG_From_unsigned_SS_int SWIG_From_long
1953 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1954 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1959 SWIGINTERNINLINE
int
1960 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1961 unsigned long max_value
,
1964 if (value
> max_value
) {
1966 PyErr_Format(PyExc_OverflowError
,
1967 "value %lu is greater than '%s' minimum %lu",
1968 value
, errmsg
, max_value
);
1976 #if UINT_MAX != ULONG_MAX
1978 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1980 const char* errmsg
= val
? "unsigned int" : (char*)0;
1982 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1983 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1984 if (val
) *val
= static_cast<unsigned int >(v
);
1991 SWIG_type_error(errmsg
, obj
);
1996 SWIGINTERNINLINE
unsigned int
1997 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1999 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2004 SWIGINTERNINLINE
unsigned int
2005 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2008 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2010 this is needed to make valgrind/purify happier.
2012 memset((void*)&v
, 0, sizeof(unsigned int));
2018 SWIGINTERNINLINE
int
2019 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2021 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2024 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2025 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2026 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2028 Py_INCREF(udata
->m_obj
);
2029 return udata
->m_obj
;
2035 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2036 self
->SetClientData(new wxPyUserData(clientData
));
2038 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
){
2039 wxPyUserData
* udata
= NULL
;
2040 if (clientData
&& clientData
!= Py_None
)
2041 udata
= new wxPyUserData(clientData
);
2042 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2043 shortHelp
, longHelp
, udata
);
2045 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
){
2046 wxPyUserData
* udata
= NULL
;
2047 if (clientData
&& clientData
!= Py_None
)
2048 udata
= new wxPyUserData(clientData
);
2049 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2050 shortHelp
, longHelp
, udata
);
2052 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2053 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2055 Py_INCREF(udata
->m_obj
);
2056 return udata
->m_obj
;
2062 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2063 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2066 #include <wx/listctrl.h>
2068 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2069 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2070 // Python aware sorting function for wxPyListCtrl
2071 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2073 PyObject
* func
= (PyObject
*)funcPtr
;
2074 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2077 PyObject
* result
= PyEval_CallObject(func
, args
);
2080 retval
= PyInt_AsLong(result
);
2084 wxPyEndBlockThreads(blocked
);
2088 // C++ Version of a Python aware class
2089 class wxPyListCtrl
: public wxListCtrl
{
2090 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2092 wxPyListCtrl() : wxListCtrl() {}
2093 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2097 const wxValidator
& validator
,
2098 const wxString
& name
) :
2099 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2101 bool Create(wxWindow
* parent
, wxWindowID id
,
2105 const wxValidator
& validator
,
2106 const wxString
& name
) {
2107 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2110 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
2111 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
2113 // use the virtual version to avoid a confusing assert in the base class
2114 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
2115 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
2120 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
2122 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
2123 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
2124 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
2125 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
2128 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
2130 item
.SetMask( wxLIST_MASK_STATE
|
2138 if (self
->GetColumn(col
, item
))
2139 return new wxListItem(item
);
2143 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
2144 wxListItem
* info
= new wxListItem
;
2145 info
->m_itemId
= itemId
;
2147 info
->m_mask
= 0xFFFF;
2148 self
->GetItem(*info
);
2151 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
2153 self
->GetItemPosition(item
, pos
);
2156 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
2158 self
->GetItemRect(item
, rect
, code
);
2162 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
2163 if (!PyCallable_Check(func
))
2165 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
2167 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
2171 return (wxWindow
*)self
->m_mainWin
;
2175 #include <wx/treectrl.h>
2176 #include "wx/wxPython/pytree.h"
2178 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2179 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
2180 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
2181 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
2182 // C++ version of Python aware wxTreeCtrl
2183 class wxPyTreeCtrl
: public wxTreeCtrl
{
2184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
2186 wxPyTreeCtrl() : wxTreeCtrl() {}
2187 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
2191 const wxValidator
& validator
,
2192 const wxString
& name
) :
2193 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2195 bool Create(wxWindow
*parent
, wxWindowID id
,
2199 const wxValidator
& validator
,
2200 const wxString
& name
) {
2201 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2205 int OnCompareItems(const wxTreeItemId
& item1
,
2206 const wxTreeItemId
& item2
) {
2209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2210 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2211 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
2212 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
2213 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2217 wxPyEndBlockThreads(blocked
);
2219 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
2225 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
2228 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2229 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2231 data
= new wxPyTreeItemData();
2232 data
->SetId(item
); // set the id
2233 self
->SetItemData(item
, data
);
2237 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2238 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2240 data
= new wxPyTreeItemData();
2241 data
->SetId(item
); // set the id
2242 self
->SetItemData(item
, data
);
2244 return data
->GetData();
2246 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2247 data
->SetId(item
); // set the id
2248 self
->SetItemData(item
, data
);
2250 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2251 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2253 data
= new wxPyTreeItemData(obj
);
2254 data
->SetId(item
); // set the id
2255 self
->SetItemData(item
, data
);
2259 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2260 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2261 PyObject
* rval
= PyList_New(0);
2262 wxArrayTreeItemIds array
;
2264 num
= self
->GetSelections(array
);
2265 for (x
=0; x
< num
; x
++) {
2266 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2267 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2268 PyList_Append(rval
, item
);
2271 wxPyEndBlockThreads(blocked
);
2274 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2276 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2278 PyObject
* tup
= PyTuple_New(2);
2279 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2280 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2281 wxPyEndBlockThreads(blocked
);
2284 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2285 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2287 PyObject
* tup
= PyTuple_New(2);
2288 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2289 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2290 wxPyEndBlockThreads(blocked
);
2293 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2295 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2297 wxRect
* r
= new wxRect(rect
);
2298 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2299 wxPyEndBlockThreads(blocked
);
2305 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2307 SWIGINTERNINLINE PyObject
*
2308 SWIG_From_bool(bool value
)
2310 PyObject
*obj
= value
? Py_True
: Py_False
;
2316 // C++ version of Python aware wxControl
2317 class wxPyControl
: public wxControl
2319 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2321 wxPyControl() : wxControl() {}
2322 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2323 const wxPoint
& pos
= wxDefaultPosition
,
2324 const wxSize
& size
= wxDefaultSize
,
2326 const wxValidator
& validator
=wxDefaultValidator
,
2327 const wxString
& name
= wxPyControlNameStr
)
2328 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2330 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2332 bool DoEraseBackground(wxDC
* dc
) {
2334 return wxWindow::DoEraseBackground(dc
->GetHDC());
2336 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2342 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2343 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2344 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2347 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2351 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2352 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2354 DEC_PYCALLBACK__(InitDialog
);
2355 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2356 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2357 DEC_PYCALLBACK_BOOL_(Validate
);
2359 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2361 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2363 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2364 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2366 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2367 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2369 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2371 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2376 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2378 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2379 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2380 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2381 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2383 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2384 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2385 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2387 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2388 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2390 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2391 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2392 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2393 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2395 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2397 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2399 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2400 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2402 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2403 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2405 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2407 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2411 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2413 #include <wx/generic/dragimgg.h>
2415 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2416 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2418 self
->GetRange(&rv
, NULL
);
2421 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2423 self
->GetRange(NULL
, &rv
);
2429 static int _wrap_ButtonNameStr_set(PyObject
*) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2435 static PyObject
*_wrap_ButtonNameStr_get(void) {
2436 PyObject
*pyobj
= NULL
;
2440 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2449 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
= NULL
;
2451 wxWindow
*arg1
= (wxWindow
*) 0 ;
2452 int arg2
= (int) -1 ;
2453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2459 long arg6
= (long) 0 ;
2460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2462 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2465 bool temp3
= false ;
2468 bool temp8
= false ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2472 PyObject
* obj3
= 0 ;
2473 PyObject
* obj4
= 0 ;
2474 PyObject
* obj5
= 0 ;
2475 PyObject
* obj6
= 0 ;
2476 PyObject
* obj7
= 0 ;
2478 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2483 if (SWIG_arg_fail(1)) SWIG_fail
;
2486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2487 if (SWIG_arg_fail(2)) SWIG_fail
;
2492 arg3
= wxString_in_helper(obj2
);
2493 if (arg3
== NULL
) SWIG_fail
;
2500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2511 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2512 if (SWIG_arg_fail(6)) SWIG_fail
;
2517 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2518 if (SWIG_arg_fail(7)) SWIG_fail
;
2520 SWIG_null_ref("wxValidator");
2522 if (SWIG_arg_fail(7)) SWIG_fail
;
2527 arg8
= wxString_in_helper(obj7
);
2528 if (arg8
== NULL
) SWIG_fail
;
2533 if (!wxPyCheckForApp()) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2563 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
= NULL
;
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= (wxButton
*)new wxButton();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2586 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
= NULL
;
2588 wxButton
*arg1
= (wxButton
*) 0 ;
2589 wxWindow
*arg2
= (wxWindow
*) 0 ;
2590 int arg3
= (int) -1 ;
2591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2597 long arg7
= (long) 0 ;
2598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2600 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2603 bool temp4
= false ;
2606 bool temp9
= false ;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2609 PyObject
* obj2
= 0 ;
2610 PyObject
* obj3
= 0 ;
2611 PyObject
* obj4
= 0 ;
2612 PyObject
* obj5
= 0 ;
2613 PyObject
* obj6
= 0 ;
2614 PyObject
* obj7
= 0 ;
2615 PyObject
* obj8
= 0 ;
2617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2622 if (SWIG_arg_fail(1)) SWIG_fail
;
2623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2624 if (SWIG_arg_fail(2)) SWIG_fail
;
2627 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2628 if (SWIG_arg_fail(3)) SWIG_fail
;
2633 arg4
= wxString_in_helper(obj3
);
2634 if (arg4
== NULL
) SWIG_fail
;
2641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2647 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2652 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2653 if (SWIG_arg_fail(7)) SWIG_fail
;
2658 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2659 if (SWIG_arg_fail(8)) SWIG_fail
;
2661 SWIG_null_ref("wxValidator");
2663 if (SWIG_arg_fail(8)) SWIG_fail
;
2668 arg9
= wxString_in_helper(obj8
);
2669 if (arg9
== NULL
) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
= NULL
;
2707 wxButton
*arg1
= (wxButton
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2710 (char *) "self", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2715 if (SWIG_arg_fail(1)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->SetDefault();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
= NULL
;
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= wxButton::GetDefaultSize();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2747 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2756 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
= NULL
;
2758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2759 wxVisualAttributes result
;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "variant", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2768 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
2769 if (SWIG_arg_fail(1)) SWIG_fail
;
2773 if (!wxPyCheckForApp()) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= wxButton::GetClassDefaultAttributes(arg1
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 wxVisualAttributes
* resultptr
;
2782 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
2783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2791 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2794 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2796 return Py_BuildValue((char *)"");
2798 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
= NULL
;
2800 wxWindow
*arg1
= (wxWindow
*) 0 ;
2801 int arg2
= (int) -1 ;
2802 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2803 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2808 long arg6
= (long) wxBU_AUTODRAW
;
2809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2811 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2813 wxBitmapButton
*result
;
2816 bool temp8
= false ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2819 PyObject
* obj2
= 0 ;
2820 PyObject
* obj3
= 0 ;
2821 PyObject
* obj4
= 0 ;
2822 PyObject
* obj5
= 0 ;
2823 PyObject
* obj6
= 0 ;
2824 PyObject
* obj7
= 0 ;
2826 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail
;
2834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2835 if (SWIG_arg_fail(2)) SWIG_fail
;
2840 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2841 if (SWIG_arg_fail(3)) SWIG_fail
;
2843 SWIG_null_ref("wxBitmap");
2845 if (SWIG_arg_fail(3)) SWIG_fail
;
2851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2862 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2863 if (SWIG_arg_fail(6)) SWIG_fail
;
2868 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2869 if (SWIG_arg_fail(7)) SWIG_fail
;
2871 SWIG_null_ref("wxValidator");
2873 if (SWIG_arg_fail(7)) SWIG_fail
;
2878 arg8
= wxString_in_helper(obj7
);
2879 if (arg8
== NULL
) SWIG_fail
;
2884 if (!wxPyCheckForApp()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2906 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
= NULL
;
2908 wxBitmapButton
*result
;
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2915 if (!wxPyCheckForApp()) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (wxBitmapButton
*)new wxBitmapButton();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2929 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
= NULL
;
2931 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2932 wxWindow
*arg2
= (wxWindow
*) 0 ;
2933 int arg3
= (int) -1 ;
2934 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2935 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2940 long arg7
= (long) wxBU_AUTODRAW
;
2941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2943 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2948 bool temp9
= false ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2951 PyObject
* obj2
= 0 ;
2952 PyObject
* obj3
= 0 ;
2953 PyObject
* obj4
= 0 ;
2954 PyObject
* obj5
= 0 ;
2955 PyObject
* obj6
= 0 ;
2956 PyObject
* obj7
= 0 ;
2957 PyObject
* obj8
= 0 ;
2959 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2964 if (SWIG_arg_fail(1)) SWIG_fail
;
2965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2966 if (SWIG_arg_fail(2)) SWIG_fail
;
2969 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2970 if (SWIG_arg_fail(3)) SWIG_fail
;
2975 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2976 if (SWIG_arg_fail(4)) SWIG_fail
;
2978 SWIG_null_ref("wxBitmap");
2980 if (SWIG_arg_fail(4)) SWIG_fail
;
2986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2997 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2998 if (SWIG_arg_fail(7)) SWIG_fail
;
3003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3004 if (SWIG_arg_fail(8)) SWIG_fail
;
3006 SWIG_null_ref("wxValidator");
3008 if (SWIG_arg_fail(8)) SWIG_fail
;
3013 arg9
= wxString_in_helper(obj8
);
3014 if (arg9
== NULL
) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3042 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
= NULL
;
3044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3046 PyObject
* obj0
= 0 ;
3048 (char *) "self", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
3052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(1)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 result
= (arg1
)->GetBitmapLabel();
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 wxBitmap
* resultptr
;
3063 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3072 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
= NULL
;
3074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
3082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (arg1
)->GetBitmapDisabled();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3092 wxBitmap
* resultptr
;
3093 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3102 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
= NULL
;
3104 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
3112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (arg1
)->GetBitmapFocus();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 wxBitmap
* resultptr
;
3123 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3132 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
= NULL
;
3134 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
3142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= (arg1
)->GetBitmapSelected();
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 wxBitmap
* resultptr
;
3153 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3162 static PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
= NULL
;
3164 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapHover",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (arg1
)->GetBitmapHover();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 wxBitmap
* resultptr
;
3183 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3192 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
= NULL
;
3194 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3195 wxBitmap
*arg2
= 0 ;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3199 (char *) "self",(char *) "bitmap", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3207 if (SWIG_arg_fail(2)) SWIG_fail
;
3209 SWIG_null_ref("wxBitmap");
3211 if (SWIG_arg_fail(2)) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
= NULL
;
3229 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3230 wxBitmap
*arg2
= 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "self",(char *) "bitmap", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3242 if (SWIG_arg_fail(2)) SWIG_fail
;
3244 SWIG_null_ref("wxBitmap");
3246 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
= NULL
;
3264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3265 wxBitmap
*arg2
= 0 ;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3269 (char *) "self",(char *) "bitmap", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3277 if (SWIG_arg_fail(2)) SWIG_fail
;
3279 SWIG_null_ref("wxBitmap");
3281 if (SWIG_arg_fail(2)) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 Py_INCREF(Py_None
); resultobj
= Py_None
;
3297 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
= NULL
;
3299 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3300 wxBitmap
*arg2
= 0 ;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "self",(char *) "bitmap", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3309 if (SWIG_arg_fail(1)) SWIG_fail
;
3311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(2)) SWIG_fail
;
3314 SWIG_null_ref("wxBitmap");
3316 if (SWIG_arg_fail(2)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3332 static PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
= NULL
;
3334 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3335 wxBitmap
*arg2
= 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "hover", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail
;
3346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(2)) SWIG_fail
;
3349 SWIG_null_ref("wxBitmap");
3351 if (SWIG_arg_fail(2)) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
= NULL
;
3369 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3376 (char *) "self",(char *) "x",(char *) "y", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3384 if (SWIG_arg_fail(2)) SWIG_fail
;
3387 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3388 if (SWIG_arg_fail(3)) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->SetMargins(arg2
,arg3
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3404 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
= NULL
;
3406 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3410 (char *) "self", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= SWIG_From_int(static_cast<int >(result
));
3432 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
= NULL
;
3434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3443 if (SWIG_arg_fail(1)) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_From_int(static_cast<int >(result
));
3460 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3463 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3465 return Py_BuildValue((char *)"");
3467 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3468 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3473 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3474 PyObject
*pyobj
= NULL
;
3478 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3480 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3487 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
= NULL
;
3489 wxWindow
*arg1
= (wxWindow
*) 0 ;
3490 int arg2
= (int) -1 ;
3491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3497 long arg6
= (long) 0 ;
3498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3500 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3503 bool temp3
= false ;
3506 bool temp8
= false ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3511 PyObject
* obj4
= 0 ;
3512 PyObject
* obj5
= 0 ;
3513 PyObject
* obj6
= 0 ;
3514 PyObject
* obj7
= 0 ;
3516 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail
;
3524 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3525 if (SWIG_arg_fail(2)) SWIG_fail
;
3530 arg3
= wxString_in_helper(obj2
);
3531 if (arg3
== NULL
) SWIG_fail
;
3538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3549 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3550 if (SWIG_arg_fail(6)) SWIG_fail
;
3555 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3556 if (SWIG_arg_fail(7)) SWIG_fail
;
3558 SWIG_null_ref("wxValidator");
3560 if (SWIG_arg_fail(7)) SWIG_fail
;
3565 arg8
= wxString_in_helper(obj7
);
3566 if (arg8
== NULL
) SWIG_fail
;
3571 if (!wxPyCheckForApp()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3601 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
= NULL
;
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3610 if (!wxPyCheckForApp()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= (wxCheckBox
*)new wxCheckBox();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3624 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
= NULL
;
3626 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3627 wxWindow
*arg2
= (wxWindow
*) 0 ;
3628 int arg3
= (int) -1 ;
3629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3631 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3632 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3633 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3634 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3635 long arg7
= (long) 0 ;
3636 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3637 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3638 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3639 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3641 bool temp4
= false ;
3644 bool temp9
= false ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3647 PyObject
* obj2
= 0 ;
3648 PyObject
* obj3
= 0 ;
3649 PyObject
* obj4
= 0 ;
3650 PyObject
* obj5
= 0 ;
3651 PyObject
* obj6
= 0 ;
3652 PyObject
* obj7
= 0 ;
3653 PyObject
* obj8
= 0 ;
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3660 if (SWIG_arg_fail(1)) SWIG_fail
;
3661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3662 if (SWIG_arg_fail(2)) SWIG_fail
;
3665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3666 if (SWIG_arg_fail(3)) SWIG_fail
;
3671 arg4
= wxString_in_helper(obj3
);
3672 if (arg4
== NULL
) SWIG_fail
;
3679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3690 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3691 if (SWIG_arg_fail(7)) SWIG_fail
;
3696 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(8)) SWIG_fail
;
3699 SWIG_null_ref("wxValidator");
3701 if (SWIG_arg_fail(8)) SWIG_fail
;
3706 arg9
= wxString_in_helper(obj8
);
3707 if (arg9
== NULL
) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3743 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
= NULL
;
3745 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)(arg1
)->GetValue();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= NULL
;
3773 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (bool)(arg1
)->IsChecked();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3799 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
= NULL
;
3801 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3806 (char *) "self",(char *) "state", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 arg2
= static_cast<bool const >(SWIG_As_bool(obj1
));
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 (arg1
)->SetValue(arg2
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 Py_INCREF(Py_None
); resultobj
= Py_None
;
3830 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
= NULL
;
3832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3833 wxCheckBoxState result
;
3834 PyObject
* obj0
= 0 ;
3836 (char *) "self", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3841 if (SWIG_arg_fail(1)) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_From_int((result
));
3856 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
= NULL
;
3858 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3859 wxCheckBoxState arg2
;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3863 (char *) "self",(char *) "state", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail
;
3870 arg2
= static_cast<wxCheckBoxState
>(SWIG_As_int(obj1
));
3871 if (SWIG_arg_fail(2)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 (arg1
)->Set3StateValue(arg2
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 Py_INCREF(Py_None
); resultobj
= Py_None
;
3887 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
= NULL
;
3889 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3915 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
= NULL
;
3917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3943 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3945 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3946 wxVisualAttributes result
;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "variant", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3955 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3956 if (SWIG_arg_fail(1)) SWIG_fail
;
3960 if (!wxPyCheckForApp()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 wxVisualAttributes
* resultptr
;
3969 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3978 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3981 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3983 return Py_BuildValue((char *)"");
3985 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3986 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3991 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3992 PyObject
*pyobj
= NULL
;
3996 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3998 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
4005 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
= NULL
;
4007 wxWindow
*arg1
= (wxWindow
*) 0 ;
4008 int arg2
= (int) -1 ;
4009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4013 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4014 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4015 long arg6
= (long) 0 ;
4016 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4017 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4018 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
4019 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4023 bool temp5
= false ;
4024 bool temp8
= false ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4027 PyObject
* obj2
= 0 ;
4028 PyObject
* obj3
= 0 ;
4029 PyObject
* obj4
= 0 ;
4030 PyObject
* obj5
= 0 ;
4031 PyObject
* obj6
= 0 ;
4032 PyObject
* obj7
= 0 ;
4034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail
;
4042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4043 if (SWIG_arg_fail(2)) SWIG_fail
;
4049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4060 if (! PySequence_Check(obj4
)) {
4061 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4064 arg5
= new wxArrayString
;
4066 int i
, len
=PySequence_Length(obj4
);
4067 for (i
=0; i
<len
; i
++) {
4068 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4069 wxString
* s
= wxString_in_helper(item
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4079 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4080 if (SWIG_arg_fail(6)) SWIG_fail
;
4085 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4086 if (SWIG_arg_fail(7)) SWIG_fail
;
4088 SWIG_null_ref("wxValidator");
4090 if (SWIG_arg_fail(7)) SWIG_fail
;
4095 arg8
= wxString_in_helper(obj7
);
4096 if (arg8
== NULL
) SWIG_fail
;
4101 if (!wxPyCheckForApp()) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4110 if (temp5
) delete arg5
;
4119 if (temp5
) delete arg5
;
4129 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
= NULL
;
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
4138 if (!wxPyCheckForApp()) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxChoice
*)new wxChoice();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4152 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= NULL
;
4154 wxChoice
*arg1
= (wxChoice
*) 0 ;
4155 wxWindow
*arg2
= (wxWindow
*) 0 ;
4156 int arg3
= (int) -1 ;
4157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4163 long arg7
= (long) 0 ;
4164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4166 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
4167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4171 bool temp6
= false ;
4172 bool temp9
= false ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 PyObject
* obj2
= 0 ;
4176 PyObject
* obj3
= 0 ;
4177 PyObject
* obj4
= 0 ;
4178 PyObject
* obj5
= 0 ;
4179 PyObject
* obj6
= 0 ;
4180 PyObject
* obj7
= 0 ;
4181 PyObject
* obj8
= 0 ;
4183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail
;
4189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(2)) SWIG_fail
;
4193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4194 if (SWIG_arg_fail(3)) SWIG_fail
;
4200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 if (! PySequence_Check(obj5
)) {
4212 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4215 arg6
= new wxArrayString
;
4217 int i
, len
=PySequence_Length(obj5
);
4218 for (i
=0; i
<len
; i
++) {
4219 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4220 wxString
* s
= wxString_in_helper(item
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4230 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4231 if (SWIG_arg_fail(7)) SWIG_fail
;
4236 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4237 if (SWIG_arg_fail(8)) SWIG_fail
;
4239 SWIG_null_ref("wxValidator");
4241 if (SWIG_arg_fail(8)) SWIG_fail
;
4246 arg9
= wxString_in_helper(obj8
);
4247 if (arg9
== NULL
) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4262 if (temp6
) delete arg6
;
4271 if (temp6
) delete arg6
;
4281 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= NULL
;
4283 wxChoice
*arg1
= (wxChoice
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4287 (char *) "self", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_int(static_cast<int >(result
));
4309 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
= NULL
;
4311 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4312 wxVisualAttributes result
;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "variant", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4321 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4326 if (!wxPyCheckForApp()) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= wxChoice::GetClassDefaultAttributes(arg1
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4334 wxVisualAttributes
* resultptr
;
4335 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4344 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4347 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4349 return Py_BuildValue((char *)"");
4351 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4352 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4357 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4358 PyObject
*pyobj
= NULL
;
4362 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4364 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4371 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= NULL
;
4373 wxWindow
*arg1
= (wxWindow
*) 0 ;
4374 int arg2
= (int) -1 ;
4375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4381 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4382 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4383 long arg7
= (long) 0 ;
4384 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4385 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4386 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4387 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4389 bool temp3
= false ;
4392 bool temp6
= false ;
4393 bool temp9
= false ;
4394 PyObject
* obj0
= 0 ;
4395 PyObject
* obj1
= 0 ;
4396 PyObject
* obj2
= 0 ;
4397 PyObject
* obj3
= 0 ;
4398 PyObject
* obj4
= 0 ;
4399 PyObject
* obj5
= 0 ;
4400 PyObject
* obj6
= 0 ;
4401 PyObject
* obj7
= 0 ;
4402 PyObject
* obj8
= 0 ;
4404 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4409 if (SWIG_arg_fail(1)) SWIG_fail
;
4412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4413 if (SWIG_arg_fail(2)) SWIG_fail
;
4418 arg3
= wxString_in_helper(obj2
);
4419 if (arg3
== NULL
) SWIG_fail
;
4426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4437 if (! PySequence_Check(obj5
)) {
4438 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4441 arg6
= new wxArrayString
;
4443 int i
, len
=PySequence_Length(obj5
);
4444 for (i
=0; i
<len
; i
++) {
4445 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4446 wxString
* s
= wxString_in_helper(item
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4457 if (SWIG_arg_fail(7)) SWIG_fail
;
4462 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(8)) SWIG_fail
;
4465 SWIG_null_ref("wxValidator");
4467 if (SWIG_arg_fail(8)) SWIG_fail
;
4472 arg9
= wxString_in_helper(obj8
);
4473 if (arg9
== NULL
) SWIG_fail
;
4478 if (!wxPyCheckForApp()) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 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
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4491 if (temp6
) delete arg6
;
4504 if (temp6
) delete arg6
;
4514 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= NULL
;
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4523 if (!wxPyCheckForApp()) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (wxComboBox
*)new wxComboBox();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4537 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= NULL
;
4539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4540 wxWindow
*arg2
= (wxWindow
*) 0 ;
4541 int arg3
= (int) -1 ;
4542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4544 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4545 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4546 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4547 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4548 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4549 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4550 long arg8
= (long) 0 ;
4551 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4552 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4553 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4554 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4556 bool temp4
= false ;
4559 bool temp7
= false ;
4560 bool temp10
= false ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 PyObject
* obj2
= 0 ;
4564 PyObject
* obj3
= 0 ;
4565 PyObject
* obj4
= 0 ;
4566 PyObject
* obj5
= 0 ;
4567 PyObject
* obj6
= 0 ;
4568 PyObject
* obj7
= 0 ;
4569 PyObject
* obj8
= 0 ;
4570 PyObject
* obj9
= 0 ;
4572 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4579 if (SWIG_arg_fail(2)) SWIG_fail
;
4582 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4583 if (SWIG_arg_fail(3)) SWIG_fail
;
4588 arg4
= wxString_in_helper(obj3
);
4589 if (arg4
== NULL
) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4602 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4607 if (! PySequence_Check(obj6
)) {
4608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4611 arg7
= new wxArrayString
;
4613 int i
, len
=PySequence_Length(obj6
);
4614 for (i
=0; i
<len
; i
++) {
4615 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4616 wxString
* s
= wxString_in_helper(item
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4626 arg8
= static_cast<long >(SWIG_As_long(obj7
));
4627 if (SWIG_arg_fail(8)) SWIG_fail
;
4632 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4633 if (SWIG_arg_fail(9)) SWIG_fail
;
4635 SWIG_null_ref("wxValidator");
4637 if (SWIG_arg_fail(9)) SWIG_fail
;
4642 arg10
= wxString_in_helper(obj9
);
4643 if (arg10
== NULL
) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 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
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 if (temp7
) delete arg7
;
4675 if (temp7
) delete arg7
;
4685 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
= NULL
;
4687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= ((wxComboBox
const *)arg1
)->GetValue();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4717 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= NULL
;
4719 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4720 wxString
*arg2
= 0 ;
4721 bool temp2
= false ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 (char *) "self",(char *) "value", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= wxString_in_helper(obj1
);
4733 if (arg2
== NULL
) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetValue((wxString
const &)*arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4758 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
= NULL
;
4760 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
= NULL
;
4785 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4788 (char *) "self", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4793 if (SWIG_arg_fail(1)) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
= NULL
;
4810 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4811 PyObject
* obj0
= 0 ;
4813 (char *) "self", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4818 if (SWIG_arg_fail(1)) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 Py_INCREF(Py_None
); resultobj
= Py_None
;
4833 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
= NULL
;
4835 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4840 (char *) "self",(char *) "pos", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail
;
4847 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4848 if (SWIG_arg_fail(2)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->SetInsertionPoint(arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= NULL
;
4866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4875 if (SWIG_arg_fail(1)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_From_long(static_cast<long >(result
));
4892 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
= NULL
;
4894 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_From_long(static_cast<long >(result
));
4920 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= NULL
;
4922 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4925 wxString
*arg4
= 0 ;
4926 bool temp4
= false ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4929 PyObject
* obj2
= 0 ;
4930 PyObject
* obj3
= 0 ;
4932 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail
;
4939 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4940 if (SWIG_arg_fail(2)) SWIG_fail
;
4943 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4944 if (SWIG_arg_fail(3)) SWIG_fail
;
4947 arg4
= wxString_in_helper(obj3
);
4948 if (arg4
== NULL
) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
= NULL
;
4975 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4980 (char *) "self",(char *) "n", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4988 if (SWIG_arg_fail(2)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetSelection(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= NULL
;
5006 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5013 (char *) "self",(char *) "from",(char *) "to", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5021 if (SWIG_arg_fail(2)) SWIG_fail
;
5024 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5025 if (SWIG_arg_fail(3)) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 (arg1
)->SetSelection(arg2
,arg3
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 Py_INCREF(Py_None
); resultobj
= Py_None
;
5041 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
= NULL
;
5043 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5047 (char *) "self", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
5051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5052 if (SWIG_arg_fail(1)) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_From_int(static_cast<int >(result
));
5069 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= NULL
;
5071 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5072 wxString
*arg2
= 0 ;
5074 bool temp2
= false ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "string", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 arg2
= wxString_in_helper(obj1
);
5086 if (arg2
== NULL
) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5113 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
= NULL
;
5115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5117 wxString
*arg3
= 0 ;
5118 bool temp3
= false ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 PyObject
* obj2
= 0 ;
5123 (char *) "self",(char *) "n",(char *) "string", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail
;
5130 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5131 if (SWIG_arg_fail(2)) SWIG_fail
;
5134 arg3
= wxString_in_helper(obj2
);
5135 if (arg3
== NULL
) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
= NULL
;
5162 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5167 (char *) "self",(char *) "editable", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail
;
5174 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5175 if (SWIG_arg_fail(2)) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 (arg1
)->SetEditable(arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
= NULL
;
5193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->SetInsertionPointEnd();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= NULL
;
5218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 PyObject
* obj2
= 0 ;
5225 (char *) "self",(char *) "from",(char *) "to", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5233 if (SWIG_arg_fail(2)) SWIG_fail
;
5236 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5237 if (SWIG_arg_fail(3)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->Remove(arg2
,arg3
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= NULL
;
5255 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",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();
5267 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5281 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
= NULL
;
5283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "self", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 Py_INCREF(Py_None
); resultobj
= Py_None
;
5306 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
= NULL
;
5308 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5316 if (SWIG_arg_fail(1)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 Py_INCREF(Py_None
); resultobj
= Py_None
;
5331 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
= NULL
;
5333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5334 PyObject
* obj0
= 0 ;
5336 (char *) "self", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->SelectAll();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
= NULL
;
5358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5360 PyObject
* obj0
= 0 ;
5362 (char *) "self", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5384 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
= NULL
;
5386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5412 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
= NULL
;
5414 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5418 (char *) "self", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5440 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= NULL
;
5442 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5446 (char *) "self", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5468 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
= NULL
;
5470 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
= NULL
;
5498 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5499 wxVisualAttributes result
;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "variant", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5508 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5509 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 if (!wxPyCheckForApp()) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 wxVisualAttributes
* resultptr
;
5522 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5531 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5534 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5536 return Py_BuildValue((char *)"");
5538 static int _wrap_GaugeNameStr_set(PyObject
*) {
5539 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5544 static PyObject
*_wrap_GaugeNameStr_get(void) {
5545 PyObject
*pyobj
= NULL
;
5549 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5551 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5558 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
= NULL
;
5560 wxWindow
*arg1
= (wxWindow
*) 0 ;
5561 int arg2
= (int) -1 ;
5562 int arg3
= (int) 100 ;
5563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5567 long arg6
= (long) wxGA_HORIZONTAL
;
5568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5570 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5575 bool temp8
= false ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5578 PyObject
* obj2
= 0 ;
5579 PyObject
* obj3
= 0 ;
5580 PyObject
* obj4
= 0 ;
5581 PyObject
* obj5
= 0 ;
5582 PyObject
* obj6
= 0 ;
5583 PyObject
* obj7
= 0 ;
5585 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5593 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5594 if (SWIG_arg_fail(2)) SWIG_fail
;
5599 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5600 if (SWIG_arg_fail(3)) SWIG_fail
;
5606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5617 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5618 if (SWIG_arg_fail(6)) SWIG_fail
;
5623 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5624 if (SWIG_arg_fail(7)) SWIG_fail
;
5626 SWIG_null_ref("wxValidator");
5628 if (SWIG_arg_fail(7)) SWIG_fail
;
5633 arg8
= wxString_in_helper(obj7
);
5634 if (arg8
== NULL
) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5661 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
= NULL
;
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5670 if (!wxPyCheckForApp()) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (wxGauge
*)new wxGauge();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5684 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= NULL
;
5686 wxGauge
*arg1
= (wxGauge
*) 0 ;
5687 wxWindow
*arg2
= (wxWindow
*) 0 ;
5688 int arg3
= (int) -1 ;
5689 int arg4
= (int) 100 ;
5690 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5691 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5692 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5693 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5694 long arg7
= (long) wxGA_HORIZONTAL
;
5695 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5696 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5697 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5698 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5702 bool temp9
= false ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5705 PyObject
* obj2
= 0 ;
5706 PyObject
* obj3
= 0 ;
5707 PyObject
* obj4
= 0 ;
5708 PyObject
* obj5
= 0 ;
5709 PyObject
* obj6
= 0 ;
5710 PyObject
* obj7
= 0 ;
5711 PyObject
* obj8
= 0 ;
5713 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(2)) SWIG_fail
;
5723 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5724 if (SWIG_arg_fail(3)) SWIG_fail
;
5729 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5730 if (SWIG_arg_fail(4)) SWIG_fail
;
5736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5747 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5748 if (SWIG_arg_fail(7)) SWIG_fail
;
5753 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(8)) SWIG_fail
;
5756 SWIG_null_ref("wxValidator");
5758 if (SWIG_arg_fail(8)) SWIG_fail
;
5763 arg9
= wxString_in_helper(obj8
);
5764 if (arg9
== NULL
) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5792 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
= NULL
;
5794 wxGauge
*arg1
= (wxGauge
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "range", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5807 if (SWIG_arg_fail(2)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 (arg1
)->SetRange(arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= NULL
;
5825 wxGauge
*arg1
= (wxGauge
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_From_int(static_cast<int >(result
));
5851 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= NULL
;
5853 wxGauge
*arg1
= (wxGauge
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5858 (char *) "self",(char *) "pos", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5863 if (SWIG_arg_fail(1)) SWIG_fail
;
5865 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5866 if (SWIG_arg_fail(2)) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 (arg1
)->SetValue(arg2
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 Py_INCREF(Py_None
); resultobj
= Py_None
;
5882 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
= NULL
;
5884 wxGauge
*arg1
= (wxGauge
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5893 if (SWIG_arg_fail(1)) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_From_int(static_cast<int >(result
));
5910 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
= NULL
;
5912 wxGauge
*arg1
= (wxGauge
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5921 if (SWIG_arg_fail(1)) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5938 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
= NULL
;
5940 wxGauge
*arg1
= (wxGauge
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5945 (char *) "self",(char *) "w", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5950 if (SWIG_arg_fail(1)) SWIG_fail
;
5952 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5953 if (SWIG_arg_fail(2)) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 (arg1
)->SetShadowWidth(arg2
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 Py_INCREF(Py_None
); resultobj
= Py_None
;
5969 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
= NULL
;
5971 wxGauge
*arg1
= (wxGauge
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5980 if (SWIG_arg_fail(1)) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_From_int(static_cast<int >(result
));
5997 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
= NULL
;
5999 wxGauge
*arg1
= (wxGauge
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "w", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail
;
6011 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6012 if (SWIG_arg_fail(2)) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->SetBezelFace(arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
= NULL
;
6030 wxGauge
*arg1
= (wxGauge
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "self", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
6038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6039 if (SWIG_arg_fail(1)) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_From_int(static_cast<int >(result
));
6056 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= NULL
;
6058 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6059 wxVisualAttributes result
;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "variant", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6068 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6069 if (SWIG_arg_fail(1)) SWIG_fail
;
6073 if (!wxPyCheckForApp()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 wxVisualAttributes
* resultptr
;
6082 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6091 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6094 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6096 return Py_BuildValue((char *)"");
6098 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6099 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6104 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6105 PyObject
*pyobj
= NULL
;
6109 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6111 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6118 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6119 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6124 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6125 PyObject
*pyobj
= NULL
;
6129 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6131 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6138 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6139 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6144 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6145 PyObject
*pyobj
= NULL
;
6149 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6151 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6158 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
= NULL
;
6160 wxWindow
*arg1
= (wxWindow
*) 0 ;
6161 int arg2
= (int) -1 ;
6162 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6163 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6168 long arg6
= (long) 0 ;
6169 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6171 wxStaticBox
*result
;
6172 bool temp3
= false ;
6175 bool temp7
= false ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6179 PyObject
* obj3
= 0 ;
6180 PyObject
* obj4
= 0 ;
6181 PyObject
* obj5
= 0 ;
6182 PyObject
* obj6
= 0 ;
6184 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6189 if (SWIG_arg_fail(1)) SWIG_fail
;
6192 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6193 if (SWIG_arg_fail(2)) SWIG_fail
;
6198 arg3
= wxString_in_helper(obj2
);
6199 if (arg3
== NULL
) SWIG_fail
;
6206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6217 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6218 if (SWIG_arg_fail(6)) SWIG_fail
;
6223 arg7
= wxString_in_helper(obj6
);
6224 if (arg7
== NULL
) SWIG_fail
;
6229 if (!wxPyCheckForApp()) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6259 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= NULL
;
6261 wxStaticBox
*result
;
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6268 if (!wxPyCheckForApp()) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (wxStaticBox
*)new wxStaticBox();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6282 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= NULL
;
6284 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6285 wxWindow
*arg2
= (wxWindow
*) 0 ;
6286 int arg3
= (int) -1 ;
6287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6291 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6292 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6293 long arg7
= (long) 0 ;
6294 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6297 bool temp4
= false ;
6300 bool temp8
= false ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6304 PyObject
* obj3
= 0 ;
6305 PyObject
* obj4
= 0 ;
6306 PyObject
* obj5
= 0 ;
6307 PyObject
* obj6
= 0 ;
6308 PyObject
* obj7
= 0 ;
6310 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(2)) SWIG_fail
;
6320 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6321 if (SWIG_arg_fail(3)) SWIG_fail
;
6326 arg4
= wxString_in_helper(obj3
);
6327 if (arg4
== NULL
) SWIG_fail
;
6334 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6340 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6345 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6346 if (SWIG_arg_fail(7)) SWIG_fail
;
6351 arg8
= wxString_in_helper(obj7
);
6352 if (arg8
== NULL
) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6388 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
= NULL
;
6390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6391 wxVisualAttributes result
;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "variant", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6400 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6405 if (!wxPyCheckForApp()) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6413 wxVisualAttributes
* resultptr
;
6414 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6423 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6428 return Py_BuildValue((char *)"");
6430 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= NULL
;
6432 wxWindow
*arg1
= (wxWindow
*) 0 ;
6433 int arg2
= (int) -1 ;
6434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6438 long arg5
= (long) wxLI_HORIZONTAL
;
6439 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6441 wxStaticLine
*result
;
6444 bool temp6
= false ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6447 PyObject
* obj2
= 0 ;
6448 PyObject
* obj3
= 0 ;
6449 PyObject
* obj4
= 0 ;
6450 PyObject
* obj5
= 0 ;
6452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6457 if (SWIG_arg_fail(1)) SWIG_fail
;
6460 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6461 if (SWIG_arg_fail(2)) SWIG_fail
;
6467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6478 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6479 if (SWIG_arg_fail(5)) SWIG_fail
;
6484 arg6
= wxString_in_helper(obj5
);
6485 if (arg6
== NULL
) SWIG_fail
;
6490 if (!wxPyCheckForApp()) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6512 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
= NULL
;
6514 wxStaticLine
*result
;
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6521 if (!wxPyCheckForApp()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxStaticLine
*)new wxStaticLine();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6535 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
= NULL
;
6537 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6538 wxWindow
*arg2
= (wxWindow
*) 0 ;
6539 int arg3
= (int) -1 ;
6540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6544 long arg6
= (long) wxLI_HORIZONTAL
;
6545 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6550 bool temp7
= false ;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6553 PyObject
* obj2
= 0 ;
6554 PyObject
* obj3
= 0 ;
6555 PyObject
* obj4
= 0 ;
6556 PyObject
* obj5
= 0 ;
6557 PyObject
* obj6
= 0 ;
6559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(2)) SWIG_fail
;
6569 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6570 if (SWIG_arg_fail(3)) SWIG_fail
;
6576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6587 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6588 if (SWIG_arg_fail(6)) SWIG_fail
;
6593 arg7
= wxString_in_helper(obj6
);
6594 if (arg7
== NULL
) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
= NULL
;
6624 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6650 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= NULL
;
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (int)wxStaticLine::GetDefaultSize();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_From_int(static_cast<int >(result
));
6674 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= NULL
;
6676 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6677 wxVisualAttributes result
;
6678 PyObject
* obj0
= 0 ;
6680 (char *) "variant", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6686 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6691 if (!wxPyCheckForApp()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 wxVisualAttributes
* resultptr
;
6700 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6709 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6712 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6714 return Py_BuildValue((char *)"");
6716 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
= NULL
;
6718 wxWindow
*arg1
= (wxWindow
*) 0 ;
6719 int arg2
= (int) -1 ;
6720 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6721 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6726 long arg6
= (long) 0 ;
6727 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6729 wxStaticText
*result
;
6730 bool temp3
= false ;
6733 bool temp7
= false ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6736 PyObject
* obj2
= 0 ;
6737 PyObject
* obj3
= 0 ;
6738 PyObject
* obj4
= 0 ;
6739 PyObject
* obj5
= 0 ;
6740 PyObject
* obj6
= 0 ;
6742 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail
;
6750 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6751 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 arg3
= wxString_in_helper(obj2
);
6757 if (arg3
== NULL
) SWIG_fail
;
6764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6775 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6776 if (SWIG_arg_fail(6)) SWIG_fail
;
6781 arg7
= wxString_in_helper(obj6
);
6782 if (arg7
== NULL
) SWIG_fail
;
6787 if (!wxPyCheckForApp()) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6817 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
= NULL
;
6819 wxStaticText
*result
;
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6826 if (!wxPyCheckForApp()) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxStaticText
*)new wxStaticText();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6840 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= NULL
;
6842 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6843 wxWindow
*arg2
= (wxWindow
*) 0 ;
6844 int arg3
= (int) -1 ;
6845 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6846 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6851 long arg7
= (long) 0 ;
6852 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6855 bool temp4
= false ;
6858 bool temp8
= false ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6862 PyObject
* obj3
= 0 ;
6863 PyObject
* obj4
= 0 ;
6864 PyObject
* obj5
= 0 ;
6865 PyObject
* obj6
= 0 ;
6866 PyObject
* obj7
= 0 ;
6868 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail
;
6874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(2)) SWIG_fail
;
6878 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6879 if (SWIG_arg_fail(3)) SWIG_fail
;
6884 arg4
= wxString_in_helper(obj3
);
6885 if (arg4
== NULL
) SWIG_fail
;
6892 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6898 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6903 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6904 if (SWIG_arg_fail(7)) SWIG_fail
;
6909 arg8
= wxString_in_helper(obj7
);
6910 if (arg8
== NULL
) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6946 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
= NULL
;
6948 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6953 (char *) "self",(char *) "width", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6961 if (SWIG_arg_fail(2)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
= NULL
;
6979 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6980 wxVisualAttributes result
;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "variant", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6989 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6990 if (SWIG_arg_fail(1)) SWIG_fail
;
6994 if (!wxPyCheckForApp()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 wxVisualAttributes
* resultptr
;
7003 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7012 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
7014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7015 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
7017 return Py_BuildValue((char *)"");
7019 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= NULL
;
7021 wxWindow
*arg1
= (wxWindow
*) 0 ;
7022 int arg2
= (int) -1 ;
7023 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
7024 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
7025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7029 long arg6
= (long) 0 ;
7030 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
7031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7032 wxStaticBitmap
*result
;
7035 bool temp7
= false ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 PyObject
* obj2
= 0 ;
7039 PyObject
* obj3
= 0 ;
7040 PyObject
* obj4
= 0 ;
7041 PyObject
* obj5
= 0 ;
7042 PyObject
* obj6
= 0 ;
7044 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7049 if (SWIG_arg_fail(1)) SWIG_fail
;
7052 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7053 if (SWIG_arg_fail(2)) SWIG_fail
;
7058 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(3)) SWIG_fail
;
7061 SWIG_null_ref("wxBitmap");
7063 if (SWIG_arg_fail(3)) SWIG_fail
;
7069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7080 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7081 if (SWIG_arg_fail(6)) SWIG_fail
;
7086 arg7
= wxString_in_helper(obj6
);
7087 if (arg7
== NULL
) SWIG_fail
;
7092 if (!wxPyCheckForApp()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7114 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= NULL
;
7116 wxStaticBitmap
*result
;
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7123 if (!wxPyCheckForApp()) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7137 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= NULL
;
7139 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7140 wxWindow
*arg2
= (wxWindow
*) 0 ;
7141 int arg3
= (int) -1 ;
7142 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7143 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7148 long arg7
= (long) 0 ;
7149 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7154 bool temp8
= false ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 PyObject
* obj2
= 0 ;
7158 PyObject
* obj3
= 0 ;
7159 PyObject
* obj4
= 0 ;
7160 PyObject
* obj5
= 0 ;
7161 PyObject
* obj6
= 0 ;
7162 PyObject
* obj7
= 0 ;
7164 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(2)) SWIG_fail
;
7174 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7175 if (SWIG_arg_fail(3)) SWIG_fail
;
7180 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7181 if (SWIG_arg_fail(4)) SWIG_fail
;
7183 SWIG_null_ref("wxBitmap");
7185 if (SWIG_arg_fail(4)) SWIG_fail
;
7191 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7197 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7202 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7203 if (SWIG_arg_fail(7)) SWIG_fail
;
7208 arg8
= wxString_in_helper(obj7
);
7209 if (arg8
== NULL
) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7237 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
= NULL
;
7239 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (arg1
)->GetBitmap();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7257 wxBitmap
* resultptr
;
7258 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7267 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
= NULL
;
7269 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7270 wxBitmap
*arg2
= 0 ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7274 (char *) "self",(char *) "bitmap", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7279 if (SWIG_arg_fail(1)) SWIG_fail
;
7281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7282 if (SWIG_arg_fail(2)) SWIG_fail
;
7284 SWIG_null_ref("wxBitmap");
7286 if (SWIG_arg_fail(2)) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
= NULL
;
7304 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7309 (char *) "self",(char *) "icon", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7317 if (SWIG_arg_fail(2)) SWIG_fail
;
7319 SWIG_null_ref("wxIcon");
7321 if (SWIG_arg_fail(2)) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= NULL
;
7339 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7340 wxVisualAttributes result
;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "variant", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7349 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7354 if (!wxPyCheckForApp()) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 wxVisualAttributes
* resultptr
;
7363 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7372 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7377 return Py_BuildValue((char *)"");
7379 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7380 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7385 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7386 PyObject
*pyobj
= NULL
;
7390 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7392 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7399 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
= NULL
;
7401 wxWindow
*arg1
= (wxWindow
*) 0 ;
7402 int arg2
= (int) -1 ;
7403 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7404 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7405 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7406 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7407 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7408 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7409 long arg6
= (long) 0 ;
7410 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7411 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7412 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7413 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7417 bool temp5
= false ;
7418 bool temp8
= false ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7421 PyObject
* obj2
= 0 ;
7422 PyObject
* obj3
= 0 ;
7423 PyObject
* obj4
= 0 ;
7424 PyObject
* obj5
= 0 ;
7425 PyObject
* obj6
= 0 ;
7426 PyObject
* obj7
= 0 ;
7428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7433 if (SWIG_arg_fail(1)) SWIG_fail
;
7436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7437 if (SWIG_arg_fail(2)) SWIG_fail
;
7443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7449 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7454 if (! PySequence_Check(obj4
)) {
7455 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7458 arg5
= new wxArrayString
;
7460 int i
, len
=PySequence_Length(obj4
);
7461 for (i
=0; i
<len
; i
++) {
7462 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7463 wxString
* s
= wxString_in_helper(item
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7473 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7474 if (SWIG_arg_fail(6)) SWIG_fail
;
7479 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(7)) SWIG_fail
;
7482 SWIG_null_ref("wxValidator");
7484 if (SWIG_arg_fail(7)) SWIG_fail
;
7489 arg8
= wxString_in_helper(obj7
);
7490 if (arg8
== NULL
) SWIG_fail
;
7495 if (!wxPyCheckForApp()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7504 if (temp5
) delete arg5
;
7513 if (temp5
) delete arg5
;
7523 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
= NULL
;
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7532 if (!wxPyCheckForApp()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxListBox
*)new wxListBox();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7546 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
= NULL
;
7548 wxListBox
*arg1
= (wxListBox
*) 0 ;
7549 wxWindow
*arg2
= (wxWindow
*) 0 ;
7550 int arg3
= (int) -1 ;
7551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7555 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7556 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7557 long arg7
= (long) 0 ;
7558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7560 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7565 bool temp6
= false ;
7566 bool temp9
= false ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7569 PyObject
* obj2
= 0 ;
7570 PyObject
* obj3
= 0 ;
7571 PyObject
* obj4
= 0 ;
7572 PyObject
* obj5
= 0 ;
7573 PyObject
* obj6
= 0 ;
7574 PyObject
* obj7
= 0 ;
7575 PyObject
* obj8
= 0 ;
7577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(2)) SWIG_fail
;
7587 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7588 if (SWIG_arg_fail(3)) SWIG_fail
;
7594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7605 if (! PySequence_Check(obj5
)) {
7606 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7609 arg6
= new wxArrayString
;
7611 int i
, len
=PySequence_Length(obj5
);
7612 for (i
=0; i
<len
; i
++) {
7613 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7614 wxString
* s
= wxString_in_helper(item
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7624 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7625 if (SWIG_arg_fail(7)) SWIG_fail
;
7630 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(8)) SWIG_fail
;
7633 SWIG_null_ref("wxValidator");
7635 if (SWIG_arg_fail(8)) SWIG_fail
;
7640 arg9
= wxString_in_helper(obj8
);
7641 if (arg9
== NULL
) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7656 if (temp6
) delete arg6
;
7665 if (temp6
) delete arg6
;
7675 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
= NULL
;
7677 wxListBox
*arg1
= (wxListBox
*) 0 ;
7678 wxString
*arg2
= 0 ;
7680 PyObject
*arg4
= (PyObject
*) NULL
;
7681 bool temp2
= false ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 PyObject
* obj2
= 0 ;
7685 PyObject
* obj3
= 0 ;
7687 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7700 if (SWIG_arg_fail(3)) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= NULL
;
7729 wxListBox
*arg1
= (wxListBox
*) 0 ;
7730 wxArrayString
*arg2
= 0 ;
7732 bool temp2
= false ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7735 PyObject
* obj2
= 0 ;
7737 (char *) "self",(char *) "items",(char *) "pos", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 if (! PySequence_Check(obj1
)) {
7745 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7748 arg2
= new wxArrayString
;
7750 int i
, len
=PySequence_Length(obj1
);
7751 for (i
=0; i
<len
; i
++) {
7752 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7753 wxString
* s
= wxString_in_helper(item
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7761 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7762 if (SWIG_arg_fail(3)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 if (temp2
) delete arg2
;
7778 if (temp2
) delete arg2
;
7784 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= NULL
;
7786 wxListBox
*arg1
= (wxListBox
*) 0 ;
7787 wxArrayString
*arg2
= 0 ;
7788 bool temp2
= false ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "self",(char *) "items", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7797 if (SWIG_arg_fail(1)) SWIG_fail
;
7799 if (! PySequence_Check(obj1
)) {
7800 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7803 arg2
= new wxArrayString
;
7805 int i
, len
=PySequence_Length(obj1
);
7806 for (i
=0; i
<len
; i
++) {
7807 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7808 wxString
* s
= wxString_in_helper(item
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->Set((wxArrayString
const &)*arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 if (temp2
) delete arg2
;
7829 if (temp2
) delete arg2
;
7835 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
= NULL
;
7837 wxListBox
*arg1
= (wxListBox
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7843 (char *) "self",(char *) "n", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7851 if (SWIG_arg_fail(2)) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
= NULL
;
7871 wxListBox
*arg1
= (wxListBox
*) 0 ;
7873 bool arg3
= (bool) true ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7878 (char *) "self",(char *) "n",(char *) "select", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail
;
7885 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7886 if (SWIG_arg_fail(2)) SWIG_fail
;
7890 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7891 if (SWIG_arg_fail(3)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->SetSelection(arg2
,arg3
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
= NULL
;
7910 wxListBox
*arg1
= (wxListBox
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "n", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7923 if (SWIG_arg_fail(2)) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->Select(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
= NULL
;
7941 wxListBox
*arg1
= (wxListBox
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "n", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7951 if (SWIG_arg_fail(1)) SWIG_fail
;
7953 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7954 if (SWIG_arg_fail(2)) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->Deselect(arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
= NULL
;
7972 wxListBox
*arg1
= (wxListBox
*) 0 ;
7973 int arg2
= (int) -1 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "itemToLeaveSelected", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7982 if (SWIG_arg_fail(1)) SWIG_fail
;
7985 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7986 if (SWIG_arg_fail(2)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 (arg1
)->DeselectAll(arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8003 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
= NULL
;
8005 wxListBox
*arg1
= (wxListBox
*) 0 ;
8006 wxString
*arg2
= 0 ;
8007 bool arg3
= (bool) true ;
8009 bool temp2
= false ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8014 (char *) "self",(char *) "s",(char *) "select", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail
;
8021 arg2
= wxString_in_helper(obj1
);
8022 if (arg2
== NULL
) SWIG_fail
;
8027 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8028 if (SWIG_arg_fail(3)) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8055 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
= NULL
;
8057 wxListBox
*arg1
= (wxListBox
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8081 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
= NULL
;
8083 wxListBox
*arg1
= (wxListBox
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8088 (char *) "self",(char *) "n", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8096 if (SWIG_arg_fail(2)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetFirstItem(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
= NULL
;
8114 wxListBox
*arg1
= (wxListBox
*) 0 ;
8115 wxString
*arg2
= 0 ;
8116 bool temp2
= false ;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8120 (char *) "self",(char *) "s", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 arg2
= wxString_in_helper(obj1
);
8128 if (arg2
== NULL
) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8153 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= NULL
;
8155 wxListBox
*arg1
= (wxListBox
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "n", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8168 if (SWIG_arg_fail(2)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->EnsureVisible(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
= NULL
;
8186 wxListBox
*arg1
= (wxListBox
*) 0 ;
8187 wxString
*arg2
= 0 ;
8188 bool temp2
= false ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8192 (char *) "self",(char *) "s", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail
;
8199 arg2
= wxString_in_helper(obj1
);
8200 if (arg2
== NULL
) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
= NULL
;
8227 wxListBox
*arg1
= (wxListBox
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8253 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
= NULL
;
8255 wxListBox
*arg1
= (wxListBox
*) 0 ;
8257 wxColour
*arg3
= 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 PyObject
* obj2
= 0 ;
8263 (char *) "self",(char *) "item",(char *) "c", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8271 if (SWIG_arg_fail(2)) SWIG_fail
;
8275 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 Py_INCREF(Py_None
); resultobj
= Py_None
;
8291 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
= NULL
;
8293 wxListBox
*arg1
= (wxListBox
*) 0 ;
8295 wxColour
*arg3
= 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "item",(char *) "c", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8306 if (SWIG_arg_fail(1)) SWIG_fail
;
8308 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8309 if (SWIG_arg_fail(2)) SWIG_fail
;
8313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
= NULL
;
8331 wxListBox
*arg1
= (wxListBox
*) 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 PyObject
* obj2
= 0 ;
8338 (char *) "self",(char *) "item",(char *) "f", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail
;
8345 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8346 if (SWIG_arg_fail(2)) SWIG_fail
;
8349 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8350 if (SWIG_arg_fail(3)) SWIG_fail
;
8352 SWIG_null_ref("wxFont");
8354 if (SWIG_arg_fail(3)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
= NULL
;
8372 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8373 wxVisualAttributes result
;
8374 PyObject
* obj0
= 0 ;
8376 (char *) "variant", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8382 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8383 if (SWIG_arg_fail(1)) SWIG_fail
;
8387 if (!wxPyCheckForApp()) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8395 wxVisualAttributes
* resultptr
;
8396 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8405 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8408 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8410 return Py_BuildValue((char *)"");
8412 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
= NULL
;
8414 wxWindow
*arg1
= (wxWindow
*) 0 ;
8415 int arg2
= (int) -1 ;
8416 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8417 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8418 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8419 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8420 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8421 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8422 long arg6
= (long) 0 ;
8423 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8424 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8425 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8426 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8427 wxCheckListBox
*result
;
8430 bool temp5
= false ;
8431 bool temp8
= false ;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8434 PyObject
* obj2
= 0 ;
8435 PyObject
* obj3
= 0 ;
8436 PyObject
* obj4
= 0 ;
8437 PyObject
* obj5
= 0 ;
8438 PyObject
* obj6
= 0 ;
8439 PyObject
* obj7
= 0 ;
8441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8456 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8467 if (! PySequence_Check(obj4
)) {
8468 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8471 arg5
= new wxArrayString
;
8473 int i
, len
=PySequence_Length(obj4
);
8474 for (i
=0; i
<len
; i
++) {
8475 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8476 wxString
* s
= wxString_in_helper(item
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8486 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8487 if (SWIG_arg_fail(6)) SWIG_fail
;
8492 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8493 if (SWIG_arg_fail(7)) SWIG_fail
;
8495 SWIG_null_ref("wxValidator");
8497 if (SWIG_arg_fail(7)) SWIG_fail
;
8502 arg8
= wxString_in_helper(obj7
);
8503 if (arg8
== NULL
) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8517 if (temp5
) delete arg5
;
8526 if (temp5
) delete arg5
;
8536 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
= NULL
;
8538 wxCheckListBox
*result
;
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8545 if (!wxPyCheckForApp()) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (wxCheckListBox
*)new wxCheckListBox();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8559 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
= NULL
;
8561 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8562 wxWindow
*arg2
= (wxWindow
*) 0 ;
8563 int arg3
= (int) -1 ;
8564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8568 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8569 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8570 long arg7
= (long) 0 ;
8571 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8572 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8573 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8574 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8578 bool temp6
= false ;
8579 bool temp9
= false ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8583 PyObject
* obj3
= 0 ;
8584 PyObject
* obj4
= 0 ;
8585 PyObject
* obj5
= 0 ;
8586 PyObject
* obj6
= 0 ;
8587 PyObject
* obj7
= 0 ;
8588 PyObject
* obj8
= 0 ;
8590 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8597 if (SWIG_arg_fail(2)) SWIG_fail
;
8600 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8601 if (SWIG_arg_fail(3)) SWIG_fail
;
8607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8618 if (! PySequence_Check(obj5
)) {
8619 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8622 arg6
= new wxArrayString
;
8624 int i
, len
=PySequence_Length(obj5
);
8625 for (i
=0; i
<len
; i
++) {
8626 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8627 wxString
* s
= wxString_in_helper(item
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8637 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8638 if (SWIG_arg_fail(7)) SWIG_fail
;
8643 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(8)) SWIG_fail
;
8646 SWIG_null_ref("wxValidator");
8648 if (SWIG_arg_fail(8)) SWIG_fail
;
8653 arg9
= wxString_in_helper(obj8
);
8654 if (arg9
== NULL
) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8669 if (temp6
) delete arg6
;
8678 if (temp6
) delete arg6
;
8688 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
= NULL
;
8690 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8696 (char *) "self",(char *) "index", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail
;
8703 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8704 if (SWIG_arg_fail(2)) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (bool)(arg1
)->IsChecked(arg2
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8722 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
= NULL
;
8724 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8726 int arg3
= (int) true ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8731 (char *) "self",(char *) "index",(char *) "check", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8739 if (SWIG_arg_fail(2)) SWIG_fail
;
8743 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8744 if (SWIG_arg_fail(3)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->Check(arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
= NULL
;
8763 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "pt", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_From_int(static_cast<int >(result
));
8796 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
= NULL
;
8798 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "self",(char *) "x",(char *) "y", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail
;
8813 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8814 if (SWIG_arg_fail(2)) SWIG_fail
;
8817 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8818 if (SWIG_arg_fail(3)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_From_int(static_cast<int >(result
));
8836 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8839 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8841 return Py_BuildValue((char *)"");
8843 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8844 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8849 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8850 PyObject
*pyobj
= NULL
;
8854 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8856 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8863 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= NULL
;
8865 wxColour
const &arg1_defvalue
= wxNullColour
;
8866 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8867 wxColour
const &arg2_defvalue
= wxNullColour
;
8868 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8869 wxFont
const &arg3_defvalue
= wxNullFont
;
8870 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8871 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8878 PyObject
* obj3
= 0 ;
8880 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8887 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8898 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8899 if (SWIG_arg_fail(3)) SWIG_fail
;
8901 SWIG_null_ref("wxFont");
8903 if (SWIG_arg_fail(3)) SWIG_fail
;
8908 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8909 if (SWIG_arg_fail(4)) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8926 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
= NULL
;
8928 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8931 (char *) "self", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8936 if (SWIG_arg_fail(1)) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= NULL
;
8953 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8961 if (SWIG_arg_fail(1)) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= NULL
;
8978 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8979 wxColour
*arg2
= 0 ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8984 (char *) "self",(char *) "colText", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8989 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
= NULL
;
9010 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9011 wxColour
*arg2
= 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "colBack", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
= NULL
;
9042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9044 long arg3
= (long) wxTEXT_ATTR_FONT
;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "font",(char *) "flags", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail
;
9056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9057 if (SWIG_arg_fail(2)) SWIG_fail
;
9059 SWIG_null_ref("wxFont");
9061 if (SWIG_arg_fail(2)) SWIG_fail
;
9065 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9066 if (SWIG_arg_fail(3)) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
= NULL
;
9085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9086 wxTextAttrAlignment arg2
;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "self",(char *) "alignment", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9095 if (SWIG_arg_fail(1)) SWIG_fail
;
9097 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9098 if (SWIG_arg_fail(2)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->SetAlignment(arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9114 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= NULL
;
9116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9117 wxArrayInt
*arg2
= 0 ;
9118 bool temp2
= false ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9122 (char *) "self",(char *) "tabs", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 if (! PySequence_Check(obj1
)) {
9130 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9133 arg2
= new wxArrayInt
;
9135 int i
, len
=PySequence_Length(obj1
);
9136 for (i
=0; i
<len
; i
++) {
9137 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9138 PyObject
* number
= PyNumber_Int(item
);
9139 arg2
->Add(PyInt_AS_LONG(number
));
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 if (temp2
) delete arg2
;
9158 if (temp2
) delete arg2
;
9164 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
= NULL
;
9166 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9168 int arg3
= (int) 0 ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 PyObject
* obj2
= 0 ;
9173 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9178 if (SWIG_arg_fail(1)) SWIG_fail
;
9180 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9181 if (SWIG_arg_fail(2)) SWIG_fail
;
9185 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9186 if (SWIG_arg_fail(3)) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->SetLeftIndent(arg2
,arg3
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= NULL
;
9205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9210 (char *) "self",(char *) "indent", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail
;
9217 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9218 if (SWIG_arg_fail(2)) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->SetRightIndent(arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= NULL
;
9236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "flags", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9249 if (SWIG_arg_fail(2)) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 (arg1
)->SetFlags(arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= NULL
;
9267 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9293 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= NULL
;
9323 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9349 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
= NULL
;
9351 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= NULL
;
9379 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9388 if (SWIG_arg_fail(1)) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9405 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
= NULL
;
9407 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9433 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= NULL
;
9435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9444 if (SWIG_arg_fail(1)) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9461 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
= NULL
;
9463 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9469 (char *) "self",(char *) "flag", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9474 if (SWIG_arg_fail(1)) SWIG_fail
;
9476 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9477 if (SWIG_arg_fail(2)) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= NULL
;
9497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9506 if (SWIG_arg_fail(1)) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9511 result
= (wxColour
*) &_result_ref
;
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9524 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= NULL
;
9526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9530 (char *) "self", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9540 result
= (wxColour
*) &_result_ref
;
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9553 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
= NULL
;
9555 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9569 result
= (wxFont
*) &_result_ref
;
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 wxFont
* resultptr
= new wxFont(*result
);
9577 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9585 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= NULL
;
9587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9588 wxTextAttrAlignment result
;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_From_int((result
));
9611 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
= NULL
;
9613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9627 result
= (wxArrayInt
*) &_result_ref
;
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= PyList_New(0);
9636 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9637 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9638 PyList_Append(resultobj
, val
);
9648 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
= NULL
;
9650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "self", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9659 if (SWIG_arg_fail(1)) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_From_long(static_cast<long >(result
));
9676 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= NULL
;
9678 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_From_long(static_cast<long >(result
));
9704 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= NULL
;
9706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_From_long(static_cast<long >(result
));
9732 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= NULL
;
9734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_From_long(static_cast<long >(result
));
9760 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= NULL
;
9762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9771 if (SWIG_arg_fail(1)) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9788 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= NULL
;
9790 wxTextAttr
*arg1
= 0 ;
9791 wxTextAttr
*arg2
= 0 ;
9792 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 PyObject
* obj2
= 0 ;
9798 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 SWIG_null_ref("wxTextAttr");
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9812 if (SWIG_arg_fail(2)) SWIG_fail
;
9814 SWIG_null_ref("wxTextAttr");
9816 if (SWIG_arg_fail(2)) SWIG_fail
;
9818 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(3)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 wxTextAttr
* resultptr
;
9829 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9838 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9841 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9843 return Py_BuildValue((char *)"");
9845 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
= NULL
;
9847 wxWindow
*arg1
= (wxWindow
*) 0 ;
9848 int arg2
= (int) -1 ;
9849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9851 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9852 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9853 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9854 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9855 long arg6
= (long) 0 ;
9856 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9857 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9858 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9859 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9861 bool temp3
= false ;
9864 bool temp8
= false ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 PyObject
* obj2
= 0 ;
9868 PyObject
* obj3
= 0 ;
9869 PyObject
* obj4
= 0 ;
9870 PyObject
* obj5
= 0 ;
9871 PyObject
* obj6
= 0 ;
9872 PyObject
* obj7
= 0 ;
9874 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9883 if (SWIG_arg_fail(2)) SWIG_fail
;
9888 arg3
= wxString_in_helper(obj2
);
9889 if (arg3
== NULL
) SWIG_fail
;
9896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9907 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9908 if (SWIG_arg_fail(6)) SWIG_fail
;
9913 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(7)) SWIG_fail
;
9916 SWIG_null_ref("wxValidator");
9918 if (SWIG_arg_fail(7)) SWIG_fail
;
9923 arg8
= wxString_in_helper(obj7
);
9924 if (arg8
== NULL
) SWIG_fail
;
9929 if (!wxPyCheckForApp()) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9959 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= NULL
;
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9968 if (!wxPyCheckForApp()) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (wxTextCtrl
*)new wxTextCtrl();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9982 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= NULL
;
9984 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9985 wxWindow
*arg2
= (wxWindow
*) 0 ;
9986 int arg3
= (int) -1 ;
9987 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9988 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9989 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9990 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9991 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9992 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9993 long arg7
= (long) 0 ;
9994 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9995 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9996 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9997 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9999 bool temp4
= false ;
10002 bool temp9
= false ;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 PyObject
* obj2
= 0 ;
10006 PyObject
* obj3
= 0 ;
10007 PyObject
* obj4
= 0 ;
10008 PyObject
* obj5
= 0 ;
10009 PyObject
* obj6
= 0 ;
10010 PyObject
* obj7
= 0 ;
10011 PyObject
* obj8
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10020 if (SWIG_arg_fail(2)) SWIG_fail
;
10023 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10024 if (SWIG_arg_fail(3)) SWIG_fail
;
10029 arg4
= wxString_in_helper(obj3
);
10030 if (arg4
== NULL
) SWIG_fail
;
10037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10048 arg7
= static_cast<long >(SWIG_As_long(obj6
));
10049 if (SWIG_arg_fail(7)) SWIG_fail
;
10054 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
10055 if (SWIG_arg_fail(8)) SWIG_fail
;
10056 if (arg8
== NULL
) {
10057 SWIG_null_ref("wxValidator");
10059 if (SWIG_arg_fail(8)) SWIG_fail
;
10064 arg9
= wxString_in_helper(obj8
);
10065 if (arg9
== NULL
) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10101 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
= NULL
;
10103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10133 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= NULL
;
10135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10136 wxString
*arg2
= 0 ;
10137 bool temp2
= false ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "value", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail
;
10148 arg2
= wxString_in_helper(obj1
);
10149 if (arg2
== NULL
) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 (arg1
)->SetValue((wxString
const &)*arg2
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= NULL
;
10176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 PyObject
* obj2
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "from",(char *) "to", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10191 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10192 if (SWIG_arg_fail(2)) SWIG_fail
;
10195 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10196 if (SWIG_arg_fail(3)) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10218 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= NULL
;
10220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "lineNo", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail
;
10233 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10234 if (SWIG_arg_fail(2)) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_From_int(static_cast<int >(result
));
10252 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
= NULL
;
10254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 PyObject
* obj1
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self",(char *) "lineNo", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10265 if (SWIG_arg_fail(1)) SWIG_fail
;
10267 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10268 if (SWIG_arg_fail(2)) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10290 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
= NULL
;
10292 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_From_int(static_cast<int >(result
));
10318 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
= NULL
;
10320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10346 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= NULL
;
10348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10374 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= NULL
;
10376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10402 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= NULL
;
10404 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10413 if (SWIG_arg_fail(1)) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10430 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
= NULL
;
10432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10433 long *arg2
= (long *) 0 ;
10434 long *arg3
= (long *) 0 ;
10439 PyObject
* obj0
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self", NULL
10444 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10445 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 Py_INCREF(Py_None
); resultobj
= Py_None
;
10457 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10458 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10459 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10460 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10467 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
= NULL
;
10469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10471 PyObject
* obj0
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10499 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
= NULL
;
10501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 Py_INCREF(Py_None
); resultobj
= Py_None
;
10524 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= NULL
;
10526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10529 wxString
*arg4
= 0 ;
10530 bool temp4
= false ;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 PyObject
* obj2
= 0 ;
10534 PyObject
* obj3
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10544 if (SWIG_arg_fail(2)) SWIG_fail
;
10547 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10548 if (SWIG_arg_fail(3)) SWIG_fail
;
10551 arg4
= wxString_in_helper(obj3
);
10552 if (arg4
== NULL
) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
= NULL
;
10579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "from",(char *) "to", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10591 if (SWIG_arg_fail(1)) SWIG_fail
;
10593 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10594 if (SWIG_arg_fail(2)) SWIG_fail
;
10597 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10598 if (SWIG_arg_fail(3)) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 (arg1
)->Remove(arg2
,arg3
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 Py_INCREF(Py_None
); resultobj
= Py_None
;
10614 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= NULL
;
10616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10617 wxString
*arg2
= 0 ;
10619 bool temp2
= false ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "file", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10628 if (SWIG_arg_fail(1)) SWIG_fail
;
10630 arg2
= wxString_in_helper(obj1
);
10631 if (arg2
== NULL
) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= NULL
;
10660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10661 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10662 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10664 bool temp2
= false ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "file", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 arg2
= wxString_in_helper(obj1
);
10677 if (arg2
== NULL
) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10705 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= NULL
;
10707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(1)) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->MarkDirty();
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10730 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
= NULL
;
10732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10740 if (SWIG_arg_fail(1)) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->DiscardEdits();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10755 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
= NULL
;
10757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10758 unsigned long arg2
;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "len", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10767 if (SWIG_arg_fail(1)) SWIG_fail
;
10769 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10770 if (SWIG_arg_fail(2)) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetMaxLength(arg2
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= NULL
;
10788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10789 wxString
*arg2
= 0 ;
10790 bool temp2
= false ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "text", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10799 if (SWIG_arg_fail(1)) SWIG_fail
;
10801 arg2
= wxString_in_helper(obj1
);
10802 if (arg2
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->WriteText((wxString
const &)*arg2
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= NULL
;
10829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10830 wxString
*arg2
= 0 ;
10831 bool temp2
= false ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "text", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10840 if (SWIG_arg_fail(1)) SWIG_fail
;
10842 arg2
= wxString_in_helper(obj1
);
10843 if (arg2
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 (arg1
)->AppendText((wxString
const &)*arg2
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= NULL
;
10870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10871 wxKeyEvent
*arg2
= 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "event", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail
;
10883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10884 if (SWIG_arg_fail(2)) SWIG_fail
;
10885 if (arg2
== NULL
) {
10886 SWIG_null_ref("wxKeyEvent");
10888 if (SWIG_arg_fail(2)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10906 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= NULL
;
10908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10911 wxTextAttr
*arg4
= 0 ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 PyObject
* obj2
= 0 ;
10916 PyObject
* obj3
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail
;
10925 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10926 if (SWIG_arg_fail(2)) SWIG_fail
;
10929 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10930 if (SWIG_arg_fail(3)) SWIG_fail
;
10933 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10934 if (SWIG_arg_fail(4)) SWIG_fail
;
10935 if (arg4
== NULL
) {
10936 SWIG_null_ref("wxTextAttr");
10938 if (SWIG_arg_fail(4)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10956 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
= NULL
;
10958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10960 wxTextAttr
*arg3
= 0 ;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "position",(char *) "style", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10973 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10974 if (SWIG_arg_fail(2)) SWIG_fail
;
10977 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(3)) SWIG_fail
;
10979 if (arg3
== NULL
) {
10980 SWIG_null_ref("wxTextAttr");
10982 if (SWIG_arg_fail(3)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
= NULL
;
11002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11003 wxTextAttr
*arg2
= 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "style", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11017 if (arg2
== NULL
) {
11018 SWIG_null_ref("wxTextAttr");
11020 if (SWIG_arg_fail(2)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= NULL
;
11040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11041 wxTextAttr
*result
;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
11054 result
= (wxTextAttr
*) &_result_ref
;
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11067 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= NULL
;
11069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 PyObject
* obj2
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "x",(char *) "y", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail
;
11084 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11085 if (SWIG_arg_fail(2)) SWIG_fail
;
11088 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11089 if (SWIG_arg_fail(3)) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_From_long(static_cast<long >(result
));
11107 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= NULL
;
11109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11111 long *arg3
= (long *) 0 ;
11112 long *arg4
= (long *) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "pos", NULL
11123 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11124 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail
;
11129 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11130 if (SWIG_arg_fail(2)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11140 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11141 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11142 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11143 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11150 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
= NULL
;
11152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "pos", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11162 if (SWIG_arg_fail(1)) SWIG_fail
;
11164 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11165 if (SWIG_arg_fail(2)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->ShowPosition(arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
= NULL
;
11183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11184 wxPoint
*arg2
= 0 ;
11185 long *arg3
= (long *) 0 ;
11186 long *arg4
= (long *) 0 ;
11187 wxTextCtrlHitTestResult result
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "pt", NULL
11199 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11200 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_From_int((result
));
11216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11217 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11218 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11219 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11226 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= NULL
;
11228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11229 wxPoint
*arg2
= 0 ;
11230 long *arg3
= (long *) 0 ;
11231 wxTextCtrlHitTestResult result
;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "pt", NULL
11241 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11244 if (SWIG_arg_fail(1)) SWIG_fail
;
11247 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_From_int((result
));
11257 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11258 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11265 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
= NULL
;
11267 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11275 if (SWIG_arg_fail(1)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= NULL
;
11292 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 Py_INCREF(Py_None
); resultobj
= Py_None
;
11315 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= NULL
;
11317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11325 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= NULL
;
11342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11351 if (SWIG_arg_fail(1)) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11368 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= NULL
;
11370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11379 if (SWIG_arg_fail(1)) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11396 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= NULL
;
11398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11407 if (SWIG_arg_fail(1)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= NULL
;
11426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= NULL
;
11451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 Py_INCREF(Py_None
); resultobj
= Py_None
;
11474 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= NULL
;
11476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11502 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
= NULL
;
11504 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= NULL
;
11532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "pos", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail
;
11544 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11545 if (SWIG_arg_fail(2)) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 (arg1
)->SetInsertionPoint(arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 Py_INCREF(Py_None
); resultobj
= Py_None
;
11561 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= NULL
;
11563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->SetInsertionPointEnd();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11586 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
= NULL
;
11588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11597 if (SWIG_arg_fail(1)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_From_long(static_cast<long >(result
));
11614 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= NULL
;
11616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_From_long(static_cast<long >(result
));
11642 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
= NULL
;
11644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11647 PyObject
* obj0
= 0 ;
11648 PyObject
* obj1
= 0 ;
11649 PyObject
* obj2
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "from",(char *) "to", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11659 if (SWIG_arg_fail(2)) SWIG_fail
;
11662 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11663 if (SWIG_arg_fail(3)) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->SetSelection(arg2
,arg3
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
= NULL
;
11681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->SelectAll();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
= NULL
;
11706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "editable", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11716 if (SWIG_arg_fail(1)) SWIG_fail
;
11718 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11719 if (SWIG_arg_fail(2)) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 (arg1
)->SetEditable(arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 Py_INCREF(Py_None
); resultobj
= Py_None
;
11735 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
= NULL
;
11737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11738 wxString
*arg2
= 0 ;
11739 bool temp2
= false ;
11740 PyObject
* obj0
= 0 ;
11741 PyObject
* obj1
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self",(char *) "text", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 arg2
= wxString_in_helper(obj1
);
11751 if (arg2
== NULL
) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 Py_INCREF(Py_None
); resultobj
= Py_None
;
11776 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
= NULL
;
11778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self",(char *) "from",(char *) "to", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11791 if (SWIG_arg_fail(1)) SWIG_fail
;
11793 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11794 if (SWIG_arg_fail(2)) SWIG_fail
;
11797 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11798 if (SWIG_arg_fail(3)) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11820 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
= NULL
;
11822 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11823 wxVisualAttributes result
;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "variant", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11832 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11833 if (SWIG_arg_fail(1)) SWIG_fail
;
11837 if (!wxPyCheckForApp()) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 wxVisualAttributes
* resultptr
;
11846 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11855 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11858 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11860 return Py_BuildValue((char *)"");
11862 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
= NULL
;
11865 wxMouseEvent
*arg2
= 0 ;
11868 wxTextUrlEvent
*result
;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 PyObject
* obj3
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11879 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11880 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(2)) SWIG_fail
;
11885 if (arg2
== NULL
) {
11886 SWIG_null_ref("wxMouseEvent");
11888 if (SWIG_arg_fail(2)) SWIG_fail
;
11891 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11892 if (SWIG_arg_fail(3)) SWIG_fail
;
11895 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11896 if (SWIG_arg_fail(4)) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11912 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
= NULL
;
11914 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11915 wxMouseEvent
*result
;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11923 if (SWIG_arg_fail(1)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11928 result
= (wxMouseEvent
*) &_result_ref
;
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11941 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
= NULL
;
11943 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_From_long(static_cast<long >(result
));
11969 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
= NULL
;
11971 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11980 if (SWIG_arg_fail(1)) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_From_long(static_cast<long >(result
));
11997 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12000 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
12002 return Py_BuildValue((char *)"");
12004 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
12005 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
12010 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
12011 PyObject
*pyobj
= NULL
;
12015 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12017 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12024 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
= NULL
;
12026 wxWindow
*arg1
= (wxWindow
*) 0 ;
12027 int arg2
= (int) -1 ;
12028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12032 long arg5
= (long) wxSB_HORIZONTAL
;
12033 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
12034 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
12035 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
12036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12037 wxScrollBar
*result
;
12040 bool temp7
= false ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 PyObject
* obj2
= 0 ;
12044 PyObject
* obj3
= 0 ;
12045 PyObject
* obj4
= 0 ;
12046 PyObject
* obj5
= 0 ;
12047 PyObject
* obj6
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12057 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12058 if (SWIG_arg_fail(2)) SWIG_fail
;
12064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12075 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12076 if (SWIG_arg_fail(5)) SWIG_fail
;
12081 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(6)) SWIG_fail
;
12083 if (arg6
== NULL
) {
12084 SWIG_null_ref("wxValidator");
12086 if (SWIG_arg_fail(6)) SWIG_fail
;
12091 arg7
= wxString_in_helper(obj6
);
12092 if (arg7
== NULL
) SWIG_fail
;
12097 if (!wxPyCheckForApp()) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12119 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
= NULL
;
12121 wxScrollBar
*result
;
12122 char *kwnames
[] = {
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12128 if (!wxPyCheckForApp()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (wxScrollBar
*)new wxScrollBar();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12142 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
= NULL
;
12144 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12145 wxWindow
*arg2
= (wxWindow
*) 0 ;
12146 int arg3
= (int) -1 ;
12147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12151 long arg6
= (long) wxSB_HORIZONTAL
;
12152 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12153 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12154 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12159 bool temp8
= false ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 PyObject
* obj4
= 0 ;
12165 PyObject
* obj5
= 0 ;
12166 PyObject
* obj6
= 0 ;
12167 PyObject
* obj7
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12180 if (SWIG_arg_fail(3)) SWIG_fail
;
12186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12197 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12198 if (SWIG_arg_fail(6)) SWIG_fail
;
12203 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(7)) SWIG_fail
;
12205 if (arg7
== NULL
) {
12206 SWIG_null_ref("wxValidator");
12208 if (SWIG_arg_fail(7)) SWIG_fail
;
12213 arg8
= wxString_in_helper(obj7
);
12214 if (arg8
== NULL
) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12242 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
= NULL
;
12244 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_From_int(static_cast<int >(result
));
12270 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= NULL
;
12272 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_From_int(static_cast<int >(result
));
12298 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
= NULL
;
12300 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int(static_cast<int >(result
));
12326 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
= NULL
;
12328 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12337 if (SWIG_arg_fail(1)) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_From_int(static_cast<int >(result
));
12354 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
= NULL
;
12356 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12382 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
= NULL
;
12384 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "viewStart", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12394 if (SWIG_arg_fail(1)) SWIG_fail
;
12396 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12397 if (SWIG_arg_fail(2)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetThumbPosition(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12413 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= NULL
;
12415 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12420 bool arg6
= (bool) true ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 PyObject
* obj2
= 0 ;
12424 PyObject
* obj3
= 0 ;
12425 PyObject
* obj4
= 0 ;
12426 PyObject
* obj5
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12436 if (SWIG_arg_fail(2)) SWIG_fail
;
12439 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12440 if (SWIG_arg_fail(3)) SWIG_fail
;
12443 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12444 if (SWIG_arg_fail(4)) SWIG_fail
;
12447 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12448 if (SWIG_arg_fail(5)) SWIG_fail
;
12452 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12453 if (SWIG_arg_fail(6)) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= NULL
;
12472 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12473 wxVisualAttributes result
;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "variant", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12482 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12483 if (SWIG_arg_fail(1)) SWIG_fail
;
12487 if (!wxPyCheckForApp()) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12495 wxVisualAttributes
* resultptr
;
12496 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12505 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12508 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12510 return Py_BuildValue((char *)"");
12512 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12513 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12518 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12519 PyObject
*pyobj
= NULL
;
12523 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12525 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12532 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12533 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12538 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12539 PyObject
*pyobj
= NULL
;
12543 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12545 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12552 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= NULL
;
12554 wxWindow
*arg1
= (wxWindow
*) 0 ;
12555 int arg2
= (int) -1 ;
12556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12560 long arg5
= (long) wxSP_HORIZONTAL
;
12561 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12563 wxSpinButton
*result
;
12566 bool temp6
= false ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 PyObject
* obj2
= 0 ;
12570 PyObject
* obj3
= 0 ;
12571 PyObject
* obj4
= 0 ;
12572 PyObject
* obj5
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail
;
12582 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12583 if (SWIG_arg_fail(2)) SWIG_fail
;
12589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12595 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12600 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12601 if (SWIG_arg_fail(5)) SWIG_fail
;
12606 arg6
= wxString_in_helper(obj5
);
12607 if (arg6
== NULL
) SWIG_fail
;
12612 if (!wxPyCheckForApp()) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12634 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= NULL
;
12636 wxSpinButton
*result
;
12637 char *kwnames
[] = {
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12643 if (!wxPyCheckForApp()) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= (wxSpinButton
*)new wxSpinButton();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12657 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
= NULL
;
12659 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12660 wxWindow
*arg2
= (wxWindow
*) 0 ;
12661 int arg3
= (int) -1 ;
12662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12666 long arg6
= (long) wxSP_HORIZONTAL
;
12667 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12672 bool temp7
= false ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 PyObject
* obj2
= 0 ;
12676 PyObject
* obj3
= 0 ;
12677 PyObject
* obj4
= 0 ;
12678 PyObject
* obj5
= 0 ;
12679 PyObject
* obj6
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12686 if (SWIG_arg_fail(1)) SWIG_fail
;
12687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12688 if (SWIG_arg_fail(2)) SWIG_fail
;
12691 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12692 if (SWIG_arg_fail(3)) SWIG_fail
;
12698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12709 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12710 if (SWIG_arg_fail(6)) SWIG_fail
;
12715 arg7
= wxString_in_helper(obj6
);
12716 if (arg7
== NULL
) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12744 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
= NULL
;
12746 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= SWIG_From_int(static_cast<int >(result
));
12772 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
= NULL
;
12774 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12783 if (SWIG_arg_fail(1)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= SWIG_From_int(static_cast<int >(result
));
12800 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
= NULL
;
12802 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12811 if (SWIG_arg_fail(1)) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_From_int(static_cast<int >(result
));
12828 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= NULL
;
12830 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "val", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12843 if (SWIG_arg_fail(2)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetValue(arg2
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= NULL
;
12861 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "minVal", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail
;
12873 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12874 if (SWIG_arg_fail(2)) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 (arg1
)->SetMin(arg2
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 Py_INCREF(Py_None
); resultobj
= Py_None
;
12890 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
= NULL
;
12892 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "maxVal", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12905 if (SWIG_arg_fail(2)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->SetMax(arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
= NULL
;
12923 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12937 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12938 if (SWIG_arg_fail(2)) SWIG_fail
;
12941 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12942 if (SWIG_arg_fail(3)) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetRange(arg2
,arg3
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= NULL
;
12960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12986 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= NULL
;
12988 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12989 wxVisualAttributes result
;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "variant", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12998 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12999 if (SWIG_arg_fail(1)) SWIG_fail
;
13003 if (!wxPyCheckForApp()) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 wxVisualAttributes
* resultptr
;
13012 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13021 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
13023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13024 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
13026 return Py_BuildValue((char *)"");
13028 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
= NULL
;
13030 wxWindow
*arg1
= (wxWindow
*) 0 ;
13031 int arg2
= (int) -1 ;
13032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13038 long arg6
= (long) wxSP_ARROW_KEYS
;
13039 int arg7
= (int) 0 ;
13040 int arg8
= (int) 100 ;
13041 int arg9
= (int) 0 ;
13042 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
13043 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13044 wxSpinCtrl
*result
;
13045 bool temp3
= false ;
13048 bool temp10
= false ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 PyObject
* obj2
= 0 ;
13052 PyObject
* obj3
= 0 ;
13053 PyObject
* obj4
= 0 ;
13054 PyObject
* obj5
= 0 ;
13055 PyObject
* obj6
= 0 ;
13056 PyObject
* obj7
= 0 ;
13057 PyObject
* obj8
= 0 ;
13058 PyObject
* obj9
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13069 if (SWIG_arg_fail(2)) SWIG_fail
;
13074 arg3
= wxString_in_helper(obj2
);
13075 if (arg3
== NULL
) SWIG_fail
;
13082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13093 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13094 if (SWIG_arg_fail(6)) SWIG_fail
;
13099 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13100 if (SWIG_arg_fail(7)) SWIG_fail
;
13105 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13106 if (SWIG_arg_fail(8)) SWIG_fail
;
13111 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13112 if (SWIG_arg_fail(9)) SWIG_fail
;
13117 arg10
= wxString_in_helper(obj9
);
13118 if (arg10
== NULL
) SWIG_fail
;
13123 if (!wxPyCheckForApp()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13153 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
= NULL
;
13155 wxSpinCtrl
*result
;
13156 char *kwnames
[] = {
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13162 if (!wxPyCheckForApp()) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13176 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
= NULL
;
13178 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13179 wxWindow
*arg2
= (wxWindow
*) 0 ;
13180 int arg3
= (int) -1 ;
13181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13187 long arg7
= (long) wxSP_ARROW_KEYS
;
13188 int arg8
= (int) 0 ;
13189 int arg9
= (int) 100 ;
13190 int arg10
= (int) 0 ;
13191 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13192 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13194 bool temp4
= false ;
13197 bool temp11
= false ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 PyObject
* obj3
= 0 ;
13202 PyObject
* obj4
= 0 ;
13203 PyObject
* obj5
= 0 ;
13204 PyObject
* obj6
= 0 ;
13205 PyObject
* obj7
= 0 ;
13206 PyObject
* obj8
= 0 ;
13207 PyObject
* obj9
= 0 ;
13208 PyObject
* obj10
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(2)) SWIG_fail
;
13220 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13221 if (SWIG_arg_fail(3)) SWIG_fail
;
13226 arg4
= wxString_in_helper(obj3
);
13227 if (arg4
== NULL
) SWIG_fail
;
13234 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13240 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13245 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13246 if (SWIG_arg_fail(7)) SWIG_fail
;
13251 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13252 if (SWIG_arg_fail(8)) SWIG_fail
;
13257 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13258 if (SWIG_arg_fail(9)) SWIG_fail
;
13263 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13264 if (SWIG_arg_fail(10)) SWIG_fail
;
13269 arg11
= wxString_in_helper(obj10
);
13270 if (arg11
== NULL
) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= NULL
;
13308 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_From_int(static_cast<int >(result
));
13334 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= NULL
;
13336 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "value", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail
;
13348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13349 if (SWIG_arg_fail(2)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->SetValue(arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 Py_INCREF(Py_None
); resultobj
= Py_None
;
13365 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
= NULL
;
13367 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13368 wxString
*arg2
= 0 ;
13369 bool temp2
= false ;
13370 PyObject
* obj0
= 0 ;
13371 PyObject
* obj1
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self",(char *) "text", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13378 if (SWIG_arg_fail(1)) SWIG_fail
;
13380 arg2
= wxString_in_helper(obj1
);
13381 if (arg2
== NULL
) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->SetValue((wxString
const &)*arg2
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
= NULL
;
13408 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13422 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13423 if (SWIG_arg_fail(2)) SWIG_fail
;
13426 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13427 if (SWIG_arg_fail(3)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->SetRange(arg2
,arg3
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13443 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= NULL
;
13445 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_int(static_cast<int >(result
));
13471 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= NULL
;
13473 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_From_int(static_cast<int >(result
));
13499 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= NULL
;
13501 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 PyObject
* obj2
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "from",(char *) "to", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13513 if (SWIG_arg_fail(1)) SWIG_fail
;
13515 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13516 if (SWIG_arg_fail(2)) SWIG_fail
;
13519 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13520 if (SWIG_arg_fail(3)) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->SetSelection(arg2
,arg3
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13536 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= NULL
;
13538 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13539 wxVisualAttributes result
;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "variant", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13548 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13549 if (SWIG_arg_fail(1)) SWIG_fail
;
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 wxVisualAttributes
* resultptr
;
13562 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13571 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13574 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13576 return Py_BuildValue((char *)"");
13578 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
= NULL
;
13580 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13581 int arg2
= (int) 0 ;
13582 wxSpinEvent
*result
;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "commandType",(char *) "winid", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13592 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13593 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13599 if (SWIG_arg_fail(2)) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13616 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
= NULL
;
13618 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13627 if (SWIG_arg_fail(1)) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_From_int(static_cast<int >(result
));
13644 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= NULL
;
13646 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "pos", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13656 if (SWIG_arg_fail(1)) SWIG_fail
;
13658 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13659 if (SWIG_arg_fail(2)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->SetPosition(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13680 return Py_BuildValue((char *)"");
13682 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13683 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13688 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13689 PyObject
*pyobj
= NULL
;
13693 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13695 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13702 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13703 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13708 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13709 PyObject
*pyobj
= NULL
;
13713 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13715 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13722 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= NULL
;
13724 wxWindow
*arg1
= (wxWindow
*) 0 ;
13725 int arg2
= (int) -1 ;
13726 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13727 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13732 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13733 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13734 int arg7
= (int) 0 ;
13735 long arg8
= (long) wxRA_HORIZONTAL
;
13736 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13737 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13738 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13739 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13740 wxRadioBox
*result
;
13741 bool temp3
= false ;
13744 bool temp6
= false ;
13745 bool temp10
= false ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 PyObject
* obj2
= 0 ;
13749 PyObject
* obj3
= 0 ;
13750 PyObject
* obj4
= 0 ;
13751 PyObject
* obj5
= 0 ;
13752 PyObject
* obj6
= 0 ;
13753 PyObject
* obj7
= 0 ;
13754 PyObject
* obj8
= 0 ;
13755 PyObject
* obj9
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail
;
13765 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13766 if (SWIG_arg_fail(2)) SWIG_fail
;
13771 arg3
= wxString_in_helper(obj2
);
13772 if (arg3
== NULL
) SWIG_fail
;
13779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13790 if (! PySequence_Check(obj5
)) {
13791 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13794 arg6
= new wxArrayString
;
13796 int i
, len
=PySequence_Length(obj5
);
13797 for (i
=0; i
<len
; i
++) {
13798 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13799 wxString
* s
= wxString_in_helper(item
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13809 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13810 if (SWIG_arg_fail(7)) SWIG_fail
;
13815 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13816 if (SWIG_arg_fail(8)) SWIG_fail
;
13821 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13822 if (SWIG_arg_fail(9)) SWIG_fail
;
13823 if (arg9
== NULL
) {
13824 SWIG_null_ref("wxValidator");
13826 if (SWIG_arg_fail(9)) SWIG_fail
;
13831 arg10
= wxString_in_helper(obj9
);
13832 if (arg10
== NULL
) SWIG_fail
;
13837 if (!wxPyCheckForApp()) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 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
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13850 if (temp6
) delete arg6
;
13863 if (temp6
) delete arg6
;
13873 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= NULL
;
13875 wxRadioBox
*result
;
13876 char *kwnames
[] = {
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13882 if (!wxPyCheckForApp()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (wxRadioBox
*)new wxRadioBox();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13896 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= NULL
;
13898 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13899 wxWindow
*arg2
= (wxWindow
*) 0 ;
13900 int arg3
= (int) -1 ;
13901 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13902 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13903 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13904 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13905 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13906 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13907 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13908 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13909 int arg8
= (int) 0 ;
13910 long arg9
= (long) wxRA_HORIZONTAL
;
13911 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13912 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13913 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13914 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13916 bool temp4
= false ;
13919 bool temp7
= false ;
13920 bool temp11
= false ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 PyObject
* obj2
= 0 ;
13924 PyObject
* obj3
= 0 ;
13925 PyObject
* obj4
= 0 ;
13926 PyObject
* obj5
= 0 ;
13927 PyObject
* obj6
= 0 ;
13928 PyObject
* obj7
= 0 ;
13929 PyObject
* obj8
= 0 ;
13930 PyObject
* obj9
= 0 ;
13931 PyObject
* obj10
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13938 if (SWIG_arg_fail(1)) SWIG_fail
;
13939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13940 if (SWIG_arg_fail(2)) SWIG_fail
;
13943 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13944 if (SWIG_arg_fail(3)) SWIG_fail
;
13949 arg4
= wxString_in_helper(obj3
);
13950 if (arg4
== NULL
) SWIG_fail
;
13957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13968 if (! PySequence_Check(obj6
)) {
13969 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13972 arg7
= new wxArrayString
;
13974 int i
, len
=PySequence_Length(obj6
);
13975 for (i
=0; i
<len
; i
++) {
13976 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13977 wxString
* s
= wxString_in_helper(item
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13987 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13988 if (SWIG_arg_fail(8)) SWIG_fail
;
13993 arg9
= static_cast<long >(SWIG_As_long(obj8
));
13994 if (SWIG_arg_fail(9)) SWIG_fail
;
13999 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14000 if (SWIG_arg_fail(10)) SWIG_fail
;
14001 if (arg10
== NULL
) {
14002 SWIG_null_ref("wxValidator");
14004 if (SWIG_arg_fail(10)) SWIG_fail
;
14009 arg11
= wxString_in_helper(obj10
);
14010 if (arg11
== NULL
) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 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
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14029 if (temp7
) delete arg7
;
14042 if (temp7
) delete arg7
;
14052 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
= NULL
;
14054 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "n", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14067 if (SWIG_arg_fail(2)) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->SetSelection(arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
= NULL
;
14085 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14094 if (SWIG_arg_fail(1)) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_From_int(static_cast<int >(result
));
14111 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= NULL
;
14113 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14143 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= NULL
;
14145 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14146 wxString
*arg2
= 0 ;
14148 bool temp2
= false ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "s", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail
;
14159 arg2
= wxString_in_helper(obj1
);
14160 if (arg2
== NULL
) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14187 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
= NULL
;
14189 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14198 if (SWIG_arg_fail(1)) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= SWIG_From_int(static_cast<int >(result
));
14215 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= NULL
;
14217 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14218 wxString
*arg2
= 0 ;
14220 bool temp2
= false ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "s", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 arg2
= wxString_in_helper(obj1
);
14232 if (arg2
== NULL
) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_int(static_cast<int >(result
));
14259 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
= NULL
;
14261 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "n", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail
;
14274 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14275 if (SWIG_arg_fail(2)) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14297 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= NULL
;
14299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14301 wxString
*arg3
= 0 ;
14302 bool temp3
= false ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self",(char *) "n",(char *) "label", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14312 if (SWIG_arg_fail(1)) SWIG_fail
;
14314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14315 if (SWIG_arg_fail(2)) SWIG_fail
;
14318 arg3
= wxString_in_helper(obj2
);
14319 if (arg3
== NULL
) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14344 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= NULL
;
14346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14348 bool arg3
= (bool) true ;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 PyObject
* obj2
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "n",(char *) "enable", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14361 if (SWIG_arg_fail(2)) SWIG_fail
;
14365 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14366 if (SWIG_arg_fail(3)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->Enable(arg2
,arg3
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= NULL
;
14385 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14387 bool arg3
= (bool) true ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "n",(char *) "show", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail
;
14399 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14400 if (SWIG_arg_fail(2)) SWIG_fail
;
14404 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14405 if (SWIG_arg_fail(3)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 (arg1
)->Show(arg2
,arg3
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 Py_INCREF(Py_None
); resultobj
= Py_None
;
14422 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
= NULL
;
14424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14433 if (SWIG_arg_fail(1)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_From_int(static_cast<int >(result
));
14450 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= NULL
;
14452 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= SWIG_From_int(static_cast<int >(result
));
14478 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
= NULL
;
14480 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 PyObject
* obj2
= 0 ;
14488 PyObject
* obj3
= 0 ;
14489 char *kwnames
[] = {
14490 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14495 if (SWIG_arg_fail(1)) SWIG_fail
;
14497 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14498 if (SWIG_arg_fail(2)) SWIG_fail
;
14501 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14502 if (SWIG_arg_fail(3)) SWIG_fail
;
14505 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14506 if (SWIG_arg_fail(4)) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_From_int(static_cast<int >(result
));
14524 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= NULL
;
14526 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14527 wxVisualAttributes result
;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "variant", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14536 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14541 if (!wxPyCheckForApp()) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 wxVisualAttributes
* resultptr
;
14550 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14559 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14562 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14564 return Py_BuildValue((char *)"");
14566 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= NULL
;
14568 wxWindow
*arg1
= (wxWindow
*) 0 ;
14569 int arg2
= (int) -1 ;
14570 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14571 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14572 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14573 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14574 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14575 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14576 long arg6
= (long) 0 ;
14577 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14578 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14579 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14581 wxRadioButton
*result
;
14582 bool temp3
= false ;
14585 bool temp8
= false ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 PyObject
* obj3
= 0 ;
14590 PyObject
* obj4
= 0 ;
14591 PyObject
* obj5
= 0 ;
14592 PyObject
* obj6
= 0 ;
14593 PyObject
* obj7
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14600 if (SWIG_arg_fail(1)) SWIG_fail
;
14603 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14604 if (SWIG_arg_fail(2)) SWIG_fail
;
14609 arg3
= wxString_in_helper(obj2
);
14610 if (arg3
== NULL
) SWIG_fail
;
14617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14628 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14629 if (SWIG_arg_fail(6)) SWIG_fail
;
14634 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(7)) SWIG_fail
;
14636 if (arg7
== NULL
) {
14637 SWIG_null_ref("wxValidator");
14639 if (SWIG_arg_fail(7)) SWIG_fail
;
14644 arg8
= wxString_in_helper(obj7
);
14645 if (arg8
== NULL
) SWIG_fail
;
14650 if (!wxPyCheckForApp()) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14680 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
= NULL
;
14682 wxRadioButton
*result
;
14683 char *kwnames
[] = {
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14689 if (!wxPyCheckForApp()) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (wxRadioButton
*)new wxRadioButton();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14703 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
= NULL
;
14705 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14706 wxWindow
*arg2
= (wxWindow
*) 0 ;
14707 int arg3
= (int) -1 ;
14708 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14710 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14711 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14712 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14713 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14714 long arg7
= (long) 0 ;
14715 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14716 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14717 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14718 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14720 bool temp4
= false ;
14723 bool temp9
= false ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 PyObject
* obj2
= 0 ;
14727 PyObject
* obj3
= 0 ;
14728 PyObject
* obj4
= 0 ;
14729 PyObject
* obj5
= 0 ;
14730 PyObject
* obj6
= 0 ;
14731 PyObject
* obj7
= 0 ;
14732 PyObject
* obj8
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail
;
14740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(2)) SWIG_fail
;
14744 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14745 if (SWIG_arg_fail(3)) SWIG_fail
;
14750 arg4
= wxString_in_helper(obj3
);
14751 if (arg4
== NULL
) SWIG_fail
;
14758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14764 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14769 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14770 if (SWIG_arg_fail(7)) SWIG_fail
;
14775 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(8)) SWIG_fail
;
14777 if (arg8
== NULL
) {
14778 SWIG_null_ref("wxValidator");
14780 if (SWIG_arg_fail(8)) SWIG_fail
;
14785 arg9
= wxString_in_helper(obj8
);
14786 if (arg9
== NULL
) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= NULL
;
14824 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)(arg1
)->GetValue();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= NULL
;
14852 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "value", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14862 if (SWIG_arg_fail(1)) SWIG_fail
;
14864 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14865 if (SWIG_arg_fail(2)) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetValue(arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= NULL
;
14883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14884 wxVisualAttributes result
;
14885 PyObject
* obj0
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "variant", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14893 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14894 if (SWIG_arg_fail(1)) SWIG_fail
;
14898 if (!wxPyCheckForApp()) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 wxVisualAttributes
* resultptr
;
14907 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14916 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14919 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14921 return Py_BuildValue((char *)"");
14923 static int _wrap_SliderNameStr_set(PyObject
*) {
14924 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14929 static PyObject
*_wrap_SliderNameStr_get(void) {
14930 PyObject
*pyobj
= NULL
;
14934 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14936 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14943 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= NULL
;
14945 wxWindow
*arg1
= (wxWindow
*) 0 ;
14946 int arg2
= (int) -1 ;
14947 int arg3
= (int) 0 ;
14948 int arg4
= (int) 0 ;
14949 int arg5
= (int) 100 ;
14950 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14951 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14952 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14953 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14954 long arg8
= (long) wxSL_HORIZONTAL
;
14955 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14956 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14957 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14958 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14962 bool temp10
= false ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 PyObject
* obj3
= 0 ;
14967 PyObject
* obj4
= 0 ;
14968 PyObject
* obj5
= 0 ;
14969 PyObject
* obj6
= 0 ;
14970 PyObject
* obj7
= 0 ;
14971 PyObject
* obj8
= 0 ;
14972 PyObject
* obj9
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14979 if (SWIG_arg_fail(1)) SWIG_fail
;
14982 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14983 if (SWIG_arg_fail(2)) SWIG_fail
;
14988 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14989 if (SWIG_arg_fail(3)) SWIG_fail
;
14994 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14995 if (SWIG_arg_fail(4)) SWIG_fail
;
15000 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15001 if (SWIG_arg_fail(5)) SWIG_fail
;
15007 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15013 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
15018 arg8
= static_cast<long >(SWIG_As_long(obj7
));
15019 if (SWIG_arg_fail(8)) SWIG_fail
;
15024 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15025 if (SWIG_arg_fail(9)) SWIG_fail
;
15026 if (arg9
== NULL
) {
15027 SWIG_null_ref("wxValidator");
15029 if (SWIG_arg_fail(9)) SWIG_fail
;
15034 arg10
= wxString_in_helper(obj9
);
15035 if (arg10
== NULL
) SWIG_fail
;
15040 if (!wxPyCheckForApp()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15062 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
= NULL
;
15065 char *kwnames
[] = {
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15071 if (!wxPyCheckForApp()) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (wxSlider
*)new wxSlider();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15085 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
= NULL
;
15087 wxSlider
*arg1
= (wxSlider
*) 0 ;
15088 wxWindow
*arg2
= (wxWindow
*) 0 ;
15089 int arg3
= (int) -1 ;
15090 int arg4
= (int) 0 ;
15091 int arg5
= (int) 0 ;
15092 int arg6
= (int) 100 ;
15093 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15094 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15095 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15096 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15097 long arg9
= (long) wxSL_HORIZONTAL
;
15098 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15099 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15100 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15101 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15105 bool temp11
= false ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 PyObject
* obj3
= 0 ;
15110 PyObject
* obj4
= 0 ;
15111 PyObject
* obj5
= 0 ;
15112 PyObject
* obj6
= 0 ;
15113 PyObject
* obj7
= 0 ;
15114 PyObject
* obj8
= 0 ;
15115 PyObject
* obj9
= 0 ;
15116 PyObject
* obj10
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(2)) SWIG_fail
;
15128 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15129 if (SWIG_arg_fail(3)) SWIG_fail
;
15134 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15135 if (SWIG_arg_fail(4)) SWIG_fail
;
15140 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15141 if (SWIG_arg_fail(5)) SWIG_fail
;
15146 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15147 if (SWIG_arg_fail(6)) SWIG_fail
;
15153 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15159 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15164 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15165 if (SWIG_arg_fail(9)) SWIG_fail
;
15170 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(10)) SWIG_fail
;
15172 if (arg10
== NULL
) {
15173 SWIG_null_ref("wxValidator");
15175 if (SWIG_arg_fail(10)) SWIG_fail
;
15180 arg11
= wxString_in_helper(obj10
);
15181 if (arg11
== NULL
) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15209 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= NULL
;
15211 wxSlider
*arg1
= (wxSlider
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_From_int(static_cast<int >(result
));
15237 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
= NULL
;
15239 wxSlider
*arg1
= (wxSlider
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "value", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15252 if (SWIG_arg_fail(2)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 (arg1
)->SetValue(arg2
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15268 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
= NULL
;
15270 wxSlider
*arg1
= (wxSlider
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 PyObject
* obj2
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15285 if (SWIG_arg_fail(2)) SWIG_fail
;
15288 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15289 if (SWIG_arg_fail(3)) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->SetRange(arg2
,arg3
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= NULL
;
15307 wxSlider
*arg1
= (wxSlider
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_int(static_cast<int >(result
));
15333 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= NULL
;
15335 wxSlider
*arg1
= (wxSlider
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_From_int(static_cast<int >(result
));
15361 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
= NULL
;
15363 wxSlider
*arg1
= (wxSlider
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "minValue", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail
;
15375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15376 if (SWIG_arg_fail(2)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetMin(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= NULL
;
15394 wxSlider
*arg1
= (wxSlider
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self",(char *) "maxValue", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15404 if (SWIG_arg_fail(1)) SWIG_fail
;
15406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15407 if (SWIG_arg_fail(2)) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 (arg1
)->SetMax(arg2
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 Py_INCREF(Py_None
); resultobj
= Py_None
;
15423 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
= NULL
;
15425 wxSlider
*arg1
= (wxSlider
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "lineSize", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail
;
15437 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15438 if (SWIG_arg_fail(2)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 (arg1
)->SetLineSize(arg2
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= NULL
;
15456 wxSlider
*arg1
= (wxSlider
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "pageSize", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15468 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15469 if (SWIG_arg_fail(2)) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetPageSize(arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
= NULL
;
15487 wxSlider
*arg1
= (wxSlider
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15496 if (SWIG_arg_fail(1)) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_From_int(static_cast<int >(result
));
15513 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
= NULL
;
15515 wxSlider
*arg1
= (wxSlider
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_From_int(static_cast<int >(result
));
15541 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= NULL
;
15543 wxSlider
*arg1
= (wxSlider
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "lenPixels", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15556 if (SWIG_arg_fail(2)) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->SetThumbLength(arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
= NULL
;
15574 wxSlider
*arg1
= (wxSlider
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_From_int(static_cast<int >(result
));
15600 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= NULL
;
15602 wxSlider
*arg1
= (wxSlider
*) 0 ;
15604 int arg3
= (int) 1 ;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 PyObject
* obj2
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "n",(char *) "pos", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail
;
15616 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15617 if (SWIG_arg_fail(2)) SWIG_fail
;
15621 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15622 if (SWIG_arg_fail(3)) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->SetTickFreq(arg2
,arg3
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
= NULL
;
15641 wxSlider
*arg1
= (wxSlider
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15650 if (SWIG_arg_fail(1)) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_From_int(static_cast<int >(result
));
15667 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= NULL
;
15669 wxSlider
*arg1
= (wxSlider
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 (arg1
)->ClearTicks();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= NULL
;
15694 wxSlider
*arg1
= (wxSlider
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self",(char *) "tickPos", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail
;
15706 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15707 if (SWIG_arg_fail(2)) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 (arg1
)->SetTick(arg2
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 Py_INCREF(Py_None
); resultobj
= Py_None
;
15723 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
= NULL
;
15725 wxSlider
*arg1
= (wxSlider
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15733 if (SWIG_arg_fail(1)) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->ClearSel();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
= NULL
;
15750 wxSlider
*arg1
= (wxSlider
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15759 if (SWIG_arg_fail(1)) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_From_int(static_cast<int >(result
));
15776 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
= NULL
;
15778 wxSlider
*arg1
= (wxSlider
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15787 if (SWIG_arg_fail(1)) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_From_int(static_cast<int >(result
));
15804 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= NULL
;
15806 wxSlider
*arg1
= (wxSlider
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 PyObject
* obj2
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "min",(char *) "max", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15818 if (SWIG_arg_fail(1)) SWIG_fail
;
15820 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15821 if (SWIG_arg_fail(2)) SWIG_fail
;
15824 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15825 if (SWIG_arg_fail(3)) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 (arg1
)->SetSelection(arg2
,arg3
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 Py_INCREF(Py_None
); resultobj
= Py_None
;
15841 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
= NULL
;
15843 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15844 wxVisualAttributes result
;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "variant", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15853 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15854 if (SWIG_arg_fail(1)) SWIG_fail
;
15858 if (!wxPyCheckForApp()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 wxVisualAttributes
* resultptr
;
15867 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15876 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15881 return Py_BuildValue((char *)"");
15883 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15884 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15889 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15890 PyObject
*pyobj
= NULL
;
15894 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15896 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15903 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= NULL
;
15905 wxWindow
*arg1
= (wxWindow
*) 0 ;
15906 int arg2
= (int) -1 ;
15907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15913 long arg6
= (long) 0 ;
15914 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15915 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15916 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15917 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15918 wxToggleButton
*result
;
15919 bool temp3
= false ;
15922 bool temp8
= false ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 PyObject
* obj2
= 0 ;
15926 PyObject
* obj3
= 0 ;
15927 PyObject
* obj4
= 0 ;
15928 PyObject
* obj5
= 0 ;
15929 PyObject
* obj6
= 0 ;
15930 PyObject
* obj7
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail
;
15940 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15941 if (SWIG_arg_fail(2)) SWIG_fail
;
15946 arg3
= wxString_in_helper(obj2
);
15947 if (arg3
== NULL
) SWIG_fail
;
15954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15965 arg6
= static_cast<long >(SWIG_As_long(obj5
));
15966 if (SWIG_arg_fail(6)) SWIG_fail
;
15971 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15972 if (SWIG_arg_fail(7)) SWIG_fail
;
15973 if (arg7
== NULL
) {
15974 SWIG_null_ref("wxValidator");
15976 if (SWIG_arg_fail(7)) SWIG_fail
;
15981 arg8
= wxString_in_helper(obj7
);
15982 if (arg8
== NULL
) SWIG_fail
;
15987 if (!wxPyCheckForApp()) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16017 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
= NULL
;
16019 wxToggleButton
*result
;
16020 char *kwnames
[] = {
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
16026 if (!wxPyCheckForApp()) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (wxToggleButton
*)new wxToggleButton();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16040 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
= NULL
;
16042 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16043 wxWindow
*arg2
= (wxWindow
*) 0 ;
16044 int arg3
= (int) -1 ;
16045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16051 long arg7
= (long) 0 ;
16052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16054 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16057 bool temp4
= false ;
16060 bool temp9
= false ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 PyObject
* obj2
= 0 ;
16064 PyObject
* obj3
= 0 ;
16065 PyObject
* obj4
= 0 ;
16066 PyObject
* obj5
= 0 ;
16067 PyObject
* obj6
= 0 ;
16068 PyObject
* obj7
= 0 ;
16069 PyObject
* obj8
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16076 if (SWIG_arg_fail(1)) SWIG_fail
;
16077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16078 if (SWIG_arg_fail(2)) SWIG_fail
;
16081 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16082 if (SWIG_arg_fail(3)) SWIG_fail
;
16087 arg4
= wxString_in_helper(obj3
);
16088 if (arg4
== NULL
) SWIG_fail
;
16095 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16101 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16106 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16107 if (SWIG_arg_fail(7)) SWIG_fail
;
16112 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16113 if (SWIG_arg_fail(8)) SWIG_fail
;
16114 if (arg8
== NULL
) {
16115 SWIG_null_ref("wxValidator");
16117 if (SWIG_arg_fail(8)) SWIG_fail
;
16122 arg9
= wxString_in_helper(obj8
);
16123 if (arg9
== NULL
) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16159 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= NULL
;
16161 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "value", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16174 if (SWIG_arg_fail(2)) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 (arg1
)->SetValue(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16190 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= NULL
;
16192 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16201 if (SWIG_arg_fail(1)) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16218 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
= NULL
;
16220 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16221 wxString
*arg2
= 0 ;
16222 bool temp2
= false ;
16223 PyObject
* obj0
= 0 ;
16224 PyObject
* obj1
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self",(char *) "label", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 arg2
= wxString_in_helper(obj1
);
16234 if (arg2
== NULL
) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 (arg1
)->SetLabel((wxString
const &)*arg2
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 Py_INCREF(Py_None
); resultobj
= Py_None
;
16259 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= NULL
;
16261 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16262 wxVisualAttributes result
;
16263 PyObject
* obj0
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "variant", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16271 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16272 if (SWIG_arg_fail(1)) SWIG_fail
;
16276 if (!wxPyCheckForApp()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 wxVisualAttributes
* resultptr
;
16285 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16294 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16297 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16299 return Py_BuildValue((char *)"");
16301 static int _wrap_NotebookNameStr_set(PyObject
*) {
16302 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16307 static PyObject
*_wrap_NotebookNameStr_get(void) {
16308 PyObject
*pyobj
= NULL
;
16312 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16314 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16321 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
= NULL
;
16323 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16349 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
= NULL
;
16351 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "n", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16365 if (SWIG_arg_fail(2)) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= wxPyMake_wxObject(result
, 0);
16383 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
= NULL
;
16385 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= wxPyMake_wxObject(result
, 0);
16411 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= NULL
;
16413 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16422 if (SWIG_arg_fail(1)) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_From_int(static_cast<int >(result
));
16439 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
= NULL
;
16441 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16443 wxString
*arg3
= 0 ;
16445 bool temp3
= false ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "n",(char *) "strText", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16458 if (SWIG_arg_fail(2)) SWIG_fail
;
16461 arg3
= wxString_in_helper(obj2
);
16462 if (arg3
== NULL
) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16489 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= NULL
;
16491 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 PyObject
* obj1
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self",(char *) "n", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16505 if (SWIG_arg_fail(2)) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16527 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
= NULL
;
16529 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16530 wxImageList
*arg2
= (wxImageList
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "imageList", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail
;
16540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16541 if (SWIG_arg_fail(2)) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 (arg1
)->SetImageList(arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
= NULL
;
16558 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16559 wxImageList
*arg2
= (wxImageList
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "imageList", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16570 if (SWIG_arg_fail(2)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->AssignImageList(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16585 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
= NULL
;
16587 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16588 wxImageList
*result
;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16613 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
= NULL
;
16615 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "n", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16628 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16629 if (SWIG_arg_fail(2)) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= SWIG_From_int(static_cast<int >(result
));
16647 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= NULL
;
16649 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "n",(char *) "imageId", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16665 if (SWIG_arg_fail(2)) SWIG_fail
;
16668 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16669 if (SWIG_arg_fail(3)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= NULL
;
16689 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "size", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 Py_INCREF(Py_None
); resultobj
= Py_None
;
16719 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= NULL
;
16721 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "sizePage", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16736 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 wxSize
* resultptr
;
16747 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16756 static PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= NULL
;
16758 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16759 unsigned int result
;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames
,&obj0
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
16784 static PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= NULL
;
16786 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16787 unsigned int arg2
;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "internalBorder", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
16795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16796 if (SWIG_arg_fail(1)) SWIG_fail
;
16798 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
16799 if (SWIG_arg_fail(2)) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->SetInternalBorder(arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 Py_INCREF(Py_None
); resultobj
= Py_None
;
16815 static PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= NULL
;
16817 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16843 static PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= NULL
;
16845 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self",(char *) "fit", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16855 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16858 if (SWIG_arg_fail(2)) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 (arg1
)->SetFitToCurrentPage(arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 Py_INCREF(Py_None
); resultobj
= Py_None
;
16874 static PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= NULL
;
16876 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames
,&obj0
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= NULL
;
16904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self",(char *) "n", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16915 if (SWIG_arg_fail(1)) SWIG_fail
;
16917 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16918 if (SWIG_arg_fail(2)) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (bool)(arg1
)->DeletePage(arg2
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16936 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= NULL
;
16938 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "n", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16952 if (SWIG_arg_fail(2)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (bool)(arg1
)->RemovePage(arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16970 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= NULL
;
16972 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (bool)(arg1
)->DeleteAllPages();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16998 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= NULL
;
17000 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17001 wxWindow
*arg2
= (wxWindow
*) 0 ;
17002 wxString
*arg3
= 0 ;
17003 bool arg4
= (bool) false ;
17004 int arg5
= (int) -1 ;
17006 bool temp3
= false ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 PyObject
* obj3
= 0 ;
17011 PyObject
* obj4
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17020 if (SWIG_arg_fail(2)) SWIG_fail
;
17022 arg3
= wxString_in_helper(obj2
);
17023 if (arg3
== NULL
) SWIG_fail
;
17028 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
17029 if (SWIG_arg_fail(4)) SWIG_fail
;
17034 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17035 if (SWIG_arg_fail(5)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17062 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
= NULL
;
17064 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17066 wxWindow
*arg3
= (wxWindow
*) 0 ;
17067 wxString
*arg4
= 0 ;
17068 bool arg5
= (bool) false ;
17069 int arg6
= (int) -1 ;
17071 bool temp4
= false ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 PyObject
* obj3
= 0 ;
17076 PyObject
* obj4
= 0 ;
17077 PyObject
* obj5
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17084 if (SWIG_arg_fail(1)) SWIG_fail
;
17086 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17087 if (SWIG_arg_fail(2)) SWIG_fail
;
17089 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17090 if (SWIG_arg_fail(3)) SWIG_fail
;
17092 arg4
= wxString_in_helper(obj3
);
17093 if (arg4
== NULL
) SWIG_fail
;
17098 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17099 if (SWIG_arg_fail(5)) SWIG_fail
;
17104 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17105 if (SWIG_arg_fail(6)) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17132 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
= NULL
;
17134 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "n", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (int)(arg1
)->SetSelection(arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= SWIG_From_int(static_cast<int >(result
));
17166 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
= NULL
;
17168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17169 bool arg2
= (bool) true ;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self",(char *) "forward", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail
;
17181 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17182 if (SWIG_arg_fail(2)) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 (arg1
)->AdvanceSelection(arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 Py_INCREF(Py_None
); resultobj
= Py_None
;
17199 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
= NULL
;
17201 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17202 wxVisualAttributes result
;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "variant", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17211 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17212 if (SWIG_arg_fail(1)) SWIG_fail
;
17216 if (!wxPyCheckForApp()) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 wxVisualAttributes
* resultptr
;
17225 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17234 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17237 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17239 return Py_BuildValue((char *)"");
17241 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= NULL
;
17243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17244 int arg2
= (int) 0 ;
17245 int arg3
= (int) -1 ;
17246 int arg4
= (int) -1 ;
17247 wxBookCtrlBaseEvent
*result
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 PyObject
* obj3
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17259 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17266 if (SWIG_arg_fail(2)) SWIG_fail
;
17271 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17272 if (SWIG_arg_fail(3)) SWIG_fail
;
17277 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17278 if (SWIG_arg_fail(4)) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17295 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
= NULL
;
17297 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_From_int(static_cast<int >(result
));
17323 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
= NULL
;
17325 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "nSel", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17335 if (SWIG_arg_fail(1)) SWIG_fail
;
17337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17338 if (SWIG_arg_fail(2)) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->SetSelection(arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= NULL
;
17356 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_From_int(static_cast<int >(result
));
17382 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
= NULL
;
17384 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self",(char *) "nOldSel", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17394 if (SWIG_arg_fail(1)) SWIG_fail
;
17396 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17397 if (SWIG_arg_fail(2)) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 (arg1
)->SetOldSelection(arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 Py_INCREF(Py_None
); resultobj
= Py_None
;
17413 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17416 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17418 return Py_BuildValue((char *)"");
17420 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
= NULL
;
17422 wxWindow
*arg1
= (wxWindow
*) 0 ;
17423 int arg2
= (int) -1 ;
17424 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17425 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17426 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17427 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17428 long arg5
= (long) 0 ;
17429 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17430 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17431 wxNotebook
*result
;
17434 bool temp6
= false ;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 PyObject
* obj2
= 0 ;
17438 PyObject
* obj3
= 0 ;
17439 PyObject
* obj4
= 0 ;
17440 PyObject
* obj5
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17447 if (SWIG_arg_fail(1)) SWIG_fail
;
17450 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17451 if (SWIG_arg_fail(2)) SWIG_fail
;
17457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17463 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17468 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17469 if (SWIG_arg_fail(5)) SWIG_fail
;
17474 arg6
= wxString_in_helper(obj5
);
17475 if (arg6
== NULL
) SWIG_fail
;
17480 if (!wxPyCheckForApp()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17502 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= NULL
;
17504 wxNotebook
*result
;
17505 char *kwnames
[] = {
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17511 if (!wxPyCheckForApp()) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (wxNotebook
*)new wxNotebook();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17525 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
= NULL
;
17527 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17528 wxWindow
*arg2
= (wxWindow
*) 0 ;
17529 int arg3
= (int) -1 ;
17530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17534 long arg6
= (long) 0 ;
17535 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17536 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17540 bool temp7
= false ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 PyObject
* obj2
= 0 ;
17544 PyObject
* obj3
= 0 ;
17545 PyObject
* obj4
= 0 ;
17546 PyObject
* obj5
= 0 ;
17547 PyObject
* obj6
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17554 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17556 if (SWIG_arg_fail(2)) SWIG_fail
;
17559 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17560 if (SWIG_arg_fail(3)) SWIG_fail
;
17566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17577 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17578 if (SWIG_arg_fail(6)) SWIG_fail
;
17583 arg7
= wxString_in_helper(obj6
);
17584 if (arg7
== NULL
) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17612 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
= NULL
;
17614 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17623 if (SWIG_arg_fail(1)) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_From_int(static_cast<int >(result
));
17640 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
= NULL
;
17642 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "padding", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail
;
17656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 Py_INCREF(Py_None
); resultobj
= Py_None
;
17672 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
= NULL
;
17674 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "sz", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 Py_INCREF(Py_None
); resultobj
= Py_None
;
17704 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= NULL
;
17706 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17707 wxPoint
*arg2
= 0 ;
17708 long *arg3
= (long *) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "pt", NULL
17719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17722 if (SWIG_arg_fail(1)) SWIG_fail
;
17725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_From_int(static_cast<int >(result
));
17737 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17738 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17745 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
= NULL
;
17747 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self",(char *) "sizePage", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail
;
17762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 wxSize
* resultptr
;
17773 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17782 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
= NULL
;
17784 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17793 if (SWIG_arg_fail(1)) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 wxColour
* resultptr
;
17803 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17812 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= NULL
;
17814 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17815 wxVisualAttributes result
;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "variant", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17824 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17829 if (!wxPyCheckForApp()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxVisualAttributes
* resultptr
;
17838 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17847 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17852 return Py_BuildValue((char *)"");
17854 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= NULL
;
17856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17857 int arg2
= (int) 0 ;
17858 int arg3
= (int) -1 ;
17859 int arg4
= (int) -1 ;
17860 wxNotebookEvent
*result
;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17872 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17873 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17879 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17885 if (SWIG_arg_fail(3)) SWIG_fail
;
17890 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17891 if (SWIG_arg_fail(4)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17908 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17911 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17913 return Py_BuildValue((char *)"");
17915 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
= NULL
;
17917 wxWindow
*arg1
= (wxWindow
*) 0 ;
17918 int arg2
= (int) -1 ;
17919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17923 long arg5
= (long) 0 ;
17924 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17925 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17926 wxListbook
*result
;
17929 bool temp6
= false ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 PyObject
* obj2
= 0 ;
17933 PyObject
* obj3
= 0 ;
17934 PyObject
* obj4
= 0 ;
17935 PyObject
* obj5
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail
;
17945 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17946 if (SWIG_arg_fail(2)) SWIG_fail
;
17952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17963 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17964 if (SWIG_arg_fail(5)) SWIG_fail
;
17969 arg6
= wxString_in_helper(obj5
);
17970 if (arg6
== NULL
) SWIG_fail
;
17975 if (!wxPyCheckForApp()) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17997 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= NULL
;
17999 wxListbook
*result
;
18000 char *kwnames
[] = {
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
18006 if (!wxPyCheckForApp()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (wxListbook
*)new wxListbook();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18020 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
= NULL
;
18022 wxListbook
*arg1
= (wxListbook
*) 0 ;
18023 wxWindow
*arg2
= (wxWindow
*) 0 ;
18024 int arg3
= (int) -1 ;
18025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18029 long arg6
= (long) 0 ;
18030 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18035 bool temp7
= false ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 PyObject
* obj2
= 0 ;
18039 PyObject
* obj3
= 0 ;
18040 PyObject
* obj4
= 0 ;
18041 PyObject
* obj5
= 0 ;
18042 PyObject
* obj6
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18049 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(2)) SWIG_fail
;
18054 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18055 if (SWIG_arg_fail(3)) SWIG_fail
;
18061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18072 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18073 if (SWIG_arg_fail(6)) SWIG_fail
;
18078 arg7
= wxString_in_helper(obj6
);
18079 if (arg7
== NULL
) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18107 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
= NULL
;
18109 wxListbook
*arg1
= (wxListbook
*) 0 ;
18110 wxListView
*result
;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (wxListView
*)(arg1
)->GetListView();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18133 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18136 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18138 return Py_BuildValue((char *)"");
18140 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
= NULL
;
18142 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18143 int arg2
= (int) 0 ;
18144 int arg3
= (int) -1 ;
18145 int arg4
= (int) -1 ;
18146 wxListbookEvent
*result
;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 PyObject
* obj2
= 0 ;
18150 PyObject
* obj3
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18158 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18159 if (SWIG_arg_fail(1)) SWIG_fail
;
18164 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18165 if (SWIG_arg_fail(2)) SWIG_fail
;
18170 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18171 if (SWIG_arg_fail(3)) SWIG_fail
;
18176 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18177 if (SWIG_arg_fail(4)) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18194 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18197 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18199 return Py_BuildValue((char *)"");
18201 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
= NULL
;
18203 wxWindow
*arg1
= (wxWindow
*) 0 ;
18205 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18206 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18207 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18208 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18209 long arg5
= (long) 0 ;
18210 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18211 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18212 wxChoicebook
*result
;
18215 bool temp6
= false ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 PyObject
* obj2
= 0 ;
18219 PyObject
* obj3
= 0 ;
18220 PyObject
* obj4
= 0 ;
18221 PyObject
* obj5
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18228 if (SWIG_arg_fail(1)) SWIG_fail
;
18230 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18231 if (SWIG_arg_fail(2)) SWIG_fail
;
18236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18242 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18247 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18248 if (SWIG_arg_fail(5)) SWIG_fail
;
18253 arg6
= wxString_in_helper(obj5
);
18254 if (arg6
== NULL
) SWIG_fail
;
18259 if (!wxPyCheckForApp()) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18281 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= NULL
;
18283 wxChoicebook
*result
;
18284 char *kwnames
[] = {
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18290 if (!wxPyCheckForApp()) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 result
= (wxChoicebook
*)new wxChoicebook();
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18304 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
= NULL
;
18306 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18307 wxWindow
*arg2
= (wxWindow
*) 0 ;
18309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18313 long arg6
= (long) 0 ;
18314 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18319 bool temp7
= false ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 PyObject
* obj2
= 0 ;
18323 PyObject
* obj3
= 0 ;
18324 PyObject
* obj4
= 0 ;
18325 PyObject
* obj5
= 0 ;
18326 PyObject
* obj6
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(2)) SWIG_fail
;
18337 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18338 if (SWIG_arg_fail(3)) SWIG_fail
;
18343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18349 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18354 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18355 if (SWIG_arg_fail(6)) SWIG_fail
;
18360 arg7
= wxString_in_helper(obj6
);
18361 if (arg7
== NULL
) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18389 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= NULL
;
18391 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18415 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
= NULL
;
18417 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 result
= (bool)(arg1
)->DeleteAllPages();
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18443 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18446 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18448 return Py_BuildValue((char *)"");
18450 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
= NULL
;
18452 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18453 int arg2
= (int) 0 ;
18454 int arg3
= (int) -1 ;
18455 int arg4
= (int) -1 ;
18456 wxChoicebookEvent
*result
;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 PyObject
* obj3
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18468 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18469 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18475 if (SWIG_arg_fail(2)) SWIG_fail
;
18480 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18481 if (SWIG_arg_fail(3)) SWIG_fail
;
18486 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18487 if (SWIG_arg_fail(4)) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18504 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18507 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18509 return Py_BuildValue((char *)"");
18511 static PyObject
*_wrap_new_Treebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
= NULL
;
18513 wxWindow
*arg1
= (wxWindow
*) 0 ;
18515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18519 long arg5
= (long) wxBK_DEFAULT
;
18520 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18521 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18522 wxTreebook
*result
;
18525 bool temp6
= false ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 PyObject
* obj2
= 0 ;
18529 PyObject
* obj3
= 0 ;
18530 PyObject
* obj4
= 0 ;
18531 PyObject
* obj5
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18540 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18541 if (SWIG_arg_fail(2)) SWIG_fail
;
18546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18552 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18557 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18558 if (SWIG_arg_fail(5)) SWIG_fail
;
18563 arg6
= wxString_in_helper(obj5
);
18564 if (arg6
== NULL
) SWIG_fail
;
18569 if (!wxPyCheckForApp()) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18591 static PyObject
*_wrap_new_PreTreebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
= NULL
;
18593 wxTreebook
*result
;
18594 char *kwnames
[] = {
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreebook",kwnames
)) goto fail
;
18600 if (!wxPyCheckForApp()) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (wxTreebook
*)new wxTreebook();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18614 static PyObject
*_wrap_Treebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
= NULL
;
18616 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18617 wxWindow
*arg2
= (wxWindow
*) 0 ;
18619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18623 long arg6
= (long) wxBK_DEFAULT
;
18624 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18629 bool temp7
= false ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 PyObject
* obj2
= 0 ;
18633 PyObject
* obj3
= 0 ;
18634 PyObject
* obj4
= 0 ;
18635 PyObject
* obj5
= 0 ;
18636 PyObject
* obj6
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(2)) SWIG_fail
;
18647 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18648 if (SWIG_arg_fail(3)) SWIG_fail
;
18653 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18659 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18664 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18665 if (SWIG_arg_fail(6)) SWIG_fail
;
18670 arg7
= wxString_in_helper(obj6
);
18671 if (arg7
== NULL
) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18699 static PyObject
*_wrap_Treebook_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
= NULL
;
18701 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18703 wxWindow
*arg3
= (wxWindow
*) 0 ;
18704 wxString
*arg4
= 0 ;
18705 bool arg5
= (bool) false ;
18706 int arg6
= (int) wxNOT_FOUND
;
18708 bool temp4
= false ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 PyObject
* obj2
= 0 ;
18712 PyObject
* obj3
= 0 ;
18713 PyObject
* obj4
= 0 ;
18714 PyObject
* obj5
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail
;
18723 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18724 if (SWIG_arg_fail(2)) SWIG_fail
;
18726 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18727 if (SWIG_arg_fail(3)) SWIG_fail
;
18729 arg4
= wxString_in_helper(obj3
);
18730 if (arg4
== NULL
) SWIG_fail
;
18735 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18736 if (SWIG_arg_fail(5)) SWIG_fail
;
18741 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18742 if (SWIG_arg_fail(6)) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18769 static PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= NULL
;
18771 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18773 wxWindow
*arg3
= (wxWindow
*) 0 ;
18774 wxString
*arg4
= 0 ;
18775 bool arg5
= (bool) false ;
18776 int arg6
= (int) wxNOT_FOUND
;
18778 bool temp4
= false ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 PyObject
* obj2
= 0 ;
18782 PyObject
* obj3
= 0 ;
18783 PyObject
* obj4
= 0 ;
18784 PyObject
* obj5
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18794 if (SWIG_arg_fail(2)) SWIG_fail
;
18796 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(3)) SWIG_fail
;
18799 arg4
= wxString_in_helper(obj3
);
18800 if (arg4
== NULL
) SWIG_fail
;
18805 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18806 if (SWIG_arg_fail(5)) SWIG_fail
;
18811 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18812 if (SWIG_arg_fail(6)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18839 static PyObject
*_wrap_Treebook_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= NULL
;
18841 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18842 wxWindow
*arg2
= (wxWindow
*) 0 ;
18843 wxString
*arg3
= 0 ;
18844 bool arg4
= (bool) false ;
18845 int arg5
= (int) wxNOT_FOUND
;
18847 bool temp3
= false ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 PyObject
* obj2
= 0 ;
18851 PyObject
* obj3
= 0 ;
18852 PyObject
* obj4
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 arg3
= wxString_in_helper(obj2
);
18864 if (arg3
== NULL
) SWIG_fail
;
18869 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18870 if (SWIG_arg_fail(4)) SWIG_fail
;
18875 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18876 if (SWIG_arg_fail(5)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18903 static PyObject
*_wrap_Treebook_AddSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
= NULL
;
18905 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18906 wxWindow
*arg2
= (wxWindow
*) 0 ;
18907 wxString
*arg3
= 0 ;
18908 bool arg4
= (bool) false ;
18909 int arg5
= (int) wxNOT_FOUND
;
18911 bool temp3
= false ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 PyObject
* obj3
= 0 ;
18916 PyObject
* obj4
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18923 if (SWIG_arg_fail(1)) SWIG_fail
;
18924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18925 if (SWIG_arg_fail(2)) SWIG_fail
;
18927 arg3
= wxString_in_helper(obj2
);
18928 if (arg3
== NULL
) SWIG_fail
;
18933 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18934 if (SWIG_arg_fail(4)) SWIG_fail
;
18939 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18940 if (SWIG_arg_fail(5)) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 static PyObject
*_wrap_Treebook_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= NULL
;
18969 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "pos", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
18979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)(arg1
)->DeletePage(arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 static PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= NULL
;
19003 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "pos", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19016 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19017 if (SWIG_arg_fail(2)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19035 static PyObject
*_wrap_Treebook_ExpandNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= NULL
;
19037 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19039 bool arg3
= (bool) true ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 PyObject
* obj2
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "pos",(char *) "expand", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19050 if (SWIG_arg_fail(1)) SWIG_fail
;
19052 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19053 if (SWIG_arg_fail(2)) SWIG_fail
;
19057 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19058 if (SWIG_arg_fail(3)) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19077 static PyObject
*_wrap_Treebook_CollapseNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= NULL
;
19079 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "pos", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19092 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19093 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (bool)(arg1
)->CollapseNode(arg2
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19111 static PyObject
*_wrap_Treebook_GetPageParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= NULL
;
19113 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self",(char *) "pos", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) goto fail
;
19123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19124 if (SWIG_arg_fail(1)) SWIG_fail
;
19126 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19127 if (SWIG_arg_fail(2)) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_From_int(static_cast<int >(result
));
19145 static PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= NULL
;
19147 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19148 wxTreeCtrl
*result
;
19149 PyObject
* obj0
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Treebook_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
19155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19156 if (SWIG_arg_fail(1)) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
19171 static PyObject
* Treebook_swigregister(PyObject
*, PyObject
*args
) {
19173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19174 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook
, obj
);
19176 return Py_BuildValue((char *)"");
19178 static PyObject
*_wrap_new_TreebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= NULL
;
19180 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19181 int arg2
= (int) 0 ;
19182 int arg3
= (int) wxNOT_FOUND
;
19183 int arg4
= (int) wxNOT_FOUND
;
19184 wxTreebookEvent
*result
;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 PyObject
* obj3
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19196 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19197 if (SWIG_arg_fail(1)) SWIG_fail
;
19202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19203 if (SWIG_arg_fail(2)) SWIG_fail
;
19208 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19209 if (SWIG_arg_fail(3)) SWIG_fail
;
19214 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19215 if (SWIG_arg_fail(4)) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebookEvent
, 1);
19232 static PyObject
* TreebookEvent_swigregister(PyObject
*, PyObject
*args
) {
19234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent
, obj
);
19237 return Py_BuildValue((char *)"");
19239 static PyObject
*_wrap_new_Toolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
= NULL
;
19241 wxWindow
*arg1
= (wxWindow
*) 0 ;
19243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19247 long arg5
= (long) wxBK_DEFAULT
;
19248 wxString
const &arg6_defvalue
= wxPyEmptyString
;
19249 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19250 wxToolbook
*result
;
19253 bool temp6
= false ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 PyObject
* obj2
= 0 ;
19257 PyObject
* obj3
= 0 ;
19258 PyObject
* obj4
= 0 ;
19259 PyObject
* obj5
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail
;
19268 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19269 if (SWIG_arg_fail(2)) SWIG_fail
;
19274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19280 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19285 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19286 if (SWIG_arg_fail(5)) SWIG_fail
;
19291 arg6
= wxString_in_helper(obj5
);
19292 if (arg6
== NULL
) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19318 static PyObject
*_wrap_new_PreToolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
= NULL
;
19320 wxToolbook
*result
;
19321 char *kwnames
[] = {
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolbook",kwnames
)) goto fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (wxToolbook
*)new wxToolbook();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19340 static PyObject
*_wrap_Toolbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= NULL
;
19342 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19343 wxWindow
*arg2
= (wxWindow
*) 0 ;
19345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19349 long arg6
= (long) 0 ;
19350 wxString
const &arg7_defvalue
= wxEmptyString
;
19351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19355 bool temp7
= false ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 PyObject
* obj3
= 0 ;
19360 PyObject
* obj4
= 0 ;
19361 PyObject
* obj5
= 0 ;
19362 PyObject
* obj6
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19371 if (SWIG_arg_fail(2)) SWIG_fail
;
19373 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19374 if (SWIG_arg_fail(3)) SWIG_fail
;
19379 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19385 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19390 arg6
= static_cast<long >(SWIG_As_long(obj5
));
19391 if (SWIG_arg_fail(6)) SWIG_fail
;
19396 arg7
= wxString_in_helper(obj6
);
19397 if (arg7
== NULL
) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19425 static PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
= NULL
;
19427 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19428 wxToolBarBase
*result
;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_GetToolBar",kwnames
,&obj0
)) goto fail
;
19435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(1)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19453 static PyObject
*_wrap_Toolbook_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= NULL
;
19455 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_Realize",kwnames
,&obj0
)) goto fail
;
19462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
* Toolbook_swigregister(PyObject
*, PyObject
*args
) {
19480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19481 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook
, obj
);
19483 return Py_BuildValue((char *)"");
19485 static PyObject
*_wrap_new_ToolbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
= NULL
;
19487 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19488 int arg2
= (int) 0 ;
19489 int arg3
= (int) wxNOT_FOUND
;
19490 int arg4
= (int) wxNOT_FOUND
;
19491 wxToolbookEvent
*result
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 PyObject
* obj2
= 0 ;
19495 PyObject
* obj3
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19503 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19509 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19510 if (SWIG_arg_fail(2)) SWIG_fail
;
19515 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19516 if (SWIG_arg_fail(3)) SWIG_fail
;
19521 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19522 if (SWIG_arg_fail(4)) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbookEvent
, 1);
19539 static PyObject
* ToolbookEvent_swigregister(PyObject
*, PyObject
*args
) {
19541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19542 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent
, obj
);
19544 return Py_BuildValue((char *)"");
19546 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
= NULL
;
19548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
19556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19557 if (SWIG_arg_fail(1)) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (int)(arg1
)->GetId();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_From_int(static_cast<int >(result
));
19574 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= NULL
;
19576 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
19584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19585 if (SWIG_arg_fail(1)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxControl
*)(arg1
)->GetControl();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= wxPyMake_wxObject(result
, 0);
19602 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
= NULL
;
19604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19605 wxToolBarBase
*result
;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
19612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19613 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19630 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
= NULL
;
19632 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
19640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19641 if (SWIG_arg_fail(1)) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (int)(arg1
)->IsButton();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_From_int(static_cast<int >(result
));
19658 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
= NULL
;
19660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
19668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19669 if (SWIG_arg_fail(1)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)(arg1
)->IsControl();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_From_int(static_cast<int >(result
));
19686 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
= NULL
;
19688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
19696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (int)(arg1
)->IsSeparator();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_From_int(static_cast<int >(result
));
19714 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
= NULL
;
19716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19725 if (SWIG_arg_fail(1)) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (int)(arg1
)->GetStyle();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_From_int(static_cast<int >(result
));
19742 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= NULL
;
19744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
19752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19753 if (SWIG_arg_fail(1)) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxItemKind
)(arg1
)->GetKind();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_From_int((result
));
19768 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
= NULL
;
19770 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
19778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->IsEnabled();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19796 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= NULL
;
19798 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
19806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (bool)(arg1
)->IsToggled();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= NULL
;
19826 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
19834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19835 if (SWIG_arg_fail(1)) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (bool)(arg1
)->CanBeToggled();
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19852 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= NULL
;
19854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
19862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
19868 result
= (wxBitmap
*) &_result_ref
;
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 wxBitmap
* resultptr
= new wxBitmap(*result
);
19876 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19884 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
= NULL
;
19886 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
19894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19895 if (SWIG_arg_fail(1)) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
19900 result
= (wxBitmap
*) &_result_ref
;
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 wxBitmap
* resultptr
= new wxBitmap(*result
);
19908 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19916 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
= NULL
;
19918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (arg1
)->GetBitmap();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 wxBitmap
* resultptr
;
19937 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
19938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19946 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= NULL
;
19948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
19956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (arg1
)->GetLabel();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19978 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= NULL
;
19980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
19988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (arg1
)->GetShortHelp();
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20010 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
= NULL
;
20012 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
20020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20021 if (SWIG_arg_fail(1)) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (arg1
)->GetLongHelp();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20042 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
= NULL
;
20044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "enable", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20058 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (bool)(arg1
)->Enable(arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= NULL
;
20078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",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();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 Py_INCREF(Py_None
); resultobj
= Py_None
;
20101 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= NULL
;
20103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "toggle", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
20113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail
;
20116 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20117 if (SWIG_arg_fail(2)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (bool)(arg1
)->SetToggle(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20135 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
= NULL
;
20137 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20138 wxString
*arg2
= 0 ;
20140 bool temp2
= false ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self",(char *) "help", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20151 arg2
= wxString_in_helper(obj1
);
20152 if (arg2
== NULL
) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= NULL
;
20181 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20182 wxString
*arg2
= 0 ;
20184 bool temp2
= false ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "help", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail
;
20195 arg2
= wxString_in_helper(obj1
);
20196 if (arg2
== NULL
) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20223 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
= NULL
;
20225 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20226 wxBitmap
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "bmp", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20238 if (SWIG_arg_fail(2)) SWIG_fail
;
20239 if (arg2
== NULL
) {
20240 SWIG_null_ref("wxBitmap");
20242 if (SWIG_arg_fail(2)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 Py_INCREF(Py_None
); resultobj
= Py_None
;
20258 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= NULL
;
20260 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20261 wxBitmap
*arg2
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "bmp", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20273 if (SWIG_arg_fail(2)) SWIG_fail
;
20274 if (arg2
== NULL
) {
20275 SWIG_null_ref("wxBitmap");
20277 if (SWIG_arg_fail(2)) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
= NULL
;
20295 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20296 wxString
*arg2
= 0 ;
20297 bool temp2
= false ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "label", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail
;
20308 arg2
= wxString_in_helper(obj1
);
20309 if (arg2
== NULL
) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetLabel((wxString
const &)*arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 Py_INCREF(Py_None
); resultobj
= Py_None
;
20334 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
= NULL
;
20336 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
20343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20344 if (SWIG_arg_fail(1)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
= NULL
;
20361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20362 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "tbar", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",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
;
20372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20373 if (SWIG_arg_fail(2)) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 (arg1
)->Attach(arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20388 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
= NULL
;
20390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
20398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
;
20414 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= NULL
;
20416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20417 PyObject
*arg2
= (PyObject
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "clientData", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 wxToolBarToolBase_SetClientData(arg1
,arg2
);
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 Py_INCREF(Py_None
); resultobj
= Py_None
;
20442 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
20444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20445 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
20447 return Py_BuildValue((char *)"");
20449 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
= NULL
;
20451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20453 wxString
*arg3
= 0 ;
20454 wxBitmap
*arg4
= 0 ;
20455 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
20456 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
20457 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
20458 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20460 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20461 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20462 PyObject
*arg9
= (PyObject
*) NULL
;
20463 wxToolBarToolBase
*result
;
20464 bool temp3
= false ;
20465 bool temp7
= false ;
20466 bool temp8
= false ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 PyObject
* obj3
= 0 ;
20471 PyObject
* obj4
= 0 ;
20472 PyObject
* obj5
= 0 ;
20473 PyObject
* obj6
= 0 ;
20474 PyObject
* obj7
= 0 ;
20475 PyObject
* obj8
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
20481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20482 if (SWIG_arg_fail(1)) SWIG_fail
;
20484 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20485 if (SWIG_arg_fail(2)) SWIG_fail
;
20488 arg3
= wxString_in_helper(obj2
);
20489 if (arg3
== NULL
) SWIG_fail
;
20493 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20494 if (SWIG_arg_fail(4)) SWIG_fail
;
20495 if (arg4
== NULL
) {
20496 SWIG_null_ref("wxBitmap");
20498 if (SWIG_arg_fail(4)) SWIG_fail
;
20502 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20503 if (SWIG_arg_fail(5)) SWIG_fail
;
20504 if (arg5
== NULL
) {
20505 SWIG_null_ref("wxBitmap");
20507 if (SWIG_arg_fail(5)) SWIG_fail
;
20512 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
20513 if (SWIG_arg_fail(6)) SWIG_fail
;
20518 arg7
= wxString_in_helper(obj6
);
20519 if (arg7
== NULL
) SWIG_fail
;
20525 arg8
= wxString_in_helper(obj7
);
20526 if (arg8
== NULL
) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20573 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= NULL
;
20575 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20578 wxString
*arg4
= 0 ;
20579 wxBitmap
*arg5
= 0 ;
20580 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
20581 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
20582 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
20583 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20584 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20585 wxString
const &arg9_defvalue
= wxPyEmptyString
;
20586 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
20587 PyObject
*arg10
= (PyObject
*) NULL
;
20588 wxToolBarToolBase
*result
;
20589 bool temp4
= false ;
20590 bool temp8
= false ;
20591 bool temp9
= false ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20594 PyObject
* obj2
= 0 ;
20595 PyObject
* obj3
= 0 ;
20596 PyObject
* obj4
= 0 ;
20597 PyObject
* obj5
= 0 ;
20598 PyObject
* obj6
= 0 ;
20599 PyObject
* obj7
= 0 ;
20600 PyObject
* obj8
= 0 ;
20601 PyObject
* obj9
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
20607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20608 if (SWIG_arg_fail(1)) SWIG_fail
;
20610 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20611 if (SWIG_arg_fail(2)) SWIG_fail
;
20614 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20615 if (SWIG_arg_fail(3)) SWIG_fail
;
20618 arg4
= wxString_in_helper(obj3
);
20619 if (arg4
== NULL
) SWIG_fail
;
20623 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(5)) SWIG_fail
;
20625 if (arg5
== NULL
) {
20626 SWIG_null_ref("wxBitmap");
20628 if (SWIG_arg_fail(5)) SWIG_fail
;
20632 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20633 if (SWIG_arg_fail(6)) SWIG_fail
;
20634 if (arg6
== NULL
) {
20635 SWIG_null_ref("wxBitmap");
20637 if (SWIG_arg_fail(6)) SWIG_fail
;
20642 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
20643 if (SWIG_arg_fail(7)) SWIG_fail
;
20648 arg8
= wxString_in_helper(obj7
);
20649 if (arg8
== NULL
) SWIG_fail
;
20655 arg9
= wxString_in_helper(obj8
);
20656 if (arg9
== NULL
) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20703 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
= NULL
;
20705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20706 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
20707 wxToolBarToolBase
*result
;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self",(char *) "tool", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(2)) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20735 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= NULL
;
20737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20739 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
20740 wxToolBarToolBase
*result
;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 PyObject
* obj2
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self",(char *) "pos",(char *) "tool", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail
;
20752 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20753 if (SWIG_arg_fail(2)) SWIG_fail
;
20755 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(3)) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20773 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
= NULL
;
20775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20776 wxControl
*arg2
= (wxControl
*) 0 ;
20777 wxToolBarToolBase
*result
;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "control", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20788 if (SWIG_arg_fail(2)) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20805 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
= NULL
;
20807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20809 wxControl
*arg3
= (wxControl
*) 0 ;
20810 wxToolBarToolBase
*result
;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 PyObject
* obj2
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "pos",(char *) "control", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20823 if (SWIG_arg_fail(2)) SWIG_fail
;
20825 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20826 if (SWIG_arg_fail(3)) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20843 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= NULL
;
20845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "id", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail
;
20858 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20859 if (SWIG_arg_fail(2)) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= wxPyMake_wxObject(result
, 0);
20877 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= NULL
;
20879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20880 wxToolBarToolBase
*result
;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20905 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
= NULL
;
20907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20909 wxToolBarToolBase
*result
;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self",(char *) "pos", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
20917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20918 if (SWIG_arg_fail(1)) SWIG_fail
;
20920 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20921 if (SWIG_arg_fail(2)) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20939 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
= NULL
;
20941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20943 wxToolBarToolBase
*result
;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self",(char *) "id", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
20951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20952 if (SWIG_arg_fail(1)) SWIG_fail
;
20954 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20955 if (SWIG_arg_fail(2)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20973 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= NULL
;
20975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "pos", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21007 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= NULL
;
21009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "id", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail
;
21022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21023 if (SWIG_arg_fail(2)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (bool)(arg1
)->DeleteTool(arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21041 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
= NULL
;
21043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 (arg1
)->ClearTools();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 Py_INCREF(Py_None
); resultobj
= Py_None
;
21066 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
= NULL
;
21068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
21076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)(arg1
)->Realize();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21094 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
= NULL
;
21096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 PyObject
* obj2
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self",(char *) "id",(char *) "enable", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail
;
21110 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21111 if (SWIG_arg_fail(2)) SWIG_fail
;
21114 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21115 if (SWIG_arg_fail(3)) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 (arg1
)->EnableTool(arg2
,arg3
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 Py_INCREF(Py_None
); resultobj
= Py_None
;
21131 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= NULL
;
21133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "id",(char *) "toggle", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21151 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21152 if (SWIG_arg_fail(3)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->ToggleTool(arg2
,arg3
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 Py_INCREF(Py_None
); resultobj
= Py_None
;
21168 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
= NULL
;
21170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 PyObject
* obj2
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self",(char *) "id",(char *) "toggle", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail
;
21184 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21185 if (SWIG_arg_fail(2)) SWIG_fail
;
21188 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21189 if (SWIG_arg_fail(3)) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->SetToggle(arg2
,arg3
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 Py_INCREF(Py_None
); resultobj
= Py_None
;
21205 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
= NULL
;
21207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "id", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21220 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21221 if (SWIG_arg_fail(2)) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
;
21237 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= NULL
;
21239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21241 PyObject
*arg3
= (PyObject
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "id",(char *) "clientData", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21251 if (SWIG_arg_fail(1)) SWIG_fail
;
21253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21254 if (SWIG_arg_fail(2)) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= NULL
;
21273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "id", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21287 if (SWIG_arg_fail(2)) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_From_int(static_cast<int >(result
));
21305 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
= NULL
;
21307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "id", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
21317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21318 if (SWIG_arg_fail(1)) SWIG_fail
;
21320 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21321 if (SWIG_arg_fail(2)) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)(arg1
)->GetToolState(arg2
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21339 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
= NULL
;
21341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "id", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail
;
21354 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21355 if (SWIG_arg_fail(2)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
= NULL
;
21375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21377 wxString
*arg3
= 0 ;
21378 bool temp3
= false ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 PyObject
* obj2
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self",(char *) "id",(char *) "helpString", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21388 if (SWIG_arg_fail(1)) SWIG_fail
;
21390 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21391 if (SWIG_arg_fail(2)) SWIG_fail
;
21394 arg3
= wxString_in_helper(obj2
);
21395 if (arg3
== NULL
) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
= NULL
;
21422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self",(char *) "id", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21433 if (SWIG_arg_fail(1)) SWIG_fail
;
21435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21436 if (SWIG_arg_fail(2)) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (arg1
)->GetToolShortHelp(arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21458 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
= NULL
;
21460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21462 wxString
*arg3
= 0 ;
21463 bool temp3
= false ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 PyObject
* obj2
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "id",(char *) "helpString", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail
;
21475 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21476 if (SWIG_arg_fail(2)) SWIG_fail
;
21479 arg3
= wxString_in_helper(obj2
);
21480 if (arg3
== NULL
) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21505 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= NULL
;
21507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "id", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail
;
21520 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21521 if (SWIG_arg_fail(2)) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (arg1
)->GetToolLongHelp(arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21543 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
= NULL
;
21545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 PyObject
* obj2
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self",(char *) "x",(char *) "y", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21557 if (SWIG_arg_fail(1)) SWIG_fail
;
21559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21560 if (SWIG_arg_fail(2)) SWIG_fail
;
21563 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21564 if (SWIG_arg_fail(3)) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 (arg1
)->SetMargins(arg2
,arg3
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= NULL
;
21582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "size", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 (arg1
)->SetMargins((wxSize
const &)*arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= NULL
;
21614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "packing", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
21623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail
;
21626 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21627 if (SWIG_arg_fail(2)) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 (arg1
)->SetToolPacking(arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 Py_INCREF(Py_None
); resultobj
= Py_None
;
21643 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
= NULL
;
21645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "separation", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21658 if (SWIG_arg_fail(2)) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->SetToolSeparation(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21674 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= NULL
;
21676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (arg1
)->GetToolMargins();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 wxSize
* resultptr
;
21695 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21704 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
= NULL
;
21706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (arg1
)->GetMargins();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 wxSize
* resultptr
;
21725 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21734 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= NULL
;
21736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (int)(arg1
)->GetToolPacking();
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_From_int(static_cast<int >(result
));
21762 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= NULL
;
21764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
21772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21773 if (SWIG_arg_fail(1)) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (int)(arg1
)->GetToolSeparation();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_From_int(static_cast<int >(result
));
21790 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
= NULL
;
21792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "nRows", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
21801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21805 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->SetRows(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
= NULL
;
21823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 PyObject
* obj2
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "rows",(char *) "cols", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21835 if (SWIG_arg_fail(1)) SWIG_fail
;
21837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21838 if (SWIG_arg_fail(2)) SWIG_fail
;
21841 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21842 if (SWIG_arg_fail(3)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= NULL
;
21860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (int)(arg1
)->GetMaxRows();
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_From_int(static_cast<int >(result
));
21886 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= NULL
;
21888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (int)(arg1
)->GetMaxCols();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_From_int(static_cast<int >(result
));
21914 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
= NULL
;
21916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "size", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 Py_INCREF(Py_None
); resultobj
= Py_None
;
21946 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
= NULL
;
21948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
21956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (arg1
)->GetToolBitmapSize();
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 wxSize
* resultptr
;
21967 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21976 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= NULL
;
21978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 char *kwnames
[] = {
21982 (char *) "self", NULL
21985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
21986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21987 if (SWIG_arg_fail(1)) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (arg1
)->GetToolSize();
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 wxSize
* resultptr
;
21997 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22006 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
= NULL
;
22008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22011 wxToolBarToolBase
*result
;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 PyObject
* obj2
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self",(char *) "x",(char *) "y", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22024 if (SWIG_arg_fail(2)) SWIG_fail
;
22027 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22028 if (SWIG_arg_fail(3)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22046 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
= NULL
;
22048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22050 wxToolBarToolBase
*result
;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "toolid", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22062 if (SWIG_arg_fail(2)) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22080 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
= NULL
;
22082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (bool)(arg1
)->IsVertical();
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22108 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
22110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22111 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
22113 return Py_BuildValue((char *)"");
22115 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= NULL
;
22117 wxWindow
*arg1
= (wxWindow
*) 0 ;
22118 int arg2
= (int) -1 ;
22119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22123 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22124 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
22125 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22129 bool temp6
= false ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 PyObject
* obj3
= 0 ;
22134 PyObject
* obj4
= 0 ;
22135 PyObject
* obj5
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22163 arg5
= static_cast<long >(SWIG_As_long(obj4
));
22164 if (SWIG_arg_fail(5)) SWIG_fail
;
22169 arg6
= wxString_in_helper(obj5
);
22170 if (arg6
== NULL
) SWIG_fail
;
22175 if (!wxPyCheckForApp()) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22197 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
= NULL
;
22200 char *kwnames
[] = {
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
22206 if (!wxPyCheckForApp()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxToolBar
*)new wxToolBar();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22220 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
= NULL
;
22222 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22223 wxWindow
*arg2
= (wxWindow
*) 0 ;
22224 int arg3
= (int) -1 ;
22225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22229 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22230 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
22231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22235 bool temp7
= false ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 PyObject
* obj2
= 0 ;
22239 PyObject
* obj3
= 0 ;
22240 PyObject
* obj4
= 0 ;
22241 PyObject
* obj5
= 0 ;
22242 PyObject
* obj6
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail
;
22250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(2)) SWIG_fail
;
22254 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22255 if (SWIG_arg_fail(3)) SWIG_fail
;
22261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22272 arg6
= static_cast<long >(SWIG_As_long(obj5
));
22273 if (SWIG_arg_fail(6)) SWIG_fail
;
22278 arg7
= wxString_in_helper(obj6
);
22279 if (arg7
== NULL
) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22307 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
= NULL
;
22309 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22312 wxToolBarToolBase
*result
;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 PyObject
* obj2
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self",(char *) "x",(char *) "y", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail
;
22324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22325 if (SWIG_arg_fail(2)) SWIG_fail
;
22328 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22329 if (SWIG_arg_fail(3)) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22347 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
= NULL
;
22349 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
22350 wxVisualAttributes result
;
22351 PyObject
* obj0
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "variant", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22359 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 if (!wxPyCheckForApp()) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 wxVisualAttributes
* resultptr
;
22373 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
22374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22382 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
22384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22385 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
22387 return Py_BuildValue((char *)"");
22389 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
22390 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
22395 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
22396 PyObject
*pyobj
= NULL
;
22400 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22402 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22409 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
= NULL
;
22411 wxColour
const &arg1_defvalue
= wxNullColour
;
22412 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
22413 wxColour
const &arg2_defvalue
= wxNullColour
;
22414 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
22415 wxFont
const &arg3_defvalue
= wxNullFont
;
22416 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
22417 wxListItemAttr
*result
;
22420 PyObject
* obj0
= 0 ;
22421 PyObject
* obj1
= 0 ;
22422 PyObject
* obj2
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22431 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
22437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22442 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(3)) SWIG_fail
;
22444 if (arg3
== NULL
) {
22445 SWIG_null_ref("wxFont");
22447 if (SWIG_arg_fail(3)) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
22464 static PyObject
*_wrap_delete_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
= NULL
;
22466 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItemAttr",kwnames
,&obj0
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
= NULL
;
22491 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22492 wxColour
*arg2
= 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "colText", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail
;
22505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
= NULL
;
22523 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22524 wxColour
*arg2
= 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "colBack", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail
;
22537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
= NULL
;
22555 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "font", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(2)) SWIG_fail
;
22569 if (arg2
== NULL
) {
22570 SWIG_null_ref("wxFont");
22572 if (SWIG_arg_fail(2)) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->SetFont((wxFont
const &)*arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 Py_INCREF(Py_None
); resultobj
= Py_None
;
22588 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= NULL
;
22590 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
22598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (bool)(arg1
)->HasTextColour();
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22616 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
= NULL
;
22618 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (bool)(arg1
)->HasBackgroundColour();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22644 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
= NULL
;
22646 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
22654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (bool)(arg1
)->HasFont();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22672 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
= NULL
;
22674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
22682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (arg1
)->GetTextColour();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 wxColour
* resultptr
;
22693 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22702 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
= NULL
;
22704 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (arg1
)->GetBackgroundColour();
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22722 wxColour
* resultptr
;
22723 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22732 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= NULL
;
22734 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
22742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (arg1
)->GetFont();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 wxFont
* resultptr
;
22753 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22762 static PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
= NULL
;
22764 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22765 wxListItemAttr
*arg2
= 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "source", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22778 if (arg2
== NULL
) {
22779 SWIG_null_ref("wxListItemAttr");
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
= NULL
;
22799 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 wxListItemAttr_Destroy(arg1
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
22824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22825 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
22827 return Py_BuildValue((char *)"");
22829 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= NULL
;
22831 wxListItem
*result
;
22832 char *kwnames
[] = {
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (wxListItem
*)new wxListItem();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= wxPyMake_wxObject(result
, (bool)1);
22853 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= NULL
;
22855 wxListItem
*arg1
= (wxListItem
*) 0 ;
22856 PyObject
* obj0
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
22862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 Py_INCREF(Py_None
); resultobj
= Py_None
;
22878 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
= NULL
;
22880 wxListItem
*arg1
= (wxListItem
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
22887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22888 if (SWIG_arg_fail(1)) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
= NULL
;
22905 wxListItem
*arg1
= (wxListItem
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
22912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22913 if (SWIG_arg_fail(1)) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 (arg1
)->ClearAttributes();
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 Py_INCREF(Py_None
); resultobj
= Py_None
;
22928 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
= NULL
;
22930 wxListItem
*arg1
= (wxListItem
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self",(char *) "mask", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22943 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->SetMask(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 Py_INCREF(Py_None
); resultobj
= Py_None
;
22959 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
= NULL
;
22961 wxListItem
*arg1
= (wxListItem
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "id", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22974 if (SWIG_arg_fail(2)) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 (arg1
)->SetId(arg2
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 Py_INCREF(Py_None
); resultobj
= Py_None
;
22990 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
= NULL
;
22992 wxListItem
*arg1
= (wxListItem
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "col", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23002 if (SWIG_arg_fail(1)) SWIG_fail
;
23004 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23005 if (SWIG_arg_fail(2)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 (arg1
)->SetColumn(arg2
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 Py_INCREF(Py_None
); resultobj
= Py_None
;
23021 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
= NULL
;
23023 wxListItem
*arg1
= (wxListItem
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "state", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail
;
23035 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23036 if (SWIG_arg_fail(2)) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 (arg1
)->SetState(arg2
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 Py_INCREF(Py_None
); resultobj
= Py_None
;
23052 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= NULL
;
23054 wxListItem
*arg1
= (wxListItem
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 PyObject
* obj1
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self",(char *) "stateMask", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail
;
23066 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23067 if (SWIG_arg_fail(2)) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 (arg1
)->SetStateMask(arg2
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
= NULL
;
23085 wxListItem
*arg1
= (wxListItem
*) 0 ;
23086 wxString
*arg2
= 0 ;
23087 bool temp2
= false ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "text", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail
;
23098 arg2
= wxString_in_helper(obj1
);
23099 if (arg2
== NULL
) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 (arg1
)->SetText((wxString
const &)*arg2
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23124 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
= NULL
;
23126 wxListItem
*arg1
= (wxListItem
*) 0 ;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 char *kwnames
[] = {
23131 (char *) "self",(char *) "image", NULL
23134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23136 if (SWIG_arg_fail(1)) SWIG_fail
;
23138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23139 if (SWIG_arg_fail(2)) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 (arg1
)->SetImage(arg2
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
= NULL
;
23157 wxListItem
*arg1
= (wxListItem
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "data", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail
;
23169 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23170 if (SWIG_arg_fail(2)) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->SetData(arg2
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= NULL
;
23188 wxListItem
*arg1
= (wxListItem
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "width", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23198 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23201 if (SWIG_arg_fail(2)) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->SetWidth(arg2
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23217 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
= NULL
;
23219 wxListItem
*arg1
= (wxListItem
*) 0 ;
23220 wxListColumnFormat arg2
;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "align", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
23228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
23232 if (SWIG_arg_fail(2)) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->SetAlign(arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= NULL
;
23250 wxListItem
*arg1
= (wxListItem
*) 0 ;
23251 wxColour
*arg2
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "colText", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 Py_INCREF(Py_None
); resultobj
= Py_None
;
23280 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= NULL
;
23282 wxListItem
*arg1
= (wxListItem
*) 0 ;
23283 wxColour
*arg2
= 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self",(char *) "colBack", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= NULL
;
23314 wxListItem
*arg1
= (wxListItem
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "font", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail
;
23326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23327 if (SWIG_arg_fail(2)) SWIG_fail
;
23328 if (arg2
== NULL
) {
23329 SWIG_null_ref("wxFont");
23331 if (SWIG_arg_fail(2)) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 (arg1
)->SetFont((wxFont
const &)*arg2
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 Py_INCREF(Py_None
); resultobj
= Py_None
;
23347 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
= NULL
;
23349 wxListItem
*arg1
= (wxListItem
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (long)(arg1
)->GetMask();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_From_long(static_cast<long >(result
));
23375 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
= NULL
;
23377 wxListItem
*arg1
= (wxListItem
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
23385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (long)(arg1
)->GetId();
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_From_long(static_cast<long >(result
));
23403 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
= NULL
;
23405 wxListItem
*arg1
= (wxListItem
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
23413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (int)(arg1
)->GetColumn();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_From_int(static_cast<int >(result
));
23431 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
= NULL
;
23433 wxListItem
*arg1
= (wxListItem
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
23441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23442 if (SWIG_arg_fail(1)) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (long)(arg1
)->GetState();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_From_long(static_cast<long >(result
));
23459 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
= NULL
;
23461 wxListItem
*arg1
= (wxListItem
*) 0 ;
23463 PyObject
* obj0
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
23469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23470 if (SWIG_arg_fail(1)) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 wxString
const &_result_ref
= (arg1
)->GetText();
23475 result
= (wxString
*) &_result_ref
;
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23494 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
= NULL
;
23496 wxListItem
*arg1
= (wxListItem
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
23504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23505 if (SWIG_arg_fail(1)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (int)(arg1
)->GetImage();
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_From_int(static_cast<int >(result
));
23522 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= NULL
;
23524 wxListItem
*arg1
= (wxListItem
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (long)(arg1
)->GetData();
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_long(static_cast<long >(result
));
23550 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
= NULL
;
23552 wxListItem
*arg1
= (wxListItem
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
23560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (int)(arg1
)->GetWidth();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_From_int(static_cast<int >(result
));
23578 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= NULL
;
23580 wxListItem
*arg1
= (wxListItem
*) 0 ;
23581 wxListColumnFormat result
;
23582 PyObject
* obj0
= 0 ;
23583 char *kwnames
[] = {
23584 (char *) "self", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
23588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23589 if (SWIG_arg_fail(1)) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 resultobj
= SWIG_From_int((result
));
23604 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
= NULL
;
23606 wxListItem
*arg1
= (wxListItem
*) 0 ;
23607 wxListItemAttr
*result
;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
23630 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= NULL
;
23632 wxListItem
*arg1
= (wxListItem
*) 0 ;
23634 PyObject
* obj0
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
23640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (bool)(arg1
)->HasAttributes();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23658 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
= NULL
;
23660 wxListItem
*arg1
= (wxListItem
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
23668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= ((wxListItem
const *)arg1
)->GetTextColour();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 wxColour
* resultptr
;
23679 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23688 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
= NULL
;
23690 wxListItem
*arg1
= (wxListItem
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 wxColour
* resultptr
;
23709 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23718 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
= NULL
;
23720 wxListItem
*arg1
= (wxListItem
*) 0 ;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
23728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23729 if (SWIG_arg_fail(1)) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= ((wxListItem
const *)arg1
)->GetFont();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 wxFont
* resultptr
;
23739 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
23740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23748 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
= NULL
;
23750 wxListItem
*arg1
= (wxListItem
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "m_mask", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23762 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23763 if (SWIG_arg_fail(2)) SWIG_fail
;
23765 if (arg1
) (arg1
)->m_mask
= arg2
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
= NULL
;
23776 wxListItem
*arg1
= (wxListItem
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
23784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail
;
23786 result
= (long) ((arg1
)->m_mask
);
23789 resultobj
= SWIG_From_long(static_cast<long >(result
));
23797 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
= NULL
;
23799 wxListItem
*arg1
= (wxListItem
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "m_itemId", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23809 if (SWIG_arg_fail(1)) SWIG_fail
;
23811 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23812 if (SWIG_arg_fail(2)) SWIG_fail
;
23814 if (arg1
) (arg1
)->m_itemId
= arg2
;
23816 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= NULL
;
23825 wxListItem
*arg1
= (wxListItem
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23835 result
= (long) ((arg1
)->m_itemId
);
23838 resultobj
= SWIG_From_long(static_cast<long >(result
));
23846 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
= NULL
;
23848 wxListItem
*arg1
= (wxListItem
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self",(char *) "m_col", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23861 if (SWIG_arg_fail(2)) SWIG_fail
;
23863 if (arg1
) (arg1
)->m_col
= arg2
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
= NULL
;
23874 wxListItem
*arg1
= (wxListItem
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
23882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail
;
23884 result
= (int) ((arg1
)->m_col
);
23887 resultobj
= SWIG_From_int(static_cast<int >(result
));
23895 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
= NULL
;
23897 wxListItem
*arg1
= (wxListItem
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self",(char *) "m_state", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23907 if (SWIG_arg_fail(1)) SWIG_fail
;
23909 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23910 if (SWIG_arg_fail(2)) SWIG_fail
;
23912 if (arg1
) (arg1
)->m_state
= arg2
;
23914 Py_INCREF(Py_None
); resultobj
= Py_None
;
23921 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
= NULL
;
23923 wxListItem
*arg1
= (wxListItem
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
23931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23932 if (SWIG_arg_fail(1)) SWIG_fail
;
23933 result
= (long) ((arg1
)->m_state
);
23936 resultobj
= SWIG_From_long(static_cast<long >(result
));
23944 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
= NULL
;
23946 wxListItem
*arg1
= (wxListItem
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self",(char *) "m_stateMask", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail
;
23958 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23959 if (SWIG_arg_fail(2)) SWIG_fail
;
23961 if (arg1
) (arg1
)->m_stateMask
= arg2
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= NULL
;
23972 wxListItem
*arg1
= (wxListItem
*) 0 ;
23974 PyObject
* obj0
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
23980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail
;
23982 result
= (long) ((arg1
)->m_stateMask
);
23985 resultobj
= SWIG_From_long(static_cast<long >(result
));
23993 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= NULL
;
23995 wxListItem
*arg1
= (wxListItem
*) 0 ;
23996 wxString
*arg2
= (wxString
*) 0 ;
23997 bool temp2
= false ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "m_text", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24006 if (SWIG_arg_fail(1)) SWIG_fail
;
24008 arg2
= wxString_in_helper(obj1
);
24009 if (arg2
== NULL
) SWIG_fail
;
24012 if (arg1
) (arg1
)->m_text
= *arg2
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
= NULL
;
24031 wxListItem
*arg1
= (wxListItem
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24041 result
= (wxString
*)& ((arg1
)->m_text
);
24045 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24047 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24056 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= NULL
;
24058 wxListItem
*arg1
= (wxListItem
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "m_image", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24071 if (SWIG_arg_fail(2)) SWIG_fail
;
24073 if (arg1
) (arg1
)->m_image
= arg2
;
24075 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= NULL
;
24084 wxListItem
*arg1
= (wxListItem
*) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "self", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
24092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24093 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 result
= (int) ((arg1
)->m_image
);
24097 resultobj
= SWIG_From_int(static_cast<int >(result
));
24105 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
= NULL
;
24107 wxListItem
*arg1
= (wxListItem
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self",(char *) "m_data", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail
;
24119 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24120 if (SWIG_arg_fail(2)) SWIG_fail
;
24122 if (arg1
) (arg1
)->m_data
= arg2
;
24124 Py_INCREF(Py_None
); resultobj
= Py_None
;
24131 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
= NULL
;
24133 wxListItem
*arg1
= (wxListItem
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 result
= (long) ((arg1
)->m_data
);
24146 resultobj
= SWIG_From_long(static_cast<long >(result
));
24154 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
= NULL
;
24156 wxListItem
*arg1
= (wxListItem
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "m_format", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24166 if (SWIG_arg_fail(1)) SWIG_fail
;
24168 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24169 if (SWIG_arg_fail(2)) SWIG_fail
;
24171 if (arg1
) (arg1
)->m_format
= arg2
;
24173 Py_INCREF(Py_None
); resultobj
= Py_None
;
24180 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
= NULL
;
24182 wxListItem
*arg1
= (wxListItem
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24192 result
= (int) ((arg1
)->m_format
);
24195 resultobj
= SWIG_From_int(static_cast<int >(result
));
24203 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
= NULL
;
24205 wxListItem
*arg1
= (wxListItem
*) 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self",(char *) "m_width", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail
;
24217 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24218 if (SWIG_arg_fail(2)) SWIG_fail
;
24220 if (arg1
) (arg1
)->m_width
= arg2
;
24222 Py_INCREF(Py_None
); resultobj
= Py_None
;
24229 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= NULL
;
24231 wxListItem
*arg1
= (wxListItem
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
24239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 result
= (int) ((arg1
)->m_width
);
24244 resultobj
= SWIG_From_int(static_cast<int >(result
));
24252 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
24254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24255 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
24257 return Py_BuildValue((char *)"");
24259 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= NULL
;
24261 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24262 int arg2
= (int) 0 ;
24263 wxListEvent
*result
;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "commandType",(char *) "id", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
24274 if (SWIG_arg_fail(1)) SWIG_fail
;
24279 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24280 if (SWIG_arg_fail(2)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
24297 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= NULL
;
24299 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "m_code", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24312 if (SWIG_arg_fail(2)) SWIG_fail
;
24314 if (arg1
) (arg1
)->m_code
= arg2
;
24316 Py_INCREF(Py_None
); resultobj
= Py_None
;
24323 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= NULL
;
24325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
24333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail
;
24335 result
= (int) ((arg1
)->m_code
);
24338 resultobj
= SWIG_From_int(static_cast<int >(result
));
24346 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
= NULL
;
24348 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "m_oldItemIndex", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24358 if (SWIG_arg_fail(1)) SWIG_fail
;
24360 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24361 if (SWIG_arg_fail(2)) SWIG_fail
;
24363 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
24365 Py_INCREF(Py_None
); resultobj
= Py_None
;
24372 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= NULL
;
24374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
24382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 result
= (long) ((arg1
)->m_oldItemIndex
);
24387 resultobj
= SWIG_From_long(static_cast<long >(result
));
24395 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= NULL
;
24397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "m_itemIndex", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24407 if (SWIG_arg_fail(1)) SWIG_fail
;
24409 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24410 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
24414 Py_INCREF(Py_None
); resultobj
= Py_None
;
24421 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
= NULL
;
24423 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
24431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 result
= (long) ((arg1
)->m_itemIndex
);
24436 resultobj
= SWIG_From_long(static_cast<long >(result
));
24444 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= NULL
;
24446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "m_col", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24456 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24461 if (arg1
) (arg1
)->m_col
= arg2
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= NULL
;
24472 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24482 result
= (int) ((arg1
)->m_col
);
24485 resultobj
= SWIG_From_int(static_cast<int >(result
));
24493 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
= NULL
;
24495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24496 wxPoint
*arg2
= (wxPoint
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "m_pointDrag", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24505 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24508 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24517 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= NULL
;
24519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
24527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail
;
24529 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
24531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
24538 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
= NULL
;
24540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24541 wxListItem
*result
;
24542 PyObject
* obj0
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
24548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail
;
24550 result
= (wxListItem
*)& ((arg1
)->m_item
);
24553 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24561 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= NULL
;
24563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 result
= (int)(arg1
)->GetKeyCode();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_From_int(static_cast<int >(result
));
24589 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= NULL
;
24591 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (long)(arg1
)->GetIndex();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_From_long(static_cast<long >(result
));
24617 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
= NULL
;
24619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
24627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (int)(arg1
)->GetColumn();
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_From_int(static_cast<int >(result
));
24645 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= NULL
;
24647 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24656 if (SWIG_arg_fail(1)) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (arg1
)->GetPoint();
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24665 wxPoint
* resultptr
;
24666 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24675 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
= NULL
;
24677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 wxString
const &_result_ref
= (arg1
)->GetLabel();
24691 result
= (wxString
*) &_result_ref
;
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24710 static PyObject
*_wrap_ListEvent_GetText(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_GetText",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();
24725 wxString
const &_result_ref
= (arg1
)->GetText();
24726 result
= (wxString
*) &_result_ref
;
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24745 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= NULL
;
24747 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (int)(arg1
)->GetImage();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_From_int(static_cast<int >(result
));
24773 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= NULL
;
24775 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
24783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (long)(arg1
)->GetData();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_From_long(static_cast<long >(result
));
24801 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= NULL
;
24803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
24811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24812 if (SWIG_arg_fail(1)) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (long)(arg1
)->GetMask();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_From_long(static_cast<long >(result
));
24829 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= NULL
;
24831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24832 wxListItem
*result
;
24833 PyObject
* obj0
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24840 if (SWIG_arg_fail(1)) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 wxListItem
const &_result_ref
= (arg1
)->GetItem();
24845 result
= (wxListItem
*) &_result_ref
;
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
24858 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
= NULL
;
24860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
24868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (long)(arg1
)->GetCacheFrom();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_From_long(static_cast<long >(result
));
24886 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= NULL
;
24888 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (long)(arg1
)->GetCacheTo();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_From_long(static_cast<long >(result
));
24914 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= NULL
;
24916 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24942 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
= NULL
;
24944 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self",(char *) "editCancelled", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24954 if (SWIG_arg_fail(1)) SWIG_fail
;
24956 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24957 if (SWIG_arg_fail(2)) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 (arg1
)->SetEditCanceled(arg2
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 Py_INCREF(Py_None
); resultobj
= Py_None
;
24973 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
24975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24976 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
24978 return Py_BuildValue((char *)"");
24980 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
= NULL
;
24982 wxWindow
*arg1
= (wxWindow
*) 0 ;
24983 int arg2
= (int) -1 ;
24984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24988 long arg5
= (long) wxLC_ICON
;
24989 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24990 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24991 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24993 wxPyListCtrl
*result
;
24996 bool temp7
= false ;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 PyObject
* obj2
= 0 ;
25000 PyObject
* obj3
= 0 ;
25001 PyObject
* obj4
= 0 ;
25002 PyObject
* obj5
= 0 ;
25003 PyObject
* obj6
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25013 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25014 if (SWIG_arg_fail(2)) SWIG_fail
;
25020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25031 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25032 if (SWIG_arg_fail(5)) SWIG_fail
;
25037 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25038 if (SWIG_arg_fail(6)) SWIG_fail
;
25039 if (arg6
== NULL
) {
25040 SWIG_null_ref("wxValidator");
25042 if (SWIG_arg_fail(6)) SWIG_fail
;
25047 arg7
= wxString_in_helper(obj6
);
25048 if (arg7
== NULL
) SWIG_fail
;
25053 if (!wxPyCheckForApp()) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25075 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
= NULL
;
25077 wxPyListCtrl
*result
;
25078 char *kwnames
[] = {
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
25084 if (!wxPyCheckForApp()) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (wxPyListCtrl
*)new wxPyListCtrl();
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25098 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
= NULL
;
25100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25101 wxWindow
*arg2
= (wxWindow
*) 0 ;
25102 int arg3
= (int) -1 ;
25103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25107 long arg6
= (long) wxLC_ICON
;
25108 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25109 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25110 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
25111 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25115 bool temp8
= false ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 PyObject
* obj2
= 0 ;
25119 PyObject
* obj3
= 0 ;
25120 PyObject
* obj4
= 0 ;
25121 PyObject
* obj5
= 0 ;
25122 PyObject
* obj6
= 0 ;
25123 PyObject
* obj7
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25132 if (SWIG_arg_fail(2)) SWIG_fail
;
25135 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25136 if (SWIG_arg_fail(3)) SWIG_fail
;
25142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25153 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25154 if (SWIG_arg_fail(6)) SWIG_fail
;
25159 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25160 if (SWIG_arg_fail(7)) SWIG_fail
;
25161 if (arg7
== NULL
) {
25162 SWIG_null_ref("wxValidator");
25164 if (SWIG_arg_fail(7)) SWIG_fail
;
25169 arg8
= wxString_in_helper(obj7
);
25170 if (arg8
== NULL
) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25198 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
= NULL
;
25200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25201 PyObject
*arg2
= (PyObject
*) 0 ;
25202 PyObject
*arg3
= (PyObject
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 PyObject
* obj2
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "self",(char *) "_class", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25212 if (SWIG_arg_fail(1)) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 Py_INCREF(Py_None
); resultobj
= Py_None
;
25229 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= NULL
;
25231 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25232 wxColour
*arg2
= 0 ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "col", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25243 if (SWIG_arg_fail(1)) SWIG_fail
;
25246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25264 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
= NULL
;
25266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25267 wxColour
*arg2
= 0 ;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "col", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail
;
25281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25299 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= NULL
;
25301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25303 wxListItem
*result
;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "col", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25312 if (SWIG_arg_fail(1)) SWIG_fail
;
25314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25315 if (SWIG_arg_fail(2)) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25333 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= NULL
;
25335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25337 wxListItem
*arg3
= 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 PyObject
* obj2
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "col",(char *) "item", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail
;
25350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25351 if (SWIG_arg_fail(2)) SWIG_fail
;
25354 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25355 if (SWIG_arg_fail(3)) SWIG_fail
;
25356 if (arg3
== NULL
) {
25357 SWIG_null_ref("wxListItem");
25359 if (SWIG_arg_fail(3)) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25377 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
= NULL
;
25379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self",(char *) "col", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25393 if (SWIG_arg_fail(2)) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_From_int(static_cast<int >(result
));
25411 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
= NULL
;
25413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 PyObject
* obj2
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self",(char *) "col",(char *) "width", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25429 if (SWIG_arg_fail(2)) SWIG_fail
;
25432 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25433 if (SWIG_arg_fail(3)) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25451 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= NULL
;
25453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 char *kwnames
[] = {
25457 (char *) "self", NULL
25460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
25461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25462 if (SWIG_arg_fail(1)) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= SWIG_From_int(static_cast<int >(result
));
25479 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
= NULL
;
25481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25483 PyObject
* obj0
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
25489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25490 if (SWIG_arg_fail(1)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 wxRect
* resultptr
;
25500 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25509 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
= NULL
;
25511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25513 int arg3
= (int) 0 ;
25514 wxListItem
*result
;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 PyObject
* obj2
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "itemId",(char *) "col", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25527 if (SWIG_arg_fail(2)) SWIG_fail
;
25531 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25532 if (SWIG_arg_fail(3)) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25551 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
= NULL
;
25553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25554 wxListItem
*arg2
= 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "info", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail
;
25566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25567 if (SWIG_arg_fail(2)) SWIG_fail
;
25568 if (arg2
== NULL
) {
25569 SWIG_null_ref("wxListItem");
25571 if (SWIG_arg_fail(2)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= (bool)(arg1
)->SetItem(*arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25589 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= NULL
;
25591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25594 wxString
*arg4
= 0 ;
25595 int arg5
= (int) -1 ;
25597 bool temp4
= false ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 PyObject
* obj2
= 0 ;
25601 PyObject
* obj3
= 0 ;
25602 PyObject
* obj4
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail
;
25611 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25612 if (SWIG_arg_fail(2)) SWIG_fail
;
25615 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25616 if (SWIG_arg_fail(3)) SWIG_fail
;
25619 arg4
= wxString_in_helper(obj3
);
25620 if (arg4
== NULL
) SWIG_fail
;
25625 arg5
= static_cast<int >(SWIG_As_int(obj4
));
25626 if (SWIG_arg_fail(5)) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_From_long(static_cast<long >(result
));
25653 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
= NULL
;
25655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25659 PyObject
* obj0
= 0 ;
25660 PyObject
* obj1
= 0 ;
25661 PyObject
* obj2
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail
;
25670 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25671 if (SWIG_arg_fail(2)) SWIG_fail
;
25674 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25675 if (SWIG_arg_fail(3)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_From_int(static_cast<int >(result
));
25693 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= NULL
;
25695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 PyObject
* obj2
= 0 ;
25703 PyObject
* obj3
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25713 if (SWIG_arg_fail(2)) SWIG_fail
;
25716 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25717 if (SWIG_arg_fail(3)) SWIG_fail
;
25720 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25721 if (SWIG_arg_fail(4)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25739 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= NULL
;
25741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25744 int arg4
= (int) -1 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 PyObject
* obj3
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail
;
25758 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25759 if (SWIG_arg_fail(2)) SWIG_fail
;
25762 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25763 if (SWIG_arg_fail(3)) SWIG_fail
;
25767 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25768 if (SWIG_arg_fail(4)) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25787 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
= NULL
;
25789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "item", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail
;
25802 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25803 if (SWIG_arg_fail(2)) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25825 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= NULL
;
25827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25829 wxString
*arg3
= 0 ;
25830 bool temp3
= false ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "item",(char *) "str", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25843 if (SWIG_arg_fail(2)) SWIG_fail
;
25846 arg3
= wxString_in_helper(obj2
);
25847 if (arg3
== NULL
) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 Py_INCREF(Py_None
); resultobj
= Py_None
;
25872 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
= NULL
;
25874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "item", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail
;
25887 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25888 if (SWIG_arg_fail(2)) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_From_long(static_cast<long >(result
));
25906 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
= NULL
;
25908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "item",(char *) "data", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail
;
25923 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25924 if (SWIG_arg_fail(2)) SWIG_fail
;
25927 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25928 if (SWIG_arg_fail(3)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25946 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
= NULL
;
25948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self",(char *) "item", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25959 if (SWIG_arg_fail(1)) SWIG_fail
;
25961 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25962 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 wxPoint
* resultptr
;
25973 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
25974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25982 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= NULL
;
25984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25986 int arg3
= (int) wxLIST_RECT_BOUNDS
;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "item",(char *) "code", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25999 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26000 if (SWIG_arg_fail(2)) SWIG_fail
;
26004 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26005 if (SWIG_arg_fail(3)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 wxRect
* resultptr
;
26017 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
26018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26026 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
= NULL
;
26028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26030 wxPoint
*arg3
= 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 PyObject
* obj2
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "item",(char *) "pos", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26045 if (SWIG_arg_fail(2)) SWIG_fail
;
26049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
= NULL
;
26069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26071 PyObject
* obj0
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
26077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26078 if (SWIG_arg_fail(1)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_From_int(static_cast<int >(result
));
26095 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
= NULL
;
26097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26099 PyObject
* obj0
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
26105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26106 if (SWIG_arg_fail(1)) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_From_int(static_cast<int >(result
));
26123 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
= NULL
;
26125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26127 PyObject
* obj0
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "self", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
26133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26134 if (SWIG_arg_fail(1)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 wxSize
* resultptr
;
26144 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
26145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26153 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
= NULL
;
26155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26157 bool arg3
= (bool) false ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 PyObject
* obj2
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26170 if (SWIG_arg_fail(2)) SWIG_fail
;
26174 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26175 if (SWIG_arg_fail(3)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 (arg1
)->SetItemSpacing(arg2
,arg3
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 Py_INCREF(Py_None
); resultobj
= Py_None
;
26192 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= NULL
;
26194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
26202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_From_int(static_cast<int >(result
));
26220 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
= NULL
;
26222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
26230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26240 wxColour
* resultptr
;
26241 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26250 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
= NULL
;
26252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26253 wxColour
*arg2
= 0 ;
26255 PyObject
* obj0
= 0 ;
26256 PyObject
* obj1
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "col", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 Py_INCREF(Py_None
); resultobj
= Py_None
;
26282 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
= NULL
;
26284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
26292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26302 resultobj
= SWIG_From_long(static_cast<long >(result
));
26310 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
= NULL
;
26312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26314 bool arg3
= (bool) true ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 PyObject
* obj2
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "style",(char *) "add", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26327 if (SWIG_arg_fail(2)) SWIG_fail
;
26331 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26332 if (SWIG_arg_fail(3)) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 (arg1
)->SetSingleStyle(arg2
,arg3
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 Py_INCREF(Py_None
); resultobj
= Py_None
;
26349 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
= NULL
;
26351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "style", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->SetWindowStyleFlag(arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 Py_INCREF(Py_None
); resultobj
= Py_None
;
26380 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= NULL
;
26382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26384 int arg3
= (int) wxLIST_NEXT_ALL
;
26385 int arg4
= (int) wxLIST_STATE_DONTCARE
;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 PyObject
* obj2
= 0 ;
26390 PyObject
* obj3
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26397 if (SWIG_arg_fail(1)) SWIG_fail
;
26399 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26400 if (SWIG_arg_fail(2)) SWIG_fail
;
26404 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26405 if (SWIG_arg_fail(3)) SWIG_fail
;
26410 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26411 if (SWIG_arg_fail(4)) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_From_long(static_cast<long >(result
));
26430 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= NULL
;
26432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26434 wxImageList
*result
;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "which", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26443 if (SWIG_arg_fail(1)) SWIG_fail
;
26445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26446 if (SWIG_arg_fail(2)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26464 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
= NULL
;
26466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26467 wxImageList
*arg2
= (wxImageList
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 PyObject
* obj2
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self",(char *) "imageList",(char *) "which", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
26480 if (SWIG_arg_fail(2)) SWIG_fail
;
26482 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26483 if (SWIG_arg_fail(3)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->SetImageList(arg2
,arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
= NULL
;
26501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26502 wxImageList
*arg2
= (wxImageList
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "imageList",(char *) "which", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26515 if (SWIG_arg_fail(2)) SWIG_fail
;
26517 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26518 if (SWIG_arg_fail(3)) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->AssignImageList(arg2
,arg3
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
= NULL
;
26536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
26544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26545 if (SWIG_arg_fail(1)) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26562 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= NULL
;
26564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
= NULL
;
26592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self",(char *) "item", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail
;
26604 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26605 if (SWIG_arg_fail(2)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 (arg1
)->RefreshItem(arg2
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 Py_INCREF(Py_None
); resultobj
= Py_None
;
26621 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= NULL
;
26623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 PyObject
* obj2
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26641 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26642 if (SWIG_arg_fail(3)) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 (arg1
)->RefreshItems(arg2
,arg3
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 Py_INCREF(Py_None
); resultobj
= Py_None
;
26658 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= NULL
;
26660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26661 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "flag", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
26670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail
;
26674 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26675 if (SWIG_arg_fail(2)) SWIG_fail
;
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 result
= (bool)(arg1
)->Arrange(arg2
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26694 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
= NULL
;
26696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 char *kwnames
[] = {
26702 (char *) "self",(char *) "item", NULL
26705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26707 if (SWIG_arg_fail(1)) SWIG_fail
;
26709 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26710 if (SWIG_arg_fail(2)) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (bool)(arg1
)->DeleteItem(arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= NULL
;
26730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26732 PyObject
* obj0
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (bool)(arg1
)->DeleteAllItems();
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26756 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
= NULL
;
26758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "col", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
26768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail
;
26771 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26772 if (SWIG_arg_fail(2)) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= (bool)(arg1
)->DeleteColumn(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26790 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
= NULL
;
26792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
26800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26801 if (SWIG_arg_fail(1)) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (bool)(arg1
)->DeleteAllColumns();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26818 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
= NULL
;
26820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
26827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26828 if (SWIG_arg_fail(1)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->ClearAll();
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
= NULL
;
26845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "item", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->EditLabel(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 Py_INCREF(Py_None
); resultobj
= Py_None
;
26874 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
= NULL
;
26876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "item", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail
;
26889 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26890 if (SWIG_arg_fail(2)) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (bool)(arg1
)->EnsureVisible(arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26908 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= NULL
;
26910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26912 wxString
*arg3
= 0 ;
26913 bool arg4
= (bool) false ;
26915 bool temp3
= false ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 PyObject
* obj2
= 0 ;
26919 PyObject
* obj3
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail
;
26928 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26929 if (SWIG_arg_fail(2)) SWIG_fail
;
26932 arg3
= wxString_in_helper(obj2
);
26933 if (arg3
== NULL
) SWIG_fail
;
26938 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
26939 if (SWIG_arg_fail(4)) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_From_long(static_cast<long >(result
));
26966 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
= NULL
;
26968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 PyObject
* obj2
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "start",(char *) "data", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26983 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26984 if (SWIG_arg_fail(2)) SWIG_fail
;
26987 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26988 if (SWIG_arg_fail(3)) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_From_long(static_cast<long >(result
));
27006 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
= NULL
;
27008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27010 wxPoint
*arg3
= 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 PyObject
* obj2
= 0 ;
27017 PyObject
* obj3
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27024 if (SWIG_arg_fail(1)) SWIG_fail
;
27026 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27027 if (SWIG_arg_fail(2)) SWIG_fail
;
27031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27034 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27035 if (SWIG_arg_fail(4)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_From_long(static_cast<long >(result
));
27053 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= NULL
;
27055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27056 wxPoint
*arg2
= 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self",(char *) "point", NULL
27068 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_From_long(static_cast<long >(result
));
27086 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27087 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27094 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
= NULL
;
27096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27097 wxListItem
*arg2
= 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "info", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27110 if (SWIG_arg_fail(2)) SWIG_fail
;
27111 if (arg2
== NULL
) {
27112 SWIG_null_ref("wxListItem");
27114 if (SWIG_arg_fail(2)) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (long)(arg1
)->InsertItem(*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_From_long(static_cast<long >(result
));
27132 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
= NULL
;
27134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27136 wxString
*arg3
= 0 ;
27137 int arg4
= (int) -1 ;
27139 bool temp3
= false ;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 PyObject
* obj2
= 0 ;
27143 PyObject
* obj3
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27153 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 arg3
= wxString_in_helper(obj2
);
27157 if (arg3
== NULL
) SWIG_fail
;
27162 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27163 if (SWIG_arg_fail(4)) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_From_long(static_cast<long >(result
));
27190 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
= NULL
;
27192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 PyObject
* obj1
= 0 ;
27198 PyObject
* obj2
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27208 if (SWIG_arg_fail(2)) SWIG_fail
;
27211 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27212 if (SWIG_arg_fail(3)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_From_long(static_cast<long >(result
));
27230 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
= NULL
;
27232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27234 wxString
*arg3
= 0 ;
27237 bool temp3
= false ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 PyObject
* obj2
= 0 ;
27241 PyObject
* obj3
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27251 if (SWIG_arg_fail(2)) SWIG_fail
;
27254 arg3
= wxString_in_helper(obj2
);
27255 if (arg3
== NULL
) SWIG_fail
;
27259 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27260 if (SWIG_arg_fail(4)) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_From_long(static_cast<long >(result
));
27286 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
= NULL
;
27288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27290 wxListItem
*arg3
= 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self",(char *) "col",(char *) "info", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27301 if (SWIG_arg_fail(1)) SWIG_fail
;
27303 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27304 if (SWIG_arg_fail(2)) SWIG_fail
;
27307 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27308 if (SWIG_arg_fail(3)) SWIG_fail
;
27309 if (arg3
== NULL
) {
27310 SWIG_null_ref("wxListItem");
27312 if (SWIG_arg_fail(3)) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_From_long(static_cast<long >(result
));
27330 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
= NULL
;
27332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27334 wxString
*arg3
= 0 ;
27335 int arg4
= (int) wxLIST_FORMAT_LEFT
;
27336 int arg5
= (int) -1 ;
27338 bool temp3
= false ;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 PyObject
* obj2
= 0 ;
27342 PyObject
* obj3
= 0 ;
27343 PyObject
* obj4
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27352 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27353 if (SWIG_arg_fail(2)) SWIG_fail
;
27356 arg3
= wxString_in_helper(obj2
);
27357 if (arg3
== NULL
) SWIG_fail
;
27362 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27363 if (SWIG_arg_fail(4)) SWIG_fail
;
27368 arg5
= static_cast<int >(SWIG_As_int(obj4
));
27369 if (SWIG_arg_fail(5)) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_From_long(static_cast<long >(result
));
27396 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
= NULL
;
27398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "count", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27411 if (SWIG_arg_fail(2)) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 (arg1
)->SetItemCount(arg2
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 Py_INCREF(Py_None
); resultobj
= Py_None
;
27427 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
= NULL
;
27429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 PyObject
* obj2
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "dx",(char *) "dy", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27445 if (SWIG_arg_fail(2)) SWIG_fail
;
27448 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27449 if (SWIG_arg_fail(3)) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27467 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
= NULL
;
27469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27471 wxColour
*arg3
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 PyObject
* obj2
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "item",(char *) "col", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27485 if (SWIG_arg_fail(2)) SWIG_fail
;
27489 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27505 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
= NULL
;
27507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "item", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail
;
27520 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27521 if (SWIG_arg_fail(2)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 wxColour
* resultptr
;
27532 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27541 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
= NULL
;
27543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27545 wxColour
*arg3
= 0 ;
27547 PyObject
* obj0
= 0 ;
27548 PyObject
* obj1
= 0 ;
27549 PyObject
* obj2
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "item",(char *) "col", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail
;
27558 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27559 if (SWIG_arg_fail(2)) SWIG_fail
;
27563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= NULL
;
27581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "item", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail
;
27594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27595 if (SWIG_arg_fail(2)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 wxColour
* resultptr
;
27606 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27615 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
= NULL
;
27617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 PyObject
* obj2
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self",(char *) "item",(char *) "f", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27629 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27632 if (SWIG_arg_fail(2)) SWIG_fail
;
27635 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
27636 if (SWIG_arg_fail(3)) SWIG_fail
;
27637 if (arg3
== NULL
) {
27638 SWIG_null_ref("wxFont");
27640 if (SWIG_arg_fail(3)) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 Py_INCREF(Py_None
); resultobj
= Py_None
;
27656 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
= NULL
;
27658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 PyObject
* obj1
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self",(char *) "item", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail
;
27671 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27672 if (SWIG_arg_fail(2)) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 wxFont
* resultptr
;
27683 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
27684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27692 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
= NULL
;
27694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27695 PyObject
*arg2
= (PyObject
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self",(char *) "func", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
27704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27705 if (SWIG_arg_fail(1)) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27723 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
= NULL
;
27725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self", NULL
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
27733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27734 if (SWIG_arg_fail(1)) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= wxPyMake_wxObject(result
, 0);
27751 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
= NULL
;
27753 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
27754 wxVisualAttributes result
;
27755 PyObject
* obj0
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "variant", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27763 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27768 if (!wxPyCheckForApp()) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 wxVisualAttributes
* resultptr
;
27777 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
27778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27786 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27789 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
27791 return Py_BuildValue((char *)"");
27793 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= NULL
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 int arg2
= (int) -1 ;
27797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27801 long arg5
= (long) wxLC_REPORT
;
27802 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27803 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27804 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
27805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27806 wxListView
*result
;
27809 bool temp7
= false ;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 PyObject
* obj2
= 0 ;
27813 PyObject
* obj3
= 0 ;
27814 PyObject
* obj4
= 0 ;
27815 PyObject
* obj5
= 0 ;
27816 PyObject
* obj6
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27827 if (SWIG_arg_fail(2)) SWIG_fail
;
27833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27839 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27844 arg5
= static_cast<long >(SWIG_As_long(obj4
));
27845 if (SWIG_arg_fail(5)) SWIG_fail
;
27850 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27851 if (SWIG_arg_fail(6)) SWIG_fail
;
27852 if (arg6
== NULL
) {
27853 SWIG_null_ref("wxValidator");
27855 if (SWIG_arg_fail(6)) SWIG_fail
;
27860 arg7
= wxString_in_helper(obj6
);
27861 if (arg7
== NULL
) SWIG_fail
;
27866 if (!wxPyCheckForApp()) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27888 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
= NULL
;
27890 wxListView
*result
;
27891 char *kwnames
[] = {
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
27897 if (!wxPyCheckForApp()) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= (wxListView
*)new wxListView();
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27911 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= NULL
;
27913 wxListView
*arg1
= (wxListView
*) 0 ;
27914 wxWindow
*arg2
= (wxWindow
*) 0 ;
27915 int arg3
= (int) -1 ;
27916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27920 long arg6
= (long) wxLC_REPORT
;
27921 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27922 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27923 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
27924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27928 bool temp8
= false ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 PyObject
* obj2
= 0 ;
27932 PyObject
* obj3
= 0 ;
27933 PyObject
* obj4
= 0 ;
27934 PyObject
* obj5
= 0 ;
27935 PyObject
* obj6
= 0 ;
27936 PyObject
* obj7
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail
;
27944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27945 if (SWIG_arg_fail(2)) SWIG_fail
;
27948 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27949 if (SWIG_arg_fail(3)) SWIG_fail
;
27955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27966 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27967 if (SWIG_arg_fail(6)) SWIG_fail
;
27972 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27973 if (SWIG_arg_fail(7)) SWIG_fail
;
27974 if (arg7
== NULL
) {
27975 SWIG_null_ref("wxValidator");
27977 if (SWIG_arg_fail(7)) SWIG_fail
;
27982 arg8
= wxString_in_helper(obj7
);
27983 if (arg8
== NULL
) SWIG_fail
;
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28011 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
= NULL
;
28013 wxListView
*arg1
= (wxListView
*) 0 ;
28015 bool arg3
= (bool) true ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 PyObject
* obj2
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "n",(char *) "on", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28025 if (SWIG_arg_fail(1)) SWIG_fail
;
28027 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28028 if (SWIG_arg_fail(2)) SWIG_fail
;
28032 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28033 if (SWIG_arg_fail(3)) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 (arg1
)->Select(arg2
,arg3
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 Py_INCREF(Py_None
); resultobj
= Py_None
;
28050 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= NULL
;
28052 wxListView
*arg1
= (wxListView
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 PyObject
* obj1
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self",(char *) "index", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
28061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28062 if (SWIG_arg_fail(1)) SWIG_fail
;
28064 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28065 if (SWIG_arg_fail(2)) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 (arg1
)->Focus(arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 Py_INCREF(Py_None
); resultobj
= Py_None
;
28081 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= NULL
;
28083 wxListView
*arg1
= (wxListView
*) 0 ;
28085 PyObject
* obj0
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "self", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
28091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28092 if (SWIG_arg_fail(1)) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_From_long(static_cast<long >(result
));
28109 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= NULL
;
28111 wxListView
*arg1
= (wxListView
*) 0 ;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 char *kwnames
[] = {
28117 (char *) "self",(char *) "item", NULL
28120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28122 if (SWIG_arg_fail(1)) SWIG_fail
;
28124 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28125 if (SWIG_arg_fail(2)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= SWIG_From_long(static_cast<long >(result
));
28143 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
= NULL
;
28145 wxListView
*arg1
= (wxListView
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
28153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28154 if (SWIG_arg_fail(1)) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_From_long(static_cast<long >(result
));
28171 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
= NULL
;
28173 wxListView
*arg1
= (wxListView
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self",(char *) "index", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28184 if (SWIG_arg_fail(1)) SWIG_fail
;
28186 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28187 if (SWIG_arg_fail(2)) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (bool)(arg1
)->IsSelected(arg2
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28205 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
= NULL
;
28207 wxListView
*arg1
= (wxListView
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 PyObject
* obj2
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self",(char *) "col",(char *) "image", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28219 if (SWIG_arg_fail(1)) SWIG_fail
;
28221 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28222 if (SWIG_arg_fail(2)) SWIG_fail
;
28225 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28226 if (SWIG_arg_fail(3)) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->SetColumnImage(arg2
,arg3
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 Py_INCREF(Py_None
); resultobj
= Py_None
;
28242 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
= NULL
;
28244 wxListView
*arg1
= (wxListView
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self",(char *) "col", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28257 if (SWIG_arg_fail(2)) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 (arg1
)->ClearColumnImage(arg2
);
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 Py_INCREF(Py_None
); resultobj
= Py_None
;
28273 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
28275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28276 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
28278 return Py_BuildValue((char *)"");
28280 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
28281 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
28286 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
28287 PyObject
*pyobj
= NULL
;
28291 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28293 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28300 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
= NULL
;
28302 wxTreeItemId
*result
;
28303 char *kwnames
[] = {
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (wxTreeItemId
*)new wxTreeItemId();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
28322 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
= NULL
;
28324 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
28331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28332 if (SWIG_arg_fail(1)) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
= NULL
;
28349 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
28357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28375 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
= NULL
;
28377 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28378 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "other", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28390 if (SWIG_arg_fail(2)) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28407 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
= NULL
;
28409 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28410 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "self",(char *) "other", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail
;
28421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(2)) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
= NULL
;
28441 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28442 void *arg2
= (void *) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "m_pItem", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28451 if (SWIG_arg_fail(1)) SWIG_fail
;
28453 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
28454 SWIG_arg_fail(2);SWIG_fail
;
28457 if (arg1
) (arg1
)->m_pItem
= arg2
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28466 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= NULL
;
28468 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 char *kwnames
[] = {
28472 (char *) "self", NULL
28475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
28476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28477 if (SWIG_arg_fail(1)) SWIG_fail
;
28478 result
= (void *) ((arg1
)->m_pItem
);
28480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
28487 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
28489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28490 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
28492 return Py_BuildValue((char *)"");
28494 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
= NULL
;
28496 PyObject
*arg1
= (PyObject
*) NULL
;
28497 wxPyTreeItemData
*result
;
28498 PyObject
* obj0
= 0 ;
28499 char *kwnames
[] = {
28500 (char *) "obj", NULL
28503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
28521 static PyObject
*_wrap_delete_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
= NULL
;
28523 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28524 PyObject
* obj0
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemData",kwnames
,&obj0
)) goto fail
;
28530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(1)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
= NULL
;
28548 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (PyObject
*)(arg1
)->GetData();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= result
;
28572 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
= NULL
;
28574 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28575 PyObject
*arg2
= (PyObject
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "obj", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 (arg1
)->SetData(arg2
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 Py_INCREF(Py_None
); resultobj
= Py_None
;
28600 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= NULL
;
28602 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28603 wxTreeItemId
*result
;
28604 PyObject
* obj0
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
28610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28611 if (SWIG_arg_fail(1)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
28616 result
= (wxTreeItemId
*) &_result_ref
;
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
28629 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
= NULL
;
28631 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28632 wxTreeItemId
*arg2
= 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 char *kwnames
[] = {
28636 (char *) "self",(char *) "id", NULL
28639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28641 if (SWIG_arg_fail(1)) SWIG_fail
;
28643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28644 if (SWIG_arg_fail(2)) SWIG_fail
;
28645 if (arg2
== NULL
) {
28646 SWIG_null_ref("wxTreeItemId");
28648 if (SWIG_arg_fail(2)) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 Py_INCREF(Py_None
); resultobj
= Py_None
;
28664 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
= NULL
;
28666 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
28673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(1)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 wxPyTreeItemData_Destroy(arg1
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 Py_INCREF(Py_None
); resultobj
= Py_None
;
28689 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
28691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28692 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
28694 return Py_BuildValue((char *)"");
28696 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
= NULL
;
28698 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28699 int arg2
= (int) 0 ;
28700 wxTreeEvent
*result
;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "commandType",(char *) "id", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28710 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
28711 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28717 if (SWIG_arg_fail(2)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
28734 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
= NULL
;
28736 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28737 wxTreeItemId result
;
28738 PyObject
* obj0
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "self", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
28744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28754 wxTreeItemId
* resultptr
;
28755 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28764 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
= NULL
;
28766 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28767 wxTreeItemId
*arg2
= 0 ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self",(char *) "item", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28776 if (SWIG_arg_fail(1)) SWIG_fail
;
28778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28779 if (SWIG_arg_fail(2)) SWIG_fail
;
28780 if (arg2
== NULL
) {
28781 SWIG_null_ref("wxTreeItemId");
28783 if (SWIG_arg_fail(2)) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 Py_INCREF(Py_None
); resultobj
= Py_None
;
28799 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
= NULL
;
28801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28802 wxTreeItemId result
;
28803 PyObject
* obj0
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
28809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28810 if (SWIG_arg_fail(1)) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28819 wxTreeItemId
* resultptr
;
28820 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28829 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
= NULL
;
28831 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28832 wxTreeItemId
*arg2
= 0 ;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "item", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28844 if (SWIG_arg_fail(2)) SWIG_fail
;
28845 if (arg2
== NULL
) {
28846 SWIG_null_ref("wxTreeItemId");
28848 if (SWIG_arg_fail(2)) SWIG_fail
;
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 Py_INCREF(Py_None
); resultobj
= Py_None
;
28864 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
= NULL
;
28866 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
28874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28884 wxPoint
* resultptr
;
28885 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
28886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28894 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
= NULL
;
28896 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28897 wxPoint
*arg2
= 0 ;
28899 PyObject
* obj0
= 0 ;
28900 PyObject
* obj1
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "pt", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail
;
28910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 Py_INCREF(Py_None
); resultobj
= Py_None
;
28926 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= NULL
;
28928 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28929 wxKeyEvent
*result
;
28930 PyObject
* obj0
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
28936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28937 if (SWIG_arg_fail(1)) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
28942 result
= (wxKeyEvent
*) &_result_ref
;
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
28955 static PyObject
*_wrap_TreeEvent_GetKeyCode(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_GetKeyCode",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
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_From_int(static_cast<int >(result
));
28983 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
= NULL
;
28985 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28986 wxKeyEvent
*arg2
= 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self",(char *) "evt", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28995 if (SWIG_arg_fail(1)) SWIG_fail
;
28997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
28998 if (SWIG_arg_fail(2)) SWIG_fail
;
28999 if (arg2
== NULL
) {
29000 SWIG_null_ref("wxKeyEvent");
29002 if (SWIG_arg_fail(2)) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 Py_INCREF(Py_None
); resultobj
= Py_None
;
29018 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
= NULL
;
29020 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29022 PyObject
* obj0
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
29028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
29034 result
= (wxString
*) &_result_ref
;
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29044 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29053 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
= NULL
;
29055 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29056 wxString
*arg2
= 0 ;
29057 bool temp2
= false ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "label", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29066 if (SWIG_arg_fail(1)) SWIG_fail
;
29068 arg2
= wxString_in_helper(obj1
);
29069 if (arg2
== NULL
) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 (arg1
)->SetLabel((wxString
const &)*arg2
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 Py_INCREF(Py_None
); resultobj
= Py_None
;
29094 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= NULL
;
29096 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29098 PyObject
* obj0
= 0 ;
29099 char *kwnames
[] = {
29100 (char *) "self", NULL
29103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
29104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29105 if (SWIG_arg_fail(1)) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29122 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= NULL
;
29124 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "editCancelled", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
29137 if (SWIG_arg_fail(2)) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->SetEditCanceled(arg2
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 Py_INCREF(Py_None
); resultobj
= Py_None
;
29153 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= NULL
;
29155 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29156 wxString
*arg2
= 0 ;
29157 bool temp2
= false ;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self",(char *) "toolTip", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
29165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail
;
29168 arg2
= wxString_in_helper(obj1
);
29169 if (arg2
== NULL
) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 (arg1
)->SetToolTip((wxString
const &)*arg2
);
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 Py_INCREF(Py_None
); resultobj
= Py_None
;
29194 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= NULL
;
29196 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29198 PyObject
* obj0
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (arg1
)->GetToolTip();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29226 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
29228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29229 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
29231 return Py_BuildValue((char *)"");
29233 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
= NULL
;
29235 wxWindow
*arg1
= (wxWindow
*) 0 ;
29236 int arg2
= (int) -1 ;
29237 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29238 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29239 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29240 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29241 long arg5
= (long) wxTR_DEFAULT_STYLE
;
29242 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29243 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29244 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
29245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29246 wxPyTreeCtrl
*result
;
29249 bool temp7
= false ;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 PyObject
* obj2
= 0 ;
29253 PyObject
* obj3
= 0 ;
29254 PyObject
* obj4
= 0 ;
29255 PyObject
* obj5
= 0 ;
29256 PyObject
* obj6
= 0 ;
29257 char *kwnames
[] = {
29258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29263 if (SWIG_arg_fail(1)) SWIG_fail
;
29266 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29267 if (SWIG_arg_fail(2)) SWIG_fail
;
29273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29284 arg5
= static_cast<long >(SWIG_As_long(obj4
));
29285 if (SWIG_arg_fail(5)) SWIG_fail
;
29290 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29291 if (SWIG_arg_fail(6)) SWIG_fail
;
29292 if (arg6
== NULL
) {
29293 SWIG_null_ref("wxValidator");
29295 if (SWIG_arg_fail(6)) SWIG_fail
;
29300 arg7
= wxString_in_helper(obj6
);
29301 if (arg7
== NULL
) SWIG_fail
;
29306 if (!wxPyCheckForApp()) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29328 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
= NULL
;
29330 wxPyTreeCtrl
*result
;
29331 char *kwnames
[] = {
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
29337 if (!wxPyCheckForApp()) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29351 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= NULL
;
29353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29354 wxWindow
*arg2
= (wxWindow
*) 0 ;
29355 int arg3
= (int) -1 ;
29356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29360 long arg6
= (long) wxTR_DEFAULT_STYLE
;
29361 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29362 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29363 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
29364 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29368 bool temp8
= false ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 PyObject
* obj2
= 0 ;
29372 PyObject
* obj3
= 0 ;
29373 PyObject
* obj4
= 0 ;
29374 PyObject
* obj5
= 0 ;
29375 PyObject
* obj6
= 0 ;
29376 PyObject
* obj7
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
29382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29383 if (SWIG_arg_fail(1)) SWIG_fail
;
29384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29385 if (SWIG_arg_fail(2)) SWIG_fail
;
29388 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29389 if (SWIG_arg_fail(3)) SWIG_fail
;
29395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29406 arg6
= static_cast<long >(SWIG_As_long(obj5
));
29407 if (SWIG_arg_fail(6)) SWIG_fail
;
29412 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(7)) SWIG_fail
;
29414 if (arg7
== NULL
) {
29415 SWIG_null_ref("wxValidator");
29417 if (SWIG_arg_fail(7)) SWIG_fail
;
29422 arg8
= wxString_in_helper(obj7
);
29423 if (arg8
== NULL
) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
= NULL
;
29453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29454 PyObject
*arg2
= (PyObject
*) 0 ;
29455 PyObject
*arg3
= (PyObject
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 PyObject
* obj2
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "self",(char *) "_class", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29482 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= NULL
;
29484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29486 PyObject
* obj0
= 0 ;
29487 char *kwnames
[] = {
29488 (char *) "self", NULL
29491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
29492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29493 if (SWIG_arg_fail(1)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29510 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= NULL
;
29512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29513 unsigned int result
;
29514 PyObject
* obj0
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
29520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29521 if (SWIG_arg_fail(1)) SWIG_fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29538 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
= NULL
;
29540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29541 unsigned int arg2
;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 char *kwnames
[] = {
29545 (char *) "self",(char *) "indent", NULL
29548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
29549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail
;
29552 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 (arg1
)->SetIndent(arg2
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 Py_INCREF(Py_None
); resultobj
= Py_None
;
29569 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
= NULL
;
29571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29572 unsigned int result
;
29573 PyObject
* obj0
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
29579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29597 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= NULL
;
29599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29600 unsigned int arg2
;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "spacing", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29611 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29612 if (SWIG_arg_fail(2)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 (arg1
)->SetSpacing(arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 Py_INCREF(Py_None
); resultobj
= Py_None
;
29628 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= NULL
;
29630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29631 wxImageList
*result
;
29632 PyObject
* obj0
= 0 ;
29633 char *kwnames
[] = {
29634 (char *) "self", NULL
29637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
29638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29639 if (SWIG_arg_fail(1)) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29656 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
= NULL
;
29658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29659 wxImageList
*result
;
29660 PyObject
* obj0
= 0 ;
29661 char *kwnames
[] = {
29662 (char *) "self", NULL
29665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
29666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(1)) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29684 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
= NULL
;
29686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29687 wxImageList
*arg2
= (wxImageList
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "imageList", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail
;
29697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29698 if (SWIG_arg_fail(2)) SWIG_fail
;
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 (arg1
)->SetImageList(arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 Py_INCREF(Py_None
); resultobj
= Py_None
;
29713 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= NULL
;
29715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29716 wxImageList
*arg2
= (wxImageList
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "imageList", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29725 if (SWIG_arg_fail(1)) SWIG_fail
;
29726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->SetStateImageList(arg2
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 Py_INCREF(Py_None
); resultobj
= Py_None
;
29742 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= NULL
;
29744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29745 wxImageList
*arg2
= (wxImageList
*) 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "imageList", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29756 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 (arg1
)->AssignImageList(arg2
);
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29764 Py_INCREF(Py_None
); resultobj
= Py_None
;
29771 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
= NULL
;
29773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29774 wxImageList
*arg2
= (wxImageList
*) 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self",(char *) "imageList", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail
;
29784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29785 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 (arg1
)->AssignStateImageList(arg2
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 Py_INCREF(Py_None
); resultobj
= Py_None
;
29800 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
= NULL
;
29802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29803 wxTreeItemId
*arg2
= 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "item", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
29812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail
;
29815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29816 if (SWIG_arg_fail(2)) SWIG_fail
;
29817 if (arg2
== NULL
) {
29818 SWIG_null_ref("wxTreeItemId");
29820 if (SWIG_arg_fail(2)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29842 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
= NULL
;
29844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29845 wxTreeItemId
*arg2
= 0 ;
29846 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self",(char *) "item",(char *) "which", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29857 if (SWIG_arg_fail(1)) SWIG_fail
;
29859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29860 if (SWIG_arg_fail(2)) SWIG_fail
;
29861 if (arg2
== NULL
) {
29862 SWIG_null_ref("wxTreeItemId");
29864 if (SWIG_arg_fail(2)) SWIG_fail
;
29868 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
29869 if (SWIG_arg_fail(3)) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_From_int(static_cast<int >(result
));
29888 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
= NULL
;
29890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29891 wxTreeItemId
*arg2
= 0 ;
29892 wxPyTreeItemData
*result
;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self",(char *) "item", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(2)) SWIG_fail
;
29905 if (arg2
== NULL
) {
29906 SWIG_null_ref("wxTreeItemId");
29908 if (SWIG_arg_fail(2)) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
29924 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= NULL
;
29926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29927 wxTreeItemId
*arg2
= 0 ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self",(char *) "item", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
29936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29937 if (SWIG_arg_fail(1)) SWIG_fail
;
29939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29940 if (SWIG_arg_fail(2)) SWIG_fail
;
29941 if (arg2
== NULL
) {
29942 SWIG_null_ref("wxTreeItemId");
29944 if (SWIG_arg_fail(2)) SWIG_fail
;
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= result
;
29960 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= NULL
;
29962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29963 wxTreeItemId
*arg2
= 0 ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self",(char *) "item", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29973 if (SWIG_arg_fail(1)) SWIG_fail
;
29975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29976 if (SWIG_arg_fail(2)) SWIG_fail
;
29977 if (arg2
== NULL
) {
29978 SWIG_null_ref("wxTreeItemId");
29980 if (SWIG_arg_fail(2)) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 wxColour
* resultptr
;
29991 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
29992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30000 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
= NULL
;
30002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30003 wxTreeItemId
*arg2
= 0 ;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 char *kwnames
[] = {
30008 (char *) "self",(char *) "item", NULL
30011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30013 if (SWIG_arg_fail(1)) SWIG_fail
;
30015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30016 if (SWIG_arg_fail(2)) SWIG_fail
;
30017 if (arg2
== NULL
) {
30018 SWIG_null_ref("wxTreeItemId");
30020 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 wxColour
* resultptr
;
30031 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30040 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
= NULL
;
30042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30043 wxTreeItemId
*arg2
= 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self",(char *) "item", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(2)) SWIG_fail
;
30057 if (arg2
== NULL
) {
30058 SWIG_null_ref("wxTreeItemId");
30060 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30070 wxFont
* resultptr
;
30071 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
30072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30080 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= NULL
;
30082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30083 wxTreeItemId
*arg2
= 0 ;
30084 wxString
*arg3
= 0 ;
30085 bool temp3
= false ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 PyObject
* obj2
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "item",(char *) "text", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(1)) SWIG_fail
;
30097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(2)) SWIG_fail
;
30099 if (arg2
== NULL
) {
30100 SWIG_null_ref("wxTreeItemId");
30102 if (SWIG_arg_fail(2)) SWIG_fail
;
30105 arg3
= wxString_in_helper(obj2
);
30106 if (arg3
== NULL
) SWIG_fail
;
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 Py_INCREF(Py_None
); resultobj
= Py_None
;
30131 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= NULL
;
30133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30134 wxTreeItemId
*arg2
= 0 ;
30136 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 PyObject
* obj2
= 0 ;
30140 PyObject
* obj3
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(1)) SWIG_fail
;
30149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(2)) SWIG_fail
;
30151 if (arg2
== NULL
) {
30152 SWIG_null_ref("wxTreeItemId");
30154 if (SWIG_arg_fail(2)) SWIG_fail
;
30157 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30158 if (SWIG_arg_fail(3)) SWIG_fail
;
30162 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
30163 if (SWIG_arg_fail(4)) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 Py_INCREF(Py_None
); resultobj
= Py_None
;
30180 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
= NULL
;
30182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30183 wxTreeItemId
*arg2
= 0 ;
30184 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
30185 PyObject
* obj0
= 0 ;
30186 PyObject
* obj1
= 0 ;
30187 PyObject
* obj2
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self",(char *) "item",(char *) "data", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30194 if (SWIG_arg_fail(1)) SWIG_fail
;
30196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30197 if (SWIG_arg_fail(2)) SWIG_fail
;
30198 if (arg2
== NULL
) {
30199 SWIG_null_ref("wxTreeItemId");
30201 if (SWIG_arg_fail(2)) SWIG_fail
;
30203 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30204 if (SWIG_arg_fail(3)) SWIG_fail
;
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 Py_INCREF(Py_None
); resultobj
= Py_None
;
30219 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
= NULL
;
30221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30222 wxTreeItemId
*arg2
= 0 ;
30223 PyObject
*arg3
= (PyObject
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 PyObject
* obj2
= 0 ;
30227 char *kwnames
[] = {
30228 (char *) "self",(char *) "item",(char *) "obj", NULL
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30233 if (SWIG_arg_fail(1)) SWIG_fail
;
30235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30236 if (SWIG_arg_fail(2)) SWIG_fail
;
30237 if (arg2
== NULL
) {
30238 SWIG_null_ref("wxTreeItemId");
30240 if (SWIG_arg_fail(2)) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 Py_INCREF(Py_None
); resultobj
= Py_None
;
30257 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
= NULL
;
30259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30260 wxTreeItemId
*arg2
= 0 ;
30261 bool arg3
= (bool) true ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 PyObject
* obj2
= 0 ;
30265 char *kwnames
[] = {
30266 (char *) "self",(char *) "item",(char *) "has", NULL
30269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30271 if (SWIG_arg_fail(1)) SWIG_fail
;
30273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(2)) SWIG_fail
;
30275 if (arg2
== NULL
) {
30276 SWIG_null_ref("wxTreeItemId");
30278 if (SWIG_arg_fail(2)) SWIG_fail
;
30282 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30283 if (SWIG_arg_fail(3)) SWIG_fail
;
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 Py_INCREF(Py_None
); resultobj
= Py_None
;
30300 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
= NULL
;
30302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30303 wxTreeItemId
*arg2
= 0 ;
30304 bool arg3
= (bool) true ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 PyObject
* obj2
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "item",(char *) "bold", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30317 if (SWIG_arg_fail(2)) SWIG_fail
;
30318 if (arg2
== NULL
) {
30319 SWIG_null_ref("wxTreeItemId");
30321 if (SWIG_arg_fail(2)) SWIG_fail
;
30325 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30326 if (SWIG_arg_fail(3)) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
= NULL
;
30345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30346 wxTreeItemId
*arg2
= 0 ;
30347 bool arg3
= (bool) true ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 PyObject
* obj2
= 0 ;
30351 char *kwnames
[] = {
30352 (char *) "self",(char *) "item",(char *) "highlight", NULL
30355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30357 if (SWIG_arg_fail(1)) SWIG_fail
;
30359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30360 if (SWIG_arg_fail(2)) SWIG_fail
;
30361 if (arg2
== NULL
) {
30362 SWIG_null_ref("wxTreeItemId");
30364 if (SWIG_arg_fail(2)) SWIG_fail
;
30368 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30369 if (SWIG_arg_fail(3)) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 Py_INCREF(Py_None
); resultobj
= Py_None
;
30386 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
= NULL
;
30388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30389 wxTreeItemId
*arg2
= 0 ;
30390 wxColour
*arg3
= 0 ;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 PyObject
* obj2
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "self",(char *) "item",(char *) "col", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30401 if (SWIG_arg_fail(1)) SWIG_fail
;
30403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30404 if (SWIG_arg_fail(2)) SWIG_fail
;
30405 if (arg2
== NULL
) {
30406 SWIG_null_ref("wxTreeItemId");
30408 if (SWIG_arg_fail(2)) SWIG_fail
;
30412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 Py_INCREF(Py_None
); resultobj
= Py_None
;
30428 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
= NULL
;
30430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30431 wxTreeItemId
*arg2
= 0 ;
30432 wxColour
*arg3
= 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 PyObject
* obj2
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self",(char *) "item",(char *) "col", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail
;
30445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(2)) SWIG_fail
;
30447 if (arg2
== NULL
) {
30448 SWIG_null_ref("wxTreeItemId");
30450 if (SWIG_arg_fail(2)) SWIG_fail
;
30454 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 Py_INCREF(Py_None
); resultobj
= Py_None
;
30470 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= NULL
;
30472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30473 wxTreeItemId
*arg2
= 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 PyObject
* obj2
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self",(char *) "item",(char *) "font", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30484 if (SWIG_arg_fail(1)) SWIG_fail
;
30486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30487 if (SWIG_arg_fail(2)) SWIG_fail
;
30488 if (arg2
== NULL
) {
30489 SWIG_null_ref("wxTreeItemId");
30491 if (SWIG_arg_fail(2)) SWIG_fail
;
30494 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(3)) SWIG_fail
;
30496 if (arg3
== NULL
) {
30497 SWIG_null_ref("wxFont");
30499 if (SWIG_arg_fail(3)) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
= NULL
;
30517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30518 wxTreeItemId
*arg2
= 0 ;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 char *kwnames
[] = {
30523 (char *) "self",(char *) "item", NULL
30526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30528 if (SWIG_arg_fail(1)) SWIG_fail
;
30530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(2)) SWIG_fail
;
30532 if (arg2
== NULL
) {
30533 SWIG_null_ref("wxTreeItemId");
30535 if (SWIG_arg_fail(2)) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30553 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= NULL
;
30555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30556 wxTreeItemId
*arg2
= 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self",(char *) "item", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30566 if (SWIG_arg_fail(1)) SWIG_fail
;
30568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(2)) SWIG_fail
;
30570 if (arg2
== NULL
) {
30571 SWIG_null_ref("wxTreeItemId");
30573 if (SWIG_arg_fail(2)) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30591 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= NULL
;
30593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30594 wxTreeItemId
*arg2
= 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "item", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
30603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail
;
30606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30607 if (SWIG_arg_fail(2)) SWIG_fail
;
30608 if (arg2
== NULL
) {
30609 SWIG_null_ref("wxTreeItemId");
30611 if (SWIG_arg_fail(2)) SWIG_fail
;
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
30617 wxPyEndAllowThreads(__tstate
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30629 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
= NULL
;
30631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30632 wxTreeItemId
*arg2
= 0 ;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 char *kwnames
[] = {
30637 (char *) "self",(char *) "item", NULL
30640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
30641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail
;
30644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(2)) SWIG_fail
;
30646 if (arg2
== NULL
) {
30647 SWIG_null_ref("wxTreeItemId");
30649 if (SWIG_arg_fail(2)) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30667 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
= NULL
;
30669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30670 wxTreeItemId
*arg2
= 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "item", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30684 if (arg2
== NULL
) {
30685 SWIG_null_ref("wxTreeItemId");
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30705 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
= NULL
;
30707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30708 wxTreeItemId
*arg2
= 0 ;
30709 bool arg3
= (bool) true ;
30711 PyObject
* obj0
= 0 ;
30712 PyObject
* obj1
= 0 ;
30713 PyObject
* obj2
= 0 ;
30714 char *kwnames
[] = {
30715 (char *) "self",(char *) "item",(char *) "recursively", NULL
30718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30720 if (SWIG_arg_fail(1)) SWIG_fail
;
30722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(2)) SWIG_fail
;
30724 if (arg2
== NULL
) {
30725 SWIG_null_ref("wxTreeItemId");
30727 if (SWIG_arg_fail(2)) SWIG_fail
;
30731 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30732 if (SWIG_arg_fail(3)) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
30751 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= NULL
;
30753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30754 wxTreeItemId result
;
30755 PyObject
* obj0
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30771 wxTreeItemId
* resultptr
;
30772 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30781 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
= NULL
;
30783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30784 wxTreeItemId result
;
30785 PyObject
* obj0
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
30791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail
;
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30801 wxTreeItemId
* resultptr
;
30802 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30811 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
= NULL
;
30813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
30821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= result
;
30837 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
= NULL
;
30839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30840 wxTreeItemId
*arg2
= 0 ;
30841 wxTreeItemId result
;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self",(char *) "item", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(2)) SWIG_fail
;
30854 if (arg2
== NULL
) {
30855 SWIG_null_ref("wxTreeItemId");
30857 if (SWIG_arg_fail(2)) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 wxTreeItemId
* resultptr
;
30868 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30877 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
= NULL
;
30879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30880 wxTreeItemId
*arg2
= 0 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self",(char *) "item", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail
;
30892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30893 if (SWIG_arg_fail(2)) SWIG_fail
;
30894 if (arg2
== NULL
) {
30895 SWIG_null_ref("wxTreeItemId");
30897 if (SWIG_arg_fail(2)) SWIG_fail
;
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= result
;
30913 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= NULL
;
30915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30916 wxTreeItemId
*arg2
= 0 ;
30917 void *arg3
= (void *) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 PyObject
* obj2
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self",(char *) "item",(char *) "cookie", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30928 if (SWIG_arg_fail(1)) SWIG_fail
;
30930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30931 if (SWIG_arg_fail(2)) SWIG_fail
;
30932 if (arg2
== NULL
) {
30933 SWIG_null_ref("wxTreeItemId");
30935 if (SWIG_arg_fail(2)) SWIG_fail
;
30938 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
30939 SWIG_arg_fail(3);SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= result
;
30956 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= NULL
;
30958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30959 wxTreeItemId
*arg2
= 0 ;
30960 wxTreeItemId result
;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self",(char *) "item", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30972 if (SWIG_arg_fail(2)) SWIG_fail
;
30973 if (arg2
== NULL
) {
30974 SWIG_null_ref("wxTreeItemId");
30976 if (SWIG_arg_fail(2)) SWIG_fail
;
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30986 wxTreeItemId
* resultptr
;
30987 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30996 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
= NULL
;
30998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30999 wxTreeItemId
*arg2
= 0 ;
31000 wxTreeItemId result
;
31001 PyObject
* obj0
= 0 ;
31002 PyObject
* obj1
= 0 ;
31003 char *kwnames
[] = {
31004 (char *) "self",(char *) "item", NULL
31007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail
;
31011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31012 if (SWIG_arg_fail(2)) SWIG_fail
;
31013 if (arg2
== NULL
) {
31014 SWIG_null_ref("wxTreeItemId");
31016 if (SWIG_arg_fail(2)) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31026 wxTreeItemId
* resultptr
;
31027 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31036 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= NULL
;
31038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31039 wxTreeItemId
*arg2
= 0 ;
31040 wxTreeItemId result
;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char *kwnames
[] = {
31044 (char *) "self",(char *) "item", NULL
31047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31049 if (SWIG_arg_fail(1)) SWIG_fail
;
31051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31052 if (SWIG_arg_fail(2)) SWIG_fail
;
31053 if (arg2
== NULL
) {
31054 SWIG_null_ref("wxTreeItemId");
31056 if (SWIG_arg_fail(2)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31066 wxTreeItemId
* resultptr
;
31067 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31076 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
= NULL
;
31078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31079 wxTreeItemId result
;
31080 PyObject
* obj0
= 0 ;
31081 char *kwnames
[] = {
31082 (char *) "self", NULL
31085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
31086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31087 if (SWIG_arg_fail(1)) SWIG_fail
;
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31096 wxTreeItemId
* resultptr
;
31097 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31106 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= NULL
;
31108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31109 wxTreeItemId
*arg2
= 0 ;
31110 wxTreeItemId result
;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 char *kwnames
[] = {
31114 (char *) "self",(char *) "item", NULL
31117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31119 if (SWIG_arg_fail(1)) SWIG_fail
;
31121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31122 if (SWIG_arg_fail(2)) SWIG_fail
;
31123 if (arg2
== NULL
) {
31124 SWIG_null_ref("wxTreeItemId");
31126 if (SWIG_arg_fail(2)) SWIG_fail
;
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31136 wxTreeItemId
* resultptr
;
31137 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31146 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= NULL
;
31148 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31149 wxTreeItemId
*arg2
= 0 ;
31150 wxTreeItemId result
;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 char *kwnames
[] = {
31154 (char *) "self",(char *) "item", NULL
31157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31159 if (SWIG_arg_fail(1)) SWIG_fail
;
31161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31162 if (SWIG_arg_fail(2)) SWIG_fail
;
31163 if (arg2
== NULL
) {
31164 SWIG_null_ref("wxTreeItemId");
31166 if (SWIG_arg_fail(2)) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31176 wxTreeItemId
* resultptr
;
31177 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31186 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= NULL
;
31188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31189 wxString
*arg2
= 0 ;
31190 int arg3
= (int) -1 ;
31191 int arg4
= (int) -1 ;
31192 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
31193 wxTreeItemId result
;
31194 bool temp2
= false ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 PyObject
* obj2
= 0 ;
31198 PyObject
* obj3
= 0 ;
31199 PyObject
* obj4
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 arg2
= wxString_in_helper(obj1
);
31209 if (arg2
== NULL
) SWIG_fail
;
31214 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31215 if (SWIG_arg_fail(3)) SWIG_fail
;
31220 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31221 if (SWIG_arg_fail(4)) SWIG_fail
;
31225 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31226 if (SWIG_arg_fail(5)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31236 wxTreeItemId
* resultptr
;
31237 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31254 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
= NULL
;
31256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31257 wxTreeItemId
*arg2
= 0 ;
31258 wxString
*arg3
= 0 ;
31259 int arg4
= (int) -1 ;
31260 int arg5
= (int) -1 ;
31261 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31262 wxTreeItemId result
;
31263 bool temp3
= false ;
31264 PyObject
* obj0
= 0 ;
31265 PyObject
* obj1
= 0 ;
31266 PyObject
* obj2
= 0 ;
31267 PyObject
* obj3
= 0 ;
31268 PyObject
* obj4
= 0 ;
31269 PyObject
* obj5
= 0 ;
31270 char *kwnames
[] = {
31271 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31276 if (SWIG_arg_fail(1)) SWIG_fail
;
31278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31279 if (SWIG_arg_fail(2)) SWIG_fail
;
31280 if (arg2
== NULL
) {
31281 SWIG_null_ref("wxTreeItemId");
31283 if (SWIG_arg_fail(2)) SWIG_fail
;
31286 arg3
= wxString_in_helper(obj2
);
31287 if (arg3
== NULL
) SWIG_fail
;
31292 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31293 if (SWIG_arg_fail(4)) SWIG_fail
;
31298 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31299 if (SWIG_arg_fail(5)) SWIG_fail
;
31303 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31304 if (SWIG_arg_fail(6)) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31314 wxTreeItemId
* resultptr
;
31315 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31332 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
= NULL
;
31334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31335 wxTreeItemId
*arg2
= 0 ;
31336 wxTreeItemId
*arg3
= 0 ;
31337 wxString
*arg4
= 0 ;
31338 int arg5
= (int) -1 ;
31339 int arg6
= (int) -1 ;
31340 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31341 wxTreeItemId result
;
31342 bool temp4
= false ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 PyObject
* obj2
= 0 ;
31346 PyObject
* obj3
= 0 ;
31347 PyObject
* obj4
= 0 ;
31348 PyObject
* obj5
= 0 ;
31349 PyObject
* obj6
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail
;
31358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31359 if (SWIG_arg_fail(2)) SWIG_fail
;
31360 if (arg2
== NULL
) {
31361 SWIG_null_ref("wxTreeItemId");
31363 if (SWIG_arg_fail(2)) SWIG_fail
;
31366 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31367 if (SWIG_arg_fail(3)) SWIG_fail
;
31368 if (arg3
== NULL
) {
31369 SWIG_null_ref("wxTreeItemId");
31371 if (SWIG_arg_fail(3)) SWIG_fail
;
31374 arg4
= wxString_in_helper(obj3
);
31375 if (arg4
== NULL
) SWIG_fail
;
31380 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31381 if (SWIG_arg_fail(5)) SWIG_fail
;
31386 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31387 if (SWIG_arg_fail(6)) SWIG_fail
;
31391 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31392 if (SWIG_arg_fail(7)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 wxTreeItemId
* resultptr
;
31403 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31420 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= NULL
;
31422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31423 wxTreeItemId
*arg2
= 0 ;
31425 wxString
*arg4
= 0 ;
31426 int arg5
= (int) -1 ;
31427 int arg6
= (int) -1 ;
31428 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31429 wxTreeItemId result
;
31430 bool temp4
= false ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 PyObject
* obj2
= 0 ;
31434 PyObject
* obj3
= 0 ;
31435 PyObject
* obj4
= 0 ;
31436 PyObject
* obj5
= 0 ;
31437 PyObject
* obj6
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail
;
31446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31447 if (SWIG_arg_fail(2)) SWIG_fail
;
31448 if (arg2
== NULL
) {
31449 SWIG_null_ref("wxTreeItemId");
31451 if (SWIG_arg_fail(2)) SWIG_fail
;
31454 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
31455 if (SWIG_arg_fail(3)) SWIG_fail
;
31458 arg4
= wxString_in_helper(obj3
);
31459 if (arg4
== NULL
) SWIG_fail
;
31464 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31465 if (SWIG_arg_fail(5)) SWIG_fail
;
31470 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31471 if (SWIG_arg_fail(6)) SWIG_fail
;
31475 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31476 if (SWIG_arg_fail(7)) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31486 wxTreeItemId
* resultptr
;
31487 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31504 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
= NULL
;
31506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31507 wxTreeItemId
*arg2
= 0 ;
31508 wxString
*arg3
= 0 ;
31509 int arg4
= (int) -1 ;
31510 int arg5
= (int) -1 ;
31511 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31512 wxTreeItemId result
;
31513 bool temp3
= false ;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 PyObject
* obj2
= 0 ;
31517 PyObject
* obj3
= 0 ;
31518 PyObject
* obj4
= 0 ;
31519 PyObject
* obj5
= 0 ;
31520 char *kwnames
[] = {
31521 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail
;
31528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31529 if (SWIG_arg_fail(2)) SWIG_fail
;
31530 if (arg2
== NULL
) {
31531 SWIG_null_ref("wxTreeItemId");
31533 if (SWIG_arg_fail(2)) SWIG_fail
;
31536 arg3
= wxString_in_helper(obj2
);
31537 if (arg3
== NULL
) SWIG_fail
;
31542 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31543 if (SWIG_arg_fail(4)) SWIG_fail
;
31548 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31549 if (SWIG_arg_fail(5)) SWIG_fail
;
31553 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31554 if (SWIG_arg_fail(6)) SWIG_fail
;
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31564 wxTreeItemId
* resultptr
;
31565 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31582 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
= NULL
;
31584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31585 wxTreeItemId
*arg2
= 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "item", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31597 if (SWIG_arg_fail(2)) SWIG_fail
;
31598 if (arg2
== NULL
) {
31599 SWIG_null_ref("wxTreeItemId");
31601 if (SWIG_arg_fail(2)) SWIG_fail
;
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31610 Py_INCREF(Py_None
); resultobj
= Py_None
;
31617 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31618 PyObject
*resultobj
= NULL
;
31619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31620 wxTreeItemId
*arg2
= 0 ;
31621 PyObject
* obj0
= 0 ;
31622 PyObject
* obj1
= 0 ;
31623 char *kwnames
[] = {
31624 (char *) "self",(char *) "item", NULL
31627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31629 if (SWIG_arg_fail(1)) SWIG_fail
;
31631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31632 if (SWIG_arg_fail(2)) SWIG_fail
;
31633 if (arg2
== NULL
) {
31634 SWIG_null_ref("wxTreeItemId");
31636 if (SWIG_arg_fail(2)) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 Py_INCREF(Py_None
); resultobj
= Py_None
;
31652 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= NULL
;
31654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31655 PyObject
* obj0
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
31661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 (arg1
)->DeleteAllItems();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 Py_INCREF(Py_None
); resultobj
= Py_None
;
31677 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
= NULL
;
31679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31680 wxTreeItemId
*arg2
= 0 ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self",(char *) "item", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
31688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31689 if (SWIG_arg_fail(1)) SWIG_fail
;
31691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31692 if (SWIG_arg_fail(2)) SWIG_fail
;
31693 if (arg2
== NULL
) {
31694 SWIG_null_ref("wxTreeItemId");
31696 if (SWIG_arg_fail(2)) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 Py_INCREF(Py_None
); resultobj
= Py_None
;
31712 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= NULL
;
31714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31715 wxTreeItemId
*arg2
= 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "item", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
31723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail
;
31726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31727 if (SWIG_arg_fail(2)) SWIG_fail
;
31728 if (arg2
== NULL
) {
31729 SWIG_null_ref("wxTreeItemId");
31731 if (SWIG_arg_fail(2)) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31740 Py_INCREF(Py_None
); resultobj
= Py_None
;
31747 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
= NULL
;
31749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31750 wxTreeItemId
*arg2
= 0 ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self",(char *) "item", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
31758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail
;
31761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31762 if (SWIG_arg_fail(2)) SWIG_fail
;
31763 if (arg2
== NULL
) {
31764 SWIG_null_ref("wxTreeItemId");
31766 if (SWIG_arg_fail(2)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 Py_INCREF(Py_None
); resultobj
= Py_None
;
31782 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
= NULL
;
31784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31785 wxTreeItemId
*arg2
= 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 char *kwnames
[] = {
31789 (char *) "self",(char *) "item", NULL
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
31793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail
;
31796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31797 if (SWIG_arg_fail(2)) SWIG_fail
;
31798 if (arg2
== NULL
) {
31799 SWIG_null_ref("wxTreeItemId");
31801 if (SWIG_arg_fail(2)) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31810 Py_INCREF(Py_None
); resultobj
= Py_None
;
31817 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31818 PyObject
*resultobj
= NULL
;
31819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31820 PyObject
* obj0
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "self", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
31826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 (arg1
)->Unselect();
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31835 Py_INCREF(Py_None
); resultobj
= Py_None
;
31842 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= NULL
;
31844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31845 wxTreeItemId
*arg2
= 0 ;
31846 PyObject
* obj0
= 0 ;
31847 PyObject
* obj1
= 0 ;
31848 char *kwnames
[] = {
31849 (char *) "self",(char *) "item", NULL
31852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31854 if (SWIG_arg_fail(1)) SWIG_fail
;
31856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31857 if (SWIG_arg_fail(2)) SWIG_fail
;
31858 if (arg2
== NULL
) {
31859 SWIG_null_ref("wxTreeItemId");
31861 if (SWIG_arg_fail(2)) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 Py_INCREF(Py_None
); resultobj
= Py_None
;
31877 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
= NULL
;
31879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 char *kwnames
[] = {
31882 (char *) "self", NULL
31885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
31886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 (arg1
)->UnselectAll();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 Py_INCREF(Py_None
); resultobj
= Py_None
;
31902 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= NULL
;
31904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31905 wxTreeItemId
*arg2
= 0 ;
31906 bool arg3
= (bool) true ;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 PyObject
* obj2
= 0 ;
31910 char *kwnames
[] = {
31911 (char *) "self",(char *) "item",(char *) "select", NULL
31914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31916 if (SWIG_arg_fail(1)) SWIG_fail
;
31918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31919 if (SWIG_arg_fail(2)) SWIG_fail
;
31920 if (arg2
== NULL
) {
31921 SWIG_null_ref("wxTreeItemId");
31923 if (SWIG_arg_fail(2)) SWIG_fail
;
31927 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
31928 if (SWIG_arg_fail(3)) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 Py_INCREF(Py_None
); resultobj
= Py_None
;
31945 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
= NULL
;
31947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31948 wxTreeItemId
*arg2
= 0 ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self",(char *) "item", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31960 if (SWIG_arg_fail(2)) SWIG_fail
;
31961 if (arg2
== NULL
) {
31962 SWIG_null_ref("wxTreeItemId");
31964 if (SWIG_arg_fail(2)) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 Py_INCREF(Py_None
); resultobj
= Py_None
;
31980 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
= NULL
;
31982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31983 wxTreeItemId
*arg2
= 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "item", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31992 if (SWIG_arg_fail(1)) SWIG_fail
;
31994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31995 if (SWIG_arg_fail(2)) SWIG_fail
;
31996 if (arg2
== NULL
) {
31997 SWIG_null_ref("wxTreeItemId");
31999 if (SWIG_arg_fail(2)) SWIG_fail
;
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32003 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 Py_INCREF(Py_None
); resultobj
= Py_None
;
32015 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
= NULL
;
32017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32018 wxTreeItemId
*arg2
= 0 ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 char *kwnames
[] = {
32022 (char *) "self",(char *) "item", NULL
32025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
32026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32027 if (SWIG_arg_fail(1)) SWIG_fail
;
32029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32030 if (SWIG_arg_fail(2)) SWIG_fail
;
32031 if (arg2
== NULL
) {
32032 SWIG_null_ref("wxTreeItemId");
32034 if (SWIG_arg_fail(2)) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 Py_INCREF(Py_None
); resultobj
= Py_None
;
32050 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= NULL
;
32052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32053 wxTreeItemId
*arg2
= 0 ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 char *kwnames
[] = {
32057 (char *) "self",(char *) "item", NULL
32060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32062 if (SWIG_arg_fail(1)) SWIG_fail
;
32064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32065 if (SWIG_arg_fail(2)) SWIG_fail
;
32066 if (arg2
== NULL
) {
32067 SWIG_null_ref("wxTreeItemId");
32069 if (SWIG_arg_fail(2)) SWIG_fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 Py_INCREF(Py_None
); resultobj
= Py_None
;
32085 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
= NULL
;
32087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32088 wxTextCtrl
*result
;
32089 PyObject
* obj0
= 0 ;
32090 char *kwnames
[] = {
32091 (char *) "self", NULL
32094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
32095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32096 if (SWIG_arg_fail(1)) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= wxPyMake_wxObject(result
, 0);
32113 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32114 PyObject
*resultobj
= NULL
;
32115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32116 wxTreeItemId
*arg2
= 0 ;
32117 PyObject
* obj0
= 0 ;
32118 PyObject
* obj1
= 0 ;
32119 char *kwnames
[] = {
32120 (char *) "self",(char *) "item", NULL
32123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
32124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32125 if (SWIG_arg_fail(1)) SWIG_fail
;
32127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32128 if (SWIG_arg_fail(2)) SWIG_fail
;
32129 if (arg2
== NULL
) {
32130 SWIG_null_ref("wxTreeItemId");
32132 if (SWIG_arg_fail(2)) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 Py_INCREF(Py_None
); resultobj
= Py_None
;
32148 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
= NULL
;
32150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32151 wxPoint
*arg2
= 0 ;
32153 wxTreeItemId result
;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "self",(char *) "point", NULL
32163 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
32165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32179 wxTreeItemId
* resultptr
;
32180 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32191 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
= NULL
;
32193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32194 wxTreeItemId
*arg2
= 0 ;
32195 bool arg3
= (bool) false ;
32197 PyObject
* obj0
= 0 ;
32198 PyObject
* obj1
= 0 ;
32199 PyObject
* obj2
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail
;
32208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32209 if (SWIG_arg_fail(2)) SWIG_fail
;
32210 if (arg2
== NULL
) {
32211 SWIG_null_ref("wxTreeItemId");
32213 if (SWIG_arg_fail(2)) SWIG_fail
;
32217 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32218 if (SWIG_arg_fail(3)) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= result
;
32235 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
= NULL
;
32237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32238 wxVisualAttributes result
;
32239 PyObject
* obj0
= 0 ;
32240 char *kwnames
[] = {
32241 (char *) "variant", NULL
32244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32247 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
32248 if (SWIG_arg_fail(1)) SWIG_fail
;
32252 if (!wxPyCheckForApp()) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32260 wxVisualAttributes
* resultptr
;
32261 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32270 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
32272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32273 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
32275 return Py_BuildValue((char *)"");
32277 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
32278 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
32283 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
32284 PyObject
*pyobj
= NULL
;
32288 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32290 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32297 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32298 PyObject
*resultobj
= NULL
;
32299 wxWindow
*arg1
= (wxWindow
*) 0 ;
32300 int arg2
= (int) (int)-1 ;
32301 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
32302 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32307 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32308 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32309 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32310 int arg8
= (int) 0 ;
32311 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
32312 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
32313 wxGenericDirCtrl
*result
;
32314 bool temp3
= false ;
32317 bool temp7
= false ;
32318 bool temp9
= false ;
32319 PyObject
* obj0
= 0 ;
32320 PyObject
* obj1
= 0 ;
32321 PyObject
* obj2
= 0 ;
32322 PyObject
* obj3
= 0 ;
32323 PyObject
* obj4
= 0 ;
32324 PyObject
* obj5
= 0 ;
32325 PyObject
* obj6
= 0 ;
32326 PyObject
* obj7
= 0 ;
32327 PyObject
* obj8
= 0 ;
32328 char *kwnames
[] = {
32329 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
32333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32334 if (SWIG_arg_fail(1)) SWIG_fail
;
32337 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32338 if (SWIG_arg_fail(2)) SWIG_fail
;
32343 arg3
= wxString_in_helper(obj2
);
32344 if (arg3
== NULL
) SWIG_fail
;
32351 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32357 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32362 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32363 if (SWIG_arg_fail(6)) SWIG_fail
;
32368 arg7
= wxString_in_helper(obj6
);
32369 if (arg7
== NULL
) SWIG_fail
;
32375 arg8
= static_cast<int >(SWIG_As_int(obj7
));
32376 if (SWIG_arg_fail(8)) SWIG_fail
;
32381 arg9
= wxString_in_helper(obj8
);
32382 if (arg9
== NULL
) SWIG_fail
;
32387 if (!wxPyCheckForApp()) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32425 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32426 PyObject
*resultobj
= NULL
;
32427 wxGenericDirCtrl
*result
;
32428 char *kwnames
[] = {
32432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
32434 if (!wxPyCheckForApp()) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32448 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
= NULL
;
32450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32451 wxWindow
*arg2
= (wxWindow
*) 0 ;
32452 int arg3
= (int) (int)-1 ;
32453 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
32454 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32455 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
32456 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
32457 wxSize
const &arg6_defvalue
= wxDefaultSize
;
32458 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
32459 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32460 wxString
const &arg8_defvalue
= wxPyEmptyString
;
32461 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32462 int arg9
= (int) 0 ;
32463 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
32464 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
32466 bool temp4
= false ;
32469 bool temp8
= false ;
32470 bool temp10
= false ;
32471 PyObject
* obj0
= 0 ;
32472 PyObject
* obj1
= 0 ;
32473 PyObject
* obj2
= 0 ;
32474 PyObject
* obj3
= 0 ;
32475 PyObject
* obj4
= 0 ;
32476 PyObject
* obj5
= 0 ;
32477 PyObject
* obj6
= 0 ;
32478 PyObject
* obj7
= 0 ;
32479 PyObject
* obj8
= 0 ;
32480 PyObject
* obj9
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32489 if (SWIG_arg_fail(2)) SWIG_fail
;
32492 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32493 if (SWIG_arg_fail(3)) SWIG_fail
;
32498 arg4
= wxString_in_helper(obj3
);
32499 if (arg4
== NULL
) SWIG_fail
;
32506 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
32512 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
32517 arg7
= static_cast<long >(SWIG_As_long(obj6
));
32518 if (SWIG_arg_fail(7)) SWIG_fail
;
32523 arg8
= wxString_in_helper(obj7
);
32524 if (arg8
== NULL
) SWIG_fail
;
32530 arg9
= static_cast<int >(SWIG_As_int(obj8
));
32531 if (SWIG_arg_fail(9)) SWIG_fail
;
32536 arg10
= wxString_in_helper(obj9
);
32537 if (arg10
== NULL
) SWIG_fail
;
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32581 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
= NULL
;
32583 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32584 wxString
*arg2
= 0 ;
32586 bool temp2
= false ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 char *kwnames
[] = {
32590 (char *) "self",(char *) "path", NULL
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32595 if (SWIG_arg_fail(1)) SWIG_fail
;
32597 arg2
= wxString_in_helper(obj1
);
32598 if (arg2
== NULL
) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32625 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
= NULL
;
32627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32629 PyObject
* obj0
= 0 ;
32630 char *kwnames
[] = {
32631 (char *) "self", NULL
32634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
32635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32657 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
= NULL
;
32659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32660 wxString
*arg2
= 0 ;
32661 bool temp2
= false ;
32662 PyObject
* obj0
= 0 ;
32663 PyObject
* obj1
= 0 ;
32664 char *kwnames
[] = {
32665 (char *) "self",(char *) "path", NULL
32668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32670 if (SWIG_arg_fail(1)) SWIG_fail
;
32672 arg2
= wxString_in_helper(obj1
);
32673 if (arg2
== NULL
) SWIG_fail
;
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 Py_INCREF(Py_None
); resultobj
= Py_None
;
32698 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= NULL
;
32700 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32702 PyObject
* obj0
= 0 ;
32703 char *kwnames
[] = {
32704 (char *) "self", NULL
32707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
32708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32709 if (SWIG_arg_fail(1)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32730 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
= NULL
;
32732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32734 PyObject
* obj0
= 0 ;
32735 char *kwnames
[] = {
32736 (char *) "self", NULL
32739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
32740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32741 if (SWIG_arg_fail(1)) SWIG_fail
;
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32762 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= NULL
;
32764 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32765 wxString
*arg2
= 0 ;
32766 bool temp2
= false ;
32767 PyObject
* obj0
= 0 ;
32768 PyObject
* obj1
= 0 ;
32769 char *kwnames
[] = {
32770 (char *) "self",(char *) "path", NULL
32773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32775 if (SWIG_arg_fail(1)) SWIG_fail
;
32777 arg2
= wxString_in_helper(obj1
);
32778 if (arg2
== NULL
) SWIG_fail
;
32782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 (arg1
)->SetPath((wxString
const &)*arg2
);
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32788 Py_INCREF(Py_None
); resultobj
= Py_None
;
32803 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
= NULL
;
32805 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 char *kwnames
[] = {
32810 (char *) "self",(char *) "show", NULL
32813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
32814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32815 if (SWIG_arg_fail(1)) SWIG_fail
;
32817 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
32818 if (SWIG_arg_fail(2)) SWIG_fail
;
32821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 (arg1
)->ShowHidden(arg2
);
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32827 Py_INCREF(Py_None
); resultobj
= Py_None
;
32834 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
= NULL
;
32836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32838 PyObject
* obj0
= 0 ;
32839 char *kwnames
[] = {
32840 (char *) "self", NULL
32843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
32844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32845 if (SWIG_arg_fail(1)) SWIG_fail
;
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= (bool)(arg1
)->GetShowHidden();
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32862 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32863 PyObject
*resultobj
= NULL
;
32864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32866 PyObject
* obj0
= 0 ;
32867 char *kwnames
[] = {
32868 (char *) "self", NULL
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
32872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32873 if (SWIG_arg_fail(1)) SWIG_fail
;
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32894 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= NULL
;
32896 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32897 wxString
*arg2
= 0 ;
32898 bool temp2
= false ;
32899 PyObject
* obj0
= 0 ;
32900 PyObject
* obj1
= 0 ;
32901 char *kwnames
[] = {
32902 (char *) "self",(char *) "filter", NULL
32905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
32906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32907 if (SWIG_arg_fail(1)) SWIG_fail
;
32909 arg2
= wxString_in_helper(obj1
);
32910 if (arg2
== NULL
) SWIG_fail
;
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 (arg1
)->SetFilter((wxString
const &)*arg2
);
32917 wxPyEndAllowThreads(__tstate
);
32918 if (PyErr_Occurred()) SWIG_fail
;
32920 Py_INCREF(Py_None
); resultobj
= Py_None
;
32935 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
= NULL
;
32937 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32939 PyObject
* obj0
= 0 ;
32940 char *kwnames
[] = {
32941 (char *) "self", NULL
32944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
32945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32946 if (SWIG_arg_fail(1)) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32955 resultobj
= SWIG_From_int(static_cast<int >(result
));
32963 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
= NULL
;
32965 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self",(char *) "n", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
32974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail
;
32977 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32978 if (SWIG_arg_fail(2)) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->SetFilterIndex(arg2
);
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 Py_INCREF(Py_None
); resultobj
= Py_None
;
32994 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
= NULL
;
32996 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32997 wxTreeItemId result
;
32998 PyObject
* obj0
= 0 ;
32999 char *kwnames
[] = {
33000 (char *) "self", NULL
33003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
33004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(1)) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (arg1
)->GetRootId();
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33014 wxTreeItemId
* resultptr
;
33015 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33024 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
= NULL
;
33026 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33027 wxPyTreeCtrl
*result
;
33028 PyObject
* obj0
= 0 ;
33029 char *kwnames
[] = {
33030 (char *) "self", NULL
33033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
33034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33035 if (SWIG_arg_fail(1)) SWIG_fail
;
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= wxPyMake_wxObject(result
, 0);
33052 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
= NULL
;
33054 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33055 wxDirFilterListCtrl
*result
;
33056 PyObject
* obj0
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
33062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33063 if (SWIG_arg_fail(1)) SWIG_fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
33078 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
= NULL
;
33080 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33081 wxTreeItemId arg2
;
33082 wxString
*arg3
= 0 ;
33084 wxTreeItemId result
;
33085 bool temp3
= false ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 PyObject
* obj2
= 0 ;
33091 char *kwnames
[] = {
33092 (char *) "self",(char *) "parentId",(char *) "path", NULL
33095 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail
;
33100 wxTreeItemId
* argp
;
33101 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
33102 if (SWIG_arg_fail(2)) SWIG_fail
;
33103 if (argp
== NULL
) {
33104 SWIG_null_ref("wxTreeItemId");
33106 if (SWIG_arg_fail(2)) SWIG_fail
;
33110 arg3
= wxString_in_helper(obj2
);
33111 if (arg3
== NULL
) SWIG_fail
;
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33116 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33122 wxTreeItemId
* resultptr
;
33123 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33126 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
33127 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
33142 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
= NULL
;
33144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33145 PyObject
* obj0
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
33151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33152 if (SWIG_arg_fail(1)) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 (arg1
)->DoResize();
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 Py_INCREF(Py_None
); resultobj
= Py_None
;
33167 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33168 PyObject
*resultobj
= NULL
;
33169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33170 PyObject
* obj0
= 0 ;
33171 char *kwnames
[] = {
33172 (char *) "self", NULL
33175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
33176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33177 if (SWIG_arg_fail(1)) SWIG_fail
;
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 (arg1
)->ReCreateTree();
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33185 Py_INCREF(Py_None
); resultobj
= Py_None
;
33192 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
33194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33195 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
33197 return Py_BuildValue((char *)"");
33199 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= NULL
;
33201 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33202 int arg2
= (int) (int)-1 ;
33203 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33204 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33205 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33206 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33207 long arg5
= (long) 0 ;
33208 wxDirFilterListCtrl
*result
;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 PyObject
* obj2
= 0 ;
33214 PyObject
* obj3
= 0 ;
33215 PyObject
* obj4
= 0 ;
33216 char *kwnames
[] = {
33217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33222 if (SWIG_arg_fail(1)) SWIG_fail
;
33225 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33226 if (SWIG_arg_fail(2)) SWIG_fail
;
33232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33243 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33244 if (SWIG_arg_fail(5)) SWIG_fail
;
33248 if (!wxPyCheckForApp()) SWIG_fail
;
33249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33250 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33262 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
= NULL
;
33264 wxDirFilterListCtrl
*result
;
33265 char *kwnames
[] = {
33269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
33271 if (!wxPyCheckForApp()) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33285 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
= NULL
;
33287 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33288 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
33289 int arg3
= (int) (int)-1 ;
33290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33294 long arg6
= (long) 0 ;
33298 PyObject
* obj0
= 0 ;
33299 PyObject
* obj1
= 0 ;
33300 PyObject
* obj2
= 0 ;
33301 PyObject
* obj3
= 0 ;
33302 PyObject
* obj4
= 0 ;
33303 PyObject
* obj5
= 0 ;
33304 char *kwnames
[] = {
33305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33310 if (SWIG_arg_fail(1)) SWIG_fail
;
33311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33312 if (SWIG_arg_fail(2)) SWIG_fail
;
33315 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
33316 if (SWIG_arg_fail(3)) SWIG_fail
;
33322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33333 arg6
= static_cast<long >(SWIG_As_long(obj5
));
33334 if (SWIG_arg_fail(6)) SWIG_fail
;
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
33341 wxPyEndAllowThreads(__tstate
);
33342 if (PyErr_Occurred()) SWIG_fail
;
33345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33353 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= NULL
;
33355 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33356 wxString
*arg2
= 0 ;
33358 bool temp2
= false ;
33359 PyObject
* obj0
= 0 ;
33360 PyObject
* obj1
= 0 ;
33361 PyObject
* obj2
= 0 ;
33362 char *kwnames
[] = {
33363 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33368 if (SWIG_arg_fail(1)) SWIG_fail
;
33370 arg2
= wxString_in_helper(obj1
);
33371 if (arg2
== NULL
) SWIG_fail
;
33375 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33376 if (SWIG_arg_fail(3)) SWIG_fail
;
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 Py_INCREF(Py_None
); resultobj
= Py_None
;
33400 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
33402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33403 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
33405 return Py_BuildValue((char *)"");
33407 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
= NULL
;
33409 wxWindow
*arg1
= (wxWindow
*) 0 ;
33410 int arg2
= (int) (int)-1 ;
33411 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33412 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33413 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33414 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33415 long arg5
= (long) 0 ;
33416 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33417 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33418 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33420 wxPyControl
*result
;
33423 bool temp7
= false ;
33424 PyObject
* obj0
= 0 ;
33425 PyObject
* obj1
= 0 ;
33426 PyObject
* obj2
= 0 ;
33427 PyObject
* obj3
= 0 ;
33428 PyObject
* obj4
= 0 ;
33429 PyObject
* obj5
= 0 ;
33430 PyObject
* obj6
= 0 ;
33431 char *kwnames
[] = {
33432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33437 if (SWIG_arg_fail(1)) SWIG_fail
;
33440 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33441 if (SWIG_arg_fail(2)) SWIG_fail
;
33447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33458 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33459 if (SWIG_arg_fail(5)) SWIG_fail
;
33464 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33465 if (SWIG_arg_fail(6)) SWIG_fail
;
33466 if (arg6
== NULL
) {
33467 SWIG_null_ref("wxValidator");
33469 if (SWIG_arg_fail(6)) SWIG_fail
;
33474 arg7
= wxString_in_helper(obj6
);
33475 if (arg7
== NULL
) SWIG_fail
;
33480 if (!wxPyCheckForApp()) SWIG_fail
;
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33502 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33503 PyObject
*resultobj
= NULL
;
33504 wxPyControl
*result
;
33505 char *kwnames
[] = {
33509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
33511 if (!wxPyCheckForApp()) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= (wxPyControl
*)new wxPyControl();
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33525 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
= NULL
;
33527 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33528 PyObject
*arg2
= (PyObject
*) 0 ;
33529 PyObject
*arg3
= (PyObject
*) 0 ;
33530 PyObject
* obj0
= 0 ;
33531 PyObject
* obj1
= 0 ;
33532 PyObject
* obj2
= 0 ;
33533 char *kwnames
[] = {
33534 (char *) "self",(char *) "self",(char *) "_class", NULL
33537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33539 if (SWIG_arg_fail(1)) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 Py_INCREF(Py_None
); resultobj
= Py_None
;
33556 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
= NULL
;
33558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33561 PyObject
* obj0
= 0 ;
33562 PyObject
* obj1
= 0 ;
33563 char *kwnames
[] = {
33564 (char *) "self",(char *) "size", NULL
33567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33569 if (SWIG_arg_fail(1)) SWIG_fail
;
33572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 Py_INCREF(Py_None
); resultobj
= Py_None
;
33588 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
= NULL
;
33590 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33591 wxDC
*arg2
= (wxDC
*) 0 ;
33593 PyObject
* obj0
= 0 ;
33594 PyObject
* obj1
= 0 ;
33595 char *kwnames
[] = {
33596 (char *) "self",(char *) "dc", NULL
33599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33601 if (SWIG_arg_fail(1)) SWIG_fail
;
33602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33603 if (SWIG_arg_fail(2)) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33620 static PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
= NULL
;
33622 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33627 PyObject
* obj0
= 0 ;
33628 PyObject
* obj1
= 0 ;
33629 PyObject
* obj2
= 0 ;
33630 PyObject
* obj3
= 0 ;
33631 PyObject
* obj4
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33638 if (SWIG_arg_fail(1)) SWIG_fail
;
33640 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33641 if (SWIG_arg_fail(2)) SWIG_fail
;
33644 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33645 if (SWIG_arg_fail(3)) SWIG_fail
;
33648 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33649 if (SWIG_arg_fail(4)) SWIG_fail
;
33652 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33653 if (SWIG_arg_fail(5)) SWIG_fail
;
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 Py_INCREF(Py_None
); resultobj
= Py_None
;
33669 static PyObject
*_wrap_PyControl_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
= NULL
;
33671 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33676 int arg6
= (int) wxSIZE_AUTO
;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 PyObject
* obj2
= 0 ;
33680 PyObject
* obj3
= 0 ;
33681 PyObject
* obj4
= 0 ;
33682 PyObject
* obj5
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33689 if (SWIG_arg_fail(1)) SWIG_fail
;
33691 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33692 if (SWIG_arg_fail(2)) SWIG_fail
;
33695 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33696 if (SWIG_arg_fail(3)) SWIG_fail
;
33699 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33700 if (SWIG_arg_fail(4)) SWIG_fail
;
33703 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33704 if (SWIG_arg_fail(5)) SWIG_fail
;
33708 arg6
= static_cast<int >(SWIG_As_int(obj5
));
33709 if (SWIG_arg_fail(6)) SWIG_fail
;
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 Py_INCREF(Py_None
); resultobj
= Py_None
;
33726 static PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
= NULL
;
33728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 PyObject
* obj2
= 0 ;
33734 char *kwnames
[] = {
33735 (char *) "self",(char *) "width",(char *) "height", NULL
33738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33740 if (SWIG_arg_fail(1)) SWIG_fail
;
33742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33743 if (SWIG_arg_fail(2)) SWIG_fail
;
33746 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33747 if (SWIG_arg_fail(3)) SWIG_fail
;
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 (arg1
)->DoSetClientSize(arg2
,arg3
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 Py_INCREF(Py_None
); resultobj
= Py_None
;
33763 static PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
= NULL
;
33765 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 PyObject
* obj2
= 0 ;
33771 char *kwnames
[] = {
33772 (char *) "self",(char *) "x",(char *) "y", NULL
33775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail
;
33779 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33780 if (SWIG_arg_fail(2)) SWIG_fail
;
33783 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33784 if (SWIG_arg_fail(3)) SWIG_fail
;
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
33790 wxPyEndAllowThreads(__tstate
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33793 Py_INCREF(Py_None
); resultobj
= Py_None
;
33800 static PyObject
*_wrap_PyControl_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
= NULL
;
33802 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33803 int *arg2
= (int *) 0 ;
33804 int *arg3
= (int *) 0 ;
33809 PyObject
* obj0
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self", NULL
33814 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33815 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetSize",kwnames
,&obj0
)) goto fail
;
33817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33818 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33827 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33828 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33829 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33830 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33837 static PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
= NULL
;
33839 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33840 int *arg2
= (int *) 0 ;
33841 int *arg3
= (int *) 0 ;
33846 PyObject
* obj0
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "self", NULL
33851 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33852 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
33854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33855 if (SWIG_arg_fail(1)) SWIG_fail
;
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 Py_INCREF(Py_None
); resultobj
= Py_None
;
33864 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33865 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33867 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33874 static PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33875 PyObject
*resultobj
= NULL
;
33876 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33877 int *arg2
= (int *) 0 ;
33878 int *arg3
= (int *) 0 ;
33883 PyObject
* obj0
= 0 ;
33884 char *kwnames
[] = {
33885 (char *) "self", NULL
33888 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33889 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetPosition",kwnames
,&obj0
)) goto fail
;
33891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33892 if (SWIG_arg_fail(1)) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 Py_INCREF(Py_None
); resultobj
= Py_None
;
33901 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33902 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33903 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33904 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33911 static PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
= NULL
;
33913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 char *kwnames
[] = {
33917 (char *) "self", NULL
33920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
33921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33922 if (SWIG_arg_fail(1)) SWIG_fail
;
33924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33925 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33931 wxSize
* resultptr
;
33932 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
33933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33941 static PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
= NULL
;
33943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33945 PyObject
* obj0
= 0 ;
33946 char *kwnames
[] = {
33947 (char *) "self", NULL
33950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
33951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33952 if (SWIG_arg_fail(1)) SWIG_fail
;
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33961 wxSize
* resultptr
;
33962 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
33963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33971 static PyObject
*_wrap_PyControl_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
= NULL
;
33973 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33974 PyObject
* obj0
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_InitDialog",kwnames
,&obj0
)) goto fail
;
33980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 (arg1
)->InitDialog();
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 Py_INCREF(Py_None
); resultobj
= Py_None
;
33996 static PyObject
*_wrap_PyControl_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
= NULL
;
33998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 char *kwnames
[] = {
34002 (char *) "self", NULL
34005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
34006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34007 if (SWIG_arg_fail(1)) SWIG_fail
;
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 result
= (bool)(arg1
)->TransferDataToWindow();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34024 static PyObject
*_wrap_PyControl_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
= NULL
;
34026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
34034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (bool)(arg1
)->TransferDataFromWindow();
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34052 static PyObject
*_wrap_PyControl_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34053 PyObject
*resultobj
= NULL
;
34054 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 char *kwnames
[] = {
34058 (char *) "self", NULL
34061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_Validate",kwnames
,&obj0
)) goto fail
;
34062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34063 if (SWIG_arg_fail(1)) SWIG_fail
;
34065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34066 result
= (bool)(arg1
)->Validate();
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34080 static PyObject
*_wrap_PyControl_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
= NULL
;
34082 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34084 PyObject
* obj0
= 0 ;
34085 char *kwnames
[] = {
34086 (char *) "self", NULL
34089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
34090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34091 if (SWIG_arg_fail(1)) SWIG_fail
;
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocus();
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34108 static PyObject
*_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
= NULL
;
34110 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34112 PyObject
* obj0
= 0 ;
34113 char *kwnames
[] = {
34114 (char *) "self", NULL
34117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
34118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34119 if (SWIG_arg_fail(1)) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocusFromKeyboard();
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34136 static PyObject
*_wrap_PyControl_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
= NULL
;
34138 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34140 PyObject
* obj0
= 0 ;
34141 char *kwnames
[] = {
34142 (char *) "self", NULL
34145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetMaxSize",kwnames
,&obj0
)) goto fail
;
34146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34147 if (SWIG_arg_fail(1)) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 result
= ((wxPyControl
const *)arg1
)->GetMaxSize();
34152 wxPyEndAllowThreads(__tstate
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34156 wxSize
* resultptr
;
34157 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34166 static PyObject
*_wrap_PyControl_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
= NULL
;
34168 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34169 wxWindow
*arg2
= (wxWindow
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self",(char *) "child", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail
;
34179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34180 if (SWIG_arg_fail(2)) SWIG_fail
;
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 (arg1
)->AddChild(arg2
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 Py_INCREF(Py_None
); resultobj
= Py_None
;
34195 static PyObject
*_wrap_PyControl_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
= NULL
;
34197 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34198 wxWindow
*arg2
= (wxWindow
*) 0 ;
34199 PyObject
* obj0
= 0 ;
34200 PyObject
* obj1
= 0 ;
34201 char *kwnames
[] = {
34202 (char *) "self",(char *) "child", NULL
34205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34207 if (SWIG_arg_fail(1)) SWIG_fail
;
34208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34209 if (SWIG_arg_fail(2)) SWIG_fail
;
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 (arg1
)->RemoveChild(arg2
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 Py_INCREF(Py_None
); resultobj
= Py_None
;
34224 static PyObject
*_wrap_PyControl_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
= NULL
;
34226 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 char *kwnames
[] = {
34230 (char *) "self", NULL
34233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
34234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34235 if (SWIG_arg_fail(1)) SWIG_fail
;
34237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34238 result
= (bool)((wxPyControl
const *)arg1
)->ShouldInheritColours();
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34252 static PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
= NULL
;
34254 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34255 wxVisualAttributes result
;
34256 PyObject
* obj0
= 0 ;
34257 char *kwnames
[] = {
34258 (char *) "self", NULL
34261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34263 if (SWIG_arg_fail(1)) SWIG_fail
;
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 result
= (arg1
)->GetDefaultAttributes();
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34272 wxVisualAttributes
* resultptr
;
34273 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
34274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34282 static PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34283 PyObject
*resultobj
= NULL
;
34284 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34285 PyObject
* obj0
= 0 ;
34286 char *kwnames
[] = {
34287 (char *) "self", NULL
34290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
34291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34292 if (SWIG_arg_fail(1)) SWIG_fail
;
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 (arg1
)->OnInternalIdle();
34297 wxPyEndAllowThreads(__tstate
);
34298 if (PyErr_Occurred()) SWIG_fail
;
34300 Py_INCREF(Py_None
); resultobj
= Py_None
;
34307 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
34309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34310 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
34312 return Py_BuildValue((char *)"");
34314 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
= NULL
;
34316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
34317 int arg2
= (int) 0 ;
34318 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34319 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34320 wxHelpEvent
*result
;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 PyObject
* obj2
= 0 ;
34325 char *kwnames
[] = {
34326 (char *) "type",(char *) "winid",(char *) "pt", NULL
34329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34332 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
34333 if (SWIG_arg_fail(1)) SWIG_fail
;
34338 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34339 if (SWIG_arg_fail(2)) SWIG_fail
;
34345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
34362 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
= NULL
;
34364 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34366 PyObject
* obj0
= 0 ;
34367 char *kwnames
[] = {
34368 (char *) "self", NULL
34371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
34372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34373 if (SWIG_arg_fail(1)) SWIG_fail
;
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34382 wxPoint
* resultptr
;
34383 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
34384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34392 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
= NULL
;
34394 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34395 wxPoint
*arg2
= 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "pos", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34417 Py_INCREF(Py_None
); resultobj
= Py_None
;
34424 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
= NULL
;
34426 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34428 PyObject
* obj0
= 0 ;
34429 char *kwnames
[] = {
34430 (char *) "self", NULL
34433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
34434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34435 if (SWIG_arg_fail(1)) SWIG_fail
;
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
34440 result
= (wxString
*) &_result_ref
;
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34459 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
= NULL
;
34461 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34462 wxString
*arg2
= 0 ;
34463 bool temp2
= false ;
34464 PyObject
* obj0
= 0 ;
34465 PyObject
* obj1
= 0 ;
34466 char *kwnames
[] = {
34467 (char *) "self",(char *) "link", NULL
34470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
34471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34472 if (SWIG_arg_fail(1)) SWIG_fail
;
34474 arg2
= wxString_in_helper(obj1
);
34475 if (arg2
== NULL
) SWIG_fail
;
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 (arg1
)->SetLink((wxString
const &)*arg2
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 Py_INCREF(Py_None
); resultobj
= Py_None
;
34500 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
= NULL
;
34502 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34504 PyObject
* obj0
= 0 ;
34505 char *kwnames
[] = {
34506 (char *) "self", NULL
34509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
34510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34511 if (SWIG_arg_fail(1)) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
34516 result
= (wxString
*) &_result_ref
;
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34526 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34535 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
= NULL
;
34537 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34538 wxString
*arg2
= 0 ;
34539 bool temp2
= false ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self",(char *) "target", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
34547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34548 if (SWIG_arg_fail(1)) SWIG_fail
;
34550 arg2
= wxString_in_helper(obj1
);
34551 if (arg2
== NULL
) SWIG_fail
;
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 (arg1
)->SetTarget((wxString
const &)*arg2
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 Py_INCREF(Py_None
); resultobj
= Py_None
;
34576 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
34578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34579 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
34581 return Py_BuildValue((char *)"");
34583 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
= NULL
;
34585 wxWindow
*arg1
= (wxWindow
*) NULL
;
34586 bool arg2
= (bool) true ;
34587 wxContextHelp
*result
;
34588 PyObject
* obj0
= 0 ;
34589 PyObject
* obj1
= 0 ;
34590 char *kwnames
[] = {
34591 (char *) "window",(char *) "doNow", NULL
34594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34597 if (SWIG_arg_fail(1)) SWIG_fail
;
34601 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
34602 if (SWIG_arg_fail(2)) SWIG_fail
;
34606 if (!wxPyCheckForApp()) SWIG_fail
;
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
34620 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
= NULL
;
34622 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34623 PyObject
* obj0
= 0 ;
34624 char *kwnames
[] = {
34625 (char *) "self", NULL
34628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
34629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34630 if (SWIG_arg_fail(1)) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 Py_INCREF(Py_None
); resultobj
= Py_None
;
34645 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= NULL
;
34647 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34648 wxWindow
*arg2
= (wxWindow
*) NULL
;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 char *kwnames
[] = {
34653 (char *) "self",(char *) "window", NULL
34656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34658 if (SWIG_arg_fail(1)) SWIG_fail
;
34660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34661 if (SWIG_arg_fail(2)) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34679 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34680 PyObject
*resultobj
= NULL
;
34681 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34683 PyObject
* obj0
= 0 ;
34684 char *kwnames
[] = {
34685 (char *) "self", NULL
34688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
34689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34690 if (SWIG_arg_fail(1)) SWIG_fail
;
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 result
= (bool)(arg1
)->EndContextHelp();
34695 wxPyEndAllowThreads(__tstate
);
34696 if (PyErr_Occurred()) SWIG_fail
;
34699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34707 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
34709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34710 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
34712 return Py_BuildValue((char *)"");
34714 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
= NULL
;
34716 wxWindow
*arg1
= (wxWindow
*) 0 ;
34717 int arg2
= (int) wxID_CONTEXT_HELP
;
34718 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34719 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34720 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34721 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34722 long arg5
= (long) wxBU_AUTODRAW
;
34723 wxContextHelpButton
*result
;
34726 PyObject
* obj0
= 0 ;
34727 PyObject
* obj1
= 0 ;
34728 PyObject
* obj2
= 0 ;
34729 PyObject
* obj3
= 0 ;
34730 PyObject
* obj4
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34737 if (SWIG_arg_fail(1)) SWIG_fail
;
34740 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34741 if (SWIG_arg_fail(2)) SWIG_fail
;
34747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34753 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34758 arg5
= static_cast<long >(SWIG_As_long(obj4
));
34759 if (SWIG_arg_fail(5)) SWIG_fail
;
34763 if (!wxPyCheckForApp()) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
34777 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
34779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34780 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
34782 return Py_BuildValue((char *)"");
34784 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
= NULL
;
34786 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34787 wxHelpProvider
*result
;
34788 PyObject
* obj0
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "helpProvider", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
34794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
34795 if (SWIG_arg_fail(1)) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34798 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 1);
34810 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34811 PyObject
*resultobj
= NULL
;
34812 wxHelpProvider
*result
;
34813 char *kwnames
[] = {
34817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= (wxHelpProvider
*)wxHelpProvider::Get();
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
34832 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
= NULL
;
34834 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34835 wxWindow
*arg2
= (wxWindow
*) 0 ;
34837 PyObject
* obj0
= 0 ;
34838 PyObject
* obj1
= 0 ;
34839 char *kwnames
[] = {
34840 (char *) "self",(char *) "window", NULL
34843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34845 if (SWIG_arg_fail(1)) SWIG_fail
;
34846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34847 if (SWIG_arg_fail(2)) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34868 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
= NULL
;
34870 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34871 wxWindow
*arg2
= (wxWindow
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 PyObject
* obj1
= 0 ;
34875 char *kwnames
[] = {
34876 (char *) "self",(char *) "window", NULL
34879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34881 if (SWIG_arg_fail(1)) SWIG_fail
;
34882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34883 if (SWIG_arg_fail(2)) SWIG_fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (bool)(arg1
)->ShowHelp(arg2
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34900 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
= NULL
;
34902 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34903 wxWindow
*arg2
= (wxWindow
*) 0 ;
34904 wxString
*arg3
= 0 ;
34905 bool temp3
= false ;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 char *kwnames
[] = {
34910 (char *) "self",(char *) "window",(char *) "text", NULL
34913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34915 if (SWIG_arg_fail(1)) SWIG_fail
;
34916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34917 if (SWIG_arg_fail(2)) SWIG_fail
;
34919 arg3
= wxString_in_helper(obj2
);
34920 if (arg3
== NULL
) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 Py_INCREF(Py_None
); resultobj
= Py_None
;
34945 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
= NULL
;
34947 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34949 wxString
*arg3
= 0 ;
34950 bool temp3
= false ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 PyObject
* obj2
= 0 ;
34954 char *kwnames
[] = {
34955 (char *) "self",(char *) "id",(char *) "text", NULL
34958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34960 if (SWIG_arg_fail(1)) SWIG_fail
;
34962 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34963 if (SWIG_arg_fail(2)) SWIG_fail
;
34966 arg3
= wxString_in_helper(obj2
);
34967 if (arg3
== NULL
) SWIG_fail
;
34971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34972 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34977 Py_INCREF(Py_None
); resultobj
= Py_None
;
34992 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
= NULL
;
34994 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34995 wxWindow
*arg2
= (wxWindow
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self",(char *) "window", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35004 if (SWIG_arg_fail(1)) SWIG_fail
;
35005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35006 if (SWIG_arg_fail(2)) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 (arg1
)->RemoveHelp(arg2
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 Py_INCREF(Py_None
); resultobj
= Py_None
;
35021 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
= NULL
;
35023 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 char *kwnames
[] = {
35026 (char *) "self", NULL
35029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
35030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35031 if (SWIG_arg_fail(1)) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 wxHelpProvider_Destroy(arg1
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35039 Py_INCREF(Py_None
); resultobj
= Py_None
;
35046 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35049 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
35051 return Py_BuildValue((char *)"");
35053 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= NULL
;
35055 wxSimpleHelpProvider
*result
;
35056 char *kwnames
[] = {
35060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
35065 wxPyEndAllowThreads(__tstate
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
35075 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35078 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
35080 return Py_BuildValue((char *)"");
35082 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
= NULL
;
35084 wxBitmap
*arg1
= 0 ;
35085 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35086 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35087 wxGenericDragImage
*result
;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "image",(char *) "cursor", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
35096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35097 if (SWIG_arg_fail(1)) SWIG_fail
;
35098 if (arg1
== NULL
) {
35099 SWIG_null_ref("wxBitmap");
35101 if (SWIG_arg_fail(1)) SWIG_fail
;
35105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35106 if (SWIG_arg_fail(2)) SWIG_fail
;
35107 if (arg2
== NULL
) {
35108 SWIG_null_ref("wxCursor");
35110 if (SWIG_arg_fail(2)) SWIG_fail
;
35114 if (!wxPyCheckForApp()) SWIG_fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35128 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
= NULL
;
35131 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35132 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35133 wxGenericDragImage
*result
;
35134 PyObject
* obj0
= 0 ;
35135 PyObject
* obj1
= 0 ;
35136 char *kwnames
[] = {
35137 (char *) "image",(char *) "cursor", NULL
35140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
35142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
35143 if (SWIG_arg_fail(1)) SWIG_fail
;
35144 if (arg1
== NULL
) {
35145 SWIG_null_ref("wxIcon");
35147 if (SWIG_arg_fail(1)) SWIG_fail
;
35151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35152 if (SWIG_arg_fail(2)) SWIG_fail
;
35153 if (arg2
== NULL
) {
35154 SWIG_null_ref("wxCursor");
35156 if (SWIG_arg_fail(2)) SWIG_fail
;
35160 if (!wxPyCheckForApp()) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35174 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= NULL
;
35176 wxString
*arg1
= 0 ;
35177 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35178 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35179 wxGenericDragImage
*result
;
35180 bool temp1
= false ;
35181 PyObject
* obj0
= 0 ;
35182 PyObject
* obj1
= 0 ;
35183 char *kwnames
[] = {
35184 (char *) "str",(char *) "cursor", NULL
35187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
35189 arg1
= wxString_in_helper(obj0
);
35190 if (arg1
== NULL
) SWIG_fail
;
35195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35196 if (SWIG_arg_fail(2)) SWIG_fail
;
35197 if (arg2
== NULL
) {
35198 SWIG_null_ref("wxCursor");
35200 if (SWIG_arg_fail(2)) SWIG_fail
;
35204 if (!wxPyCheckForApp()) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35226 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= NULL
;
35228 wxPyTreeCtrl
*arg1
= 0 ;
35229 wxTreeItemId
*arg2
= 0 ;
35230 wxGenericDragImage
*result
;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 char *kwnames
[] = {
35234 (char *) "treeCtrl",(char *) "id", NULL
35237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35240 if (SWIG_arg_fail(1)) SWIG_fail
;
35241 if (arg1
== NULL
) {
35242 SWIG_null_ref("wxPyTreeCtrl");
35244 if (SWIG_arg_fail(1)) SWIG_fail
;
35247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
35248 if (SWIG_arg_fail(2)) SWIG_fail
;
35249 if (arg2
== NULL
) {
35250 SWIG_null_ref("wxTreeItemId");
35252 if (SWIG_arg_fail(2)) SWIG_fail
;
35255 if (!wxPyCheckForApp()) SWIG_fail
;
35256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35257 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35269 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35270 PyObject
*resultobj
= NULL
;
35271 wxPyListCtrl
*arg1
= 0 ;
35273 wxGenericDragImage
*result
;
35274 PyObject
* obj0
= 0 ;
35275 PyObject
* obj1
= 0 ;
35276 char *kwnames
[] = {
35277 (char *) "listCtrl",(char *) "id", NULL
35280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35283 if (SWIG_arg_fail(1)) SWIG_fail
;
35284 if (arg1
== NULL
) {
35285 SWIG_null_ref("wxPyListCtrl");
35287 if (SWIG_arg_fail(1)) SWIG_fail
;
35290 arg2
= static_cast<long >(SWIG_As_long(obj1
));
35291 if (SWIG_arg_fail(2)) SWIG_fail
;
35294 if (!wxPyCheckForApp()) SWIG_fail
;
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35308 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
= NULL
;
35310 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35311 PyObject
* obj0
= 0 ;
35312 char *kwnames
[] = {
35313 (char *) "self", NULL
35316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
35317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35318 if (SWIG_arg_fail(1)) SWIG_fail
;
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35326 Py_INCREF(Py_None
); resultobj
= Py_None
;
35333 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
= NULL
;
35335 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35336 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35337 PyObject
* obj0
= 0 ;
35338 PyObject
* obj1
= 0 ;
35339 char *kwnames
[] = {
35340 (char *) "self",(char *) "bitmap", NULL
35343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35345 if (SWIG_arg_fail(1)) SWIG_fail
;
35346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35347 if (SWIG_arg_fail(2)) SWIG_fail
;
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35350 (arg1
)->SetBackingBitmap(arg2
);
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 Py_INCREF(Py_None
); resultobj
= Py_None
;
35362 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
= NULL
;
35364 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35365 wxPoint
*arg2
= 0 ;
35366 wxWindow
*arg3
= (wxWindow
*) 0 ;
35367 bool arg4
= (bool) false ;
35368 wxRect
*arg5
= (wxRect
*) NULL
;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 PyObject
* obj2
= 0 ;
35374 PyObject
* obj3
= 0 ;
35375 PyObject
* obj4
= 0 ;
35376 char *kwnames
[] = {
35377 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35382 if (SWIG_arg_fail(1)) SWIG_fail
;
35385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35387 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35388 if (SWIG_arg_fail(3)) SWIG_fail
;
35391 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35392 if (SWIG_arg_fail(4)) SWIG_fail
;
35396 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
35397 if (SWIG_arg_fail(5)) SWIG_fail
;
35400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35401 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35415 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
= NULL
;
35417 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35418 wxPoint
*arg2
= 0 ;
35419 wxWindow
*arg3
= (wxWindow
*) 0 ;
35420 wxWindow
*arg4
= (wxWindow
*) 0 ;
35423 PyObject
* obj0
= 0 ;
35424 PyObject
* obj1
= 0 ;
35425 PyObject
* obj2
= 0 ;
35426 PyObject
* obj3
= 0 ;
35427 char *kwnames
[] = {
35428 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35433 if (SWIG_arg_fail(1)) SWIG_fail
;
35436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35438 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35439 if (SWIG_arg_fail(3)) SWIG_fail
;
35440 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35441 if (SWIG_arg_fail(4)) SWIG_fail
;
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35458 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35459 PyObject
*resultobj
= NULL
;
35460 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35462 PyObject
* obj0
= 0 ;
35463 char *kwnames
[] = {
35464 (char *) "self", NULL
35467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
35468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35469 if (SWIG_arg_fail(1)) SWIG_fail
;
35471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35472 result
= (bool)(arg1
)->EndDrag();
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35486 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= NULL
;
35488 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35489 wxPoint
*arg2
= 0 ;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 char *kwnames
[] = {
35495 (char *) "self",(char *) "pt", NULL
35498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
35499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35500 if (SWIG_arg_fail(1)) SWIG_fail
;
35503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35521 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= NULL
;
35523 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35525 PyObject
* obj0
= 0 ;
35526 char *kwnames
[] = {
35527 (char *) "self", NULL
35530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
35531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35532 if (SWIG_arg_fail(1)) SWIG_fail
;
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= (bool)(arg1
)->Show();
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35549 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35550 PyObject
*resultobj
= NULL
;
35551 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35553 PyObject
* obj0
= 0 ;
35554 char *kwnames
[] = {
35555 (char *) "self", NULL
35558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
35559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35560 if (SWIG_arg_fail(1)) SWIG_fail
;
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= (bool)(arg1
)->Hide();
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35577 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
= NULL
;
35579 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35580 wxPoint
*arg2
= 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 char *kwnames
[] = {
35586 (char *) "self",(char *) "pos", NULL
35589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
35590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35591 if (SWIG_arg_fail(1)) SWIG_fail
;
35594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35604 wxRect
* resultptr
;
35605 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
35606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35614 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
= NULL
;
35616 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35618 wxPoint
*arg3
= 0 ;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 PyObject
* obj2
= 0 ;
35624 char *kwnames
[] = {
35625 (char *) "self",(char *) "dc",(char *) "pos", NULL
35628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35630 if (SWIG_arg_fail(1)) SWIG_fail
;
35632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35633 if (SWIG_arg_fail(2)) SWIG_fail
;
35634 if (arg2
== NULL
) {
35635 SWIG_null_ref("wxDC");
35637 if (SWIG_arg_fail(2)) SWIG_fail
;
35641 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35659 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
= NULL
;
35661 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35663 wxMemoryDC
*arg3
= 0 ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 PyObject
* obj2
= 0 ;
35672 PyObject
* obj3
= 0 ;
35673 PyObject
* obj4
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35680 if (SWIG_arg_fail(1)) SWIG_fail
;
35682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35683 if (SWIG_arg_fail(2)) SWIG_fail
;
35684 if (arg2
== NULL
) {
35685 SWIG_null_ref("wxDC");
35687 if (SWIG_arg_fail(2)) SWIG_fail
;
35690 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
35691 if (SWIG_arg_fail(3)) SWIG_fail
;
35692 if (arg3
== NULL
) {
35693 SWIG_null_ref("wxMemoryDC");
35695 if (SWIG_arg_fail(3)) SWIG_fail
;
35699 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35703 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
35706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
35709 wxPyEndAllowThreads(__tstate
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35721 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35722 PyObject
*resultobj
= NULL
;
35723 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35724 wxPoint
*arg2
= 0 ;
35725 wxPoint
*arg3
= 0 ;
35731 PyObject
* obj0
= 0 ;
35732 PyObject
* obj1
= 0 ;
35733 PyObject
* obj2
= 0 ;
35734 PyObject
* obj3
= 0 ;
35735 PyObject
* obj4
= 0 ;
35736 char *kwnames
[] = {
35737 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35742 if (SWIG_arg_fail(1)) SWIG_fail
;
35745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35752 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35753 if (SWIG_arg_fail(4)) SWIG_fail
;
35756 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
35757 if (SWIG_arg_fail(5)) SWIG_fail
;
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35775 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
35777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35778 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
35780 return Py_BuildValue((char *)"");
35782 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
35783 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
35788 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
35789 PyObject
*pyobj
= NULL
;
35793 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35795 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35802 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
= NULL
;
35804 wxWindow
*arg1
= (wxWindow
*) 0 ;
35805 int arg2
= (int) -1 ;
35806 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
35807 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
35808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
35809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
35810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
35811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
35812 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
35813 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
35814 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
35815 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
35816 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
35817 wxDatePickerCtrl
*result
;
35820 bool temp8
= false ;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 PyObject
* obj2
= 0 ;
35824 PyObject
* obj3
= 0 ;
35825 PyObject
* obj4
= 0 ;
35826 PyObject
* obj5
= 0 ;
35827 PyObject
* obj6
= 0 ;
35828 PyObject
* obj7
= 0 ;
35829 char *kwnames
[] = {
35830 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
35834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35835 if (SWIG_arg_fail(1)) SWIG_fail
;
35838 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35839 if (SWIG_arg_fail(2)) SWIG_fail
;
35844 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35845 if (SWIG_arg_fail(3)) SWIG_fail
;
35846 if (arg3
== NULL
) {
35847 SWIG_null_ref("wxDateTime");
35849 if (SWIG_arg_fail(3)) SWIG_fail
;
35855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35861 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
35866 arg6
= static_cast<long >(SWIG_As_long(obj5
));
35867 if (SWIG_arg_fail(6)) SWIG_fail
;
35872 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35873 if (SWIG_arg_fail(7)) SWIG_fail
;
35874 if (arg7
== NULL
) {
35875 SWIG_null_ref("wxValidator");
35877 if (SWIG_arg_fail(7)) SWIG_fail
;
35882 arg8
= wxString_in_helper(obj7
);
35883 if (arg8
== NULL
) SWIG_fail
;
35888 if (!wxPyCheckForApp()) SWIG_fail
;
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
35910 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
= NULL
;
35912 wxDatePickerCtrl
*result
;
35913 char *kwnames
[] = {
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
35919 if (!wxPyCheckForApp()) SWIG_fail
;
35920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35921 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
35933 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= NULL
;
35935 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35936 wxWindow
*arg2
= (wxWindow
*) 0 ;
35937 int arg3
= (int) -1 ;
35938 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
35939 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
35940 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
35941 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
35942 wxSize
const &arg6_defvalue
= wxDefaultSize
;
35943 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
35944 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
35945 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
35946 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
35947 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
35948 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
35952 bool temp9
= false ;
35953 PyObject
* obj0
= 0 ;
35954 PyObject
* obj1
= 0 ;
35955 PyObject
* obj2
= 0 ;
35956 PyObject
* obj3
= 0 ;
35957 PyObject
* obj4
= 0 ;
35958 PyObject
* obj5
= 0 ;
35959 PyObject
* obj6
= 0 ;
35960 PyObject
* obj7
= 0 ;
35961 PyObject
* obj8
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
35967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35968 if (SWIG_arg_fail(1)) SWIG_fail
;
35969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35970 if (SWIG_arg_fail(2)) SWIG_fail
;
35973 arg3
= static_cast<int >(SWIG_As_int(obj2
));
35974 if (SWIG_arg_fail(3)) SWIG_fail
;
35979 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35980 if (SWIG_arg_fail(4)) SWIG_fail
;
35981 if (arg4
== NULL
) {
35982 SWIG_null_ref("wxDateTime");
35984 if (SWIG_arg_fail(4)) SWIG_fail
;
35990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
35996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36001 arg7
= static_cast<long >(SWIG_As_long(obj6
));
36002 if (SWIG_arg_fail(7)) SWIG_fail
;
36007 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36008 if (SWIG_arg_fail(8)) SWIG_fail
;
36009 if (arg8
== NULL
) {
36010 SWIG_null_ref("wxValidator");
36012 if (SWIG_arg_fail(8)) SWIG_fail
;
36017 arg9
= wxString_in_helper(obj8
);
36018 if (arg9
== NULL
) SWIG_fail
;
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36046 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
= NULL
;
36048 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36049 wxDateTime
*arg2
= 0 ;
36050 PyObject
* obj0
= 0 ;
36051 PyObject
* obj1
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self",(char *) "dt", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
36057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(1)) SWIG_fail
;
36060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36061 if (SWIG_arg_fail(2)) SWIG_fail
;
36062 if (arg2
== NULL
) {
36063 SWIG_null_ref("wxDateTime");
36065 if (SWIG_arg_fail(2)) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 Py_INCREF(Py_None
); resultobj
= Py_None
;
36081 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
= NULL
;
36083 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 char *kwnames
[] = {
36087 (char *) "self", NULL
36090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
36091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36092 if (SWIG_arg_fail(1)) SWIG_fail
;
36094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36095 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
36097 wxPyEndAllowThreads(__tstate
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36101 wxDateTime
* resultptr
;
36102 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36111 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= NULL
;
36113 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36114 wxDateTime
*arg2
= 0 ;
36115 wxDateTime
*arg3
= 0 ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 PyObject
* obj2
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36125 if (SWIG_arg_fail(1)) SWIG_fail
;
36127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36128 if (SWIG_arg_fail(2)) SWIG_fail
;
36129 if (arg2
== NULL
) {
36130 SWIG_null_ref("wxDateTime");
36132 if (SWIG_arg_fail(2)) SWIG_fail
;
36135 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36136 if (SWIG_arg_fail(3)) SWIG_fail
;
36137 if (arg3
== NULL
) {
36138 SWIG_null_ref("wxDateTime");
36140 if (SWIG_arg_fail(3)) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 Py_INCREF(Py_None
); resultobj
= Py_None
;
36156 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
= NULL
;
36158 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
36166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36167 if (SWIG_arg_fail(1)) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36176 wxDateTime
* resultptr
;
36177 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36186 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36187 PyObject
*resultobj
= NULL
;
36188 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36190 PyObject
* obj0
= 0 ;
36191 char *kwnames
[] = {
36192 (char *) "self", NULL
36195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
36196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36197 if (SWIG_arg_fail(1)) SWIG_fail
;
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
36202 wxPyEndAllowThreads(__tstate
);
36203 if (PyErr_Occurred()) SWIG_fail
;
36206 wxDateTime
* resultptr
;
36207 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36216 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
36218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36219 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
36221 return Py_BuildValue((char *)"");
36223 static PyMethodDef SwigMethods
[] = {
36224 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
36231 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36235 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
) _wrap_BitmapButton_GetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
36248 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36249 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36256 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
36260 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
36266 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36291 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36292 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36294 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36296 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
36297 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
36311 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
36316 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
36323 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
36329 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36336 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
36337 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36343 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36353 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
36360 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
36368 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36387 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36392 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36398 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
36399 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
36455 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
36460 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
36472 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
36485 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
36497 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
36501 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
36519 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
36526 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
36552 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
36560 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_GetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
) _wrap_BookCtrlBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
36587 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
36593 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
36604 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
36606 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
36611 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
36613 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
36619 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
36621 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"new_PreTreebook", (PyCFunction
) _wrap_new_PreTreebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"Treebook_InsertPage", (PyCFunction
) _wrap_Treebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"Treebook_AddPage", (PyCFunction
) _wrap_Treebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"Treebook_DeletePage", (PyCFunction
) _wrap_Treebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
) _wrap_Treebook_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
36635 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
36637 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"new_PreToolbook", (PyCFunction
) _wrap_new_PreToolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"Toolbook_GetToolBar", (PyCFunction
) _wrap_Toolbook_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"Toolbook_Realize", (PyCFunction
) _wrap_Toolbook_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
36643 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
36645 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
36675 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
36720 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
36726 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"delete_ListItemAttr", (PyCFunction
) _wrap_delete_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
36740 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
36792 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
36819 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
36892 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
36904 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
36912 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"delete_TreeItemData", (PyCFunction
) _wrap_delete_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
36920 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
36937 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
37013 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
37035 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
37040 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"PyControl_DoGetSize", (PyCFunction
) _wrap_PyControl_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"PyControl_DoGetClientSize", (PyCFunction
) _wrap_PyControl_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"PyControl_DoGetPosition", (PyCFunction
) _wrap_PyControl_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"PyControl_DoGetBestSize", (PyCFunction
) _wrap_PyControl_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"PyControl_InitDialog", (PyCFunction
) _wrap_PyControl_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37055 { (char *)"PyControl_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"PyControl_Validate", (PyCFunction
) _wrap_PyControl_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"PyControl_AcceptsFocus", (PyCFunction
) _wrap_PyControl_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"PyControl_GetMaxSize", (PyCFunction
) _wrap_PyControl_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"PyControl_AddChild", (PyCFunction
) _wrap_PyControl_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"PyControl_RemoveChild", (PyCFunction
) _wrap_PyControl_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"PyControl_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"PyControl_OnInternalIdle", (PyCFunction
) _wrap_PyControl_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
37067 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
37075 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
37080 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
37082 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
37091 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
37093 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37107 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37110 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
37111 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37112 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
37120 { NULL
, NULL
, 0, NULL
}
37124 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37126 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37129 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37130 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37132 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37133 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37135 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37136 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37138 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37139 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37141 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
37142 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37144 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
37145 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37147 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37148 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37150 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37151 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37153 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37156 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
37157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37159 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37160 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37162 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37165 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
37166 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37168 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
37169 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37171 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
37172 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37174 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
37175 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37177 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
37178 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37180 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
37181 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37183 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
37184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
37186 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37187 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37189 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37192 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37193 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37195 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37196 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37198 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37199 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37201 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37202 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37204 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37205 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37207 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37208 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37210 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37213 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37214 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37217 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37219 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37222 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37223 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37225 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37226 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37228 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37229 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37231 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37232 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37235 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37237 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37238 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37243 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37244 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37246 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37247 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37249 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37252 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37255 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37256 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37258 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37259 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37261 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37262 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37264 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
37265 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37267 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
37268 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
37270 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
37271 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37273 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
37274 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37276 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37277 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37279 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
37280 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37282 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
37283 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37285 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
37286 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
37288 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
37289 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
37291 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
37292 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
37294 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
37295 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
37297 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
37298 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
37300 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
37301 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
37303 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
37304 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
37306 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
37307 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37309 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
37310 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
37312 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
37313 return (void *)((wxControl
*) ((wxComboBox
*) x
));
37315 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
37316 return (void *)((wxControl
*) ((wxPyControl
*) x
));
37318 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
37319 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
37321 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
37322 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
37324 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37325 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37327 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
37328 return (void *)((wxControl
*) ((wxGauge
*) x
));
37330 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
37331 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
37333 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
37334 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37336 static void *_p_wxListbookTo_p_wxControl(void *x
) {
37337 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
37339 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
37340 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
37342 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
37343 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
37345 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
37346 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
37348 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
37349 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37351 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
37352 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37354 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
37355 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37357 static void *_p_wxListViewTo_p_wxControl(void *x
) {
37358 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
37360 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
37361 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
37363 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
37364 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
37366 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
37367 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
37369 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
37370 return (void *)((wxControl
*) ((wxStaticText
*) x
));
37372 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
37373 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
37375 static void *_p_wxSliderTo_p_wxControl(void *x
) {
37376 return (void *)((wxControl
*) ((wxSlider
*) x
));
37378 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
37379 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
37381 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
37382 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
37384 static void *_p_wxButtonTo_p_wxControl(void *x
) {
37385 return (void *)((wxControl
*) ((wxButton
*) x
));
37387 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
37388 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
37390 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
37391 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37393 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
37394 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
37396 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
37397 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
37399 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
37400 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
37402 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
37403 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37405 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
37406 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37408 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
37409 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37411 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
37412 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
37414 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
37415 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37417 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
37418 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37420 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
37421 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37423 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
37424 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37426 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
37427 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37429 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
37430 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37432 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
37433 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37435 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
37436 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
37438 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
37439 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
37441 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
37442 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
37444 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
37445 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
37447 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37448 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37450 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
37451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37453 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37454 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37456 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37457 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37459 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
37460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37462 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37463 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37465 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
37466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37468 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
37469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37471 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
37472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37474 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37475 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37477 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37480 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
37481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37483 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
37484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37486 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
37487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37489 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
37490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37492 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
37493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37495 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37496 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37498 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
37499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37501 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
37502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37504 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37507 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
37508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37510 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
37511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37513 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
37514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37516 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
37517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37519 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
37520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37522 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
37523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37525 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
37526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37528 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
37529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37531 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
37532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37534 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
37535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37537 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
37538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37540 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
37541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37543 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
37544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37546 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
37547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37549 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
37550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37552 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
37553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37555 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
37556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37558 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
37559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37561 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
37562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37564 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
37565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37567 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
37568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37570 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
37571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37573 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
37574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37576 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
37577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37579 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
37580 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
37582 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
37583 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
37585 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
37586 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37588 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
37589 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37591 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
37592 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
37594 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37595 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37597 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
37598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37600 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37601 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37603 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37604 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37606 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37609 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37610 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37612 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
37613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37615 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37616 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37618 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37619 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37621 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37622 return (void *)((wxObject
*) ((wxSizer
*) x
));
37624 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37625 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37627 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
37628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37630 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
37631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37633 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37636 static void *_p_wxEventTo_p_wxObject(void *x
) {
37637 return (void *)((wxObject
*) ((wxEvent
*) x
));
37639 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37640 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37642 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37643 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37645 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37646 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37648 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
37649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37651 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
37652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37654 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
37655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37664 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37667 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37675 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
37676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37678 static void *_p_wxControlTo_p_wxObject(void *x
) {
37679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37681 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
37682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37684 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
37685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37687 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
37688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37690 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
37691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37693 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
37694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37696 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37697 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37699 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
37700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37702 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37703 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37705 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37706 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37708 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
37709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37711 static void *_p_wxListViewTo_p_wxObject(void *x
) {
37712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37714 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
37715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37717 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
37718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37720 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37721 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37723 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37726 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
37727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37729 static void *_p_wxListbookTo_p_wxObject(void *x
) {
37730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37732 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37733 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37735 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
37736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37738 static void *_p_wxSliderTo_p_wxObject(void *x
) {
37739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37741 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37742 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37744 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37747 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37748 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37750 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37753 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37754 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37756 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37757 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37759 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37760 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37762 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37763 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37765 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37766 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37768 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37769 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37771 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
37772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37774 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
37775 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
37777 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
37778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37795 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37798 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37799 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37801 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37807 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37810 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37811 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37813 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37816 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37819 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37820 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37822 static void *_p_wxListEventTo_p_wxObject(void *x
) {
37823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37825 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
37826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37828 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
37829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37831 static void *_p_wxButtonTo_p_wxObject(void *x
) {
37832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37834 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
37835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37837 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
37838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37840 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
37841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37843 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37844 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37846 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37847 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37849 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
37850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37852 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
37853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37855 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
37856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37858 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
37859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
37861 static void *_p_wxListItemTo_p_wxObject(void *x
) {
37862 return (void *)((wxObject
*) ((wxListItem
*) x
));
37864 static void *_p_wxImageTo_p_wxObject(void *x
) {
37865 return (void *)((wxObject
*) ((wxImage
*) x
));
37867 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37868 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37870 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
37871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37873 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
37874 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
37876 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
37877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37879 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
37880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37882 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
37883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37885 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
37886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37888 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
37889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37891 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
37892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37894 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37897 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37898 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37900 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37901 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37903 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37904 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37906 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37907 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37909 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37912 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37913 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37915 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37918 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37919 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37921 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37922 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37924 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37925 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37927 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37928 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37930 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37931 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37933 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
37934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37936 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
37937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37939 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37942 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37943 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37945 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
37946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37948 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37949 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37951 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37952 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37954 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37957 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
37958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37960 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37963 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
37964 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
37966 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
37967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37969 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37972 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37975 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37976 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37978 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
37979 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
37981 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
37982 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37984 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
37985 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
37987 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
37988 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
37990 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
37991 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37993 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37994 return (void *)((wxWindow
*) ((wxControl
*) x
));
37996 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
37997 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
37999 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
38000 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
38002 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
38003 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
38005 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
38006 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38008 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
38009 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
38011 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
38012 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
38014 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
38015 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
38017 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38018 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38020 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
38021 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
38023 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
38024 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
38026 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
38027 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
38029 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
38030 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
38032 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
38033 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
38035 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
38036 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
38038 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
38039 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
38041 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
38042 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38044 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
38045 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
38047 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
38048 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38050 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
38051 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
38053 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
38054 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
38056 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
38057 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
38059 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
38060 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
38062 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
38063 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
38065 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
38066 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
38068 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
38069 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
38071 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
38072 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
38074 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
38075 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
38077 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
38078 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
38080 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
38081 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38083 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
38084 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38086 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
38087 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
38089 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
38090 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
38092 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38093 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38095 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38096 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38098 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38099 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38101 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38102 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38104 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38105 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38107 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
38108 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38110 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
38111 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
38113 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
38114 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
38116 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
38117 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38119 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
38120 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38122 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
38123 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38125 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
38126 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38128 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
38129 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38131 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
38132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38134 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
38135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38137 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
38138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38140 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
38141 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
38143 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
38144 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38146 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
38147 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
38149 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
38150 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38152 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
38153 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38155 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
38156 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38158 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
38159 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
38161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
38162 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38164 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
38165 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38167 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
38168 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38170 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
38171 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
38173 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
38174 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
38176 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
38177 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
38179 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
38180 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
38182 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
38183 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
38184 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38185 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
38186 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
38187 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38188 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38189 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38190 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
38191 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38192 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38193 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38194 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38195 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38196 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38197 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
38198 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38199 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38200 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38201 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38202 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38203 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
38204 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38205 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38206 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38207 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
38208 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38209 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38210 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38211 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
38212 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38213 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38214 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38215 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38216 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
38217 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38218 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38219 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
38220 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38221 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38222 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38223 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38224 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38225 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
38226 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
38227 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
38228 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38229 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38230 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
38231 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
38232 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38233 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38234 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
38235 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
38236 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
38237 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
38238 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
38239 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38240 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38241 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38242 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38243 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38244 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38245 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
38246 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
38247 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38248 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38249 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38250 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
38251 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
38252 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
38253 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
38254 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
38255 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38256 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38257 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38258 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38259 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38260 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38261 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38262 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38263 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38264 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38265 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38266 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38267 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38268 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
38269 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38270 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38271 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38272 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38273 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38274 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38275 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38276 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
38277 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38278 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
38279 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
38280 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38281 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38282 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
38283 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
38284 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
38285 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
38286 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38287 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
38288 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
38289 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
38290 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
38291 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
38292 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
38293 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
38294 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
38295 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
38296 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
38297 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
38298 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
38299 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
38300 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
38301 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
38302 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
38303 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38304 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38305 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
38306 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
38307 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38308 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38309 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38310 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38311 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38312 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38313 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38314 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38315 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
38316 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38317 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38318 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
38319 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38320 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38321 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38322 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38323 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38324 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38325 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38326 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38327 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
38328 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38329 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38330 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38331 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38332 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38333 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38334 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38335 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38336 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38337 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38338 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38339 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38340 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38341 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38342 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38343 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38344 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38345 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38346 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38347 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38349 static swig_type_info
*swig_type_initial
[] = {
38352 &_swigt__p_form_ops_t
,
38355 &_swigt__p_unsigned_char
,
38356 &_swigt__p_unsigned_int
,
38357 &_swigt__p_unsigned_long
,
38359 &_swigt__p_wxANIHandler
,
38360 &_swigt__p_wxAcceleratorTable
,
38361 &_swigt__p_wxActivateEvent
,
38362 &_swigt__p_wxArrayInt
,
38363 &_swigt__p_wxArrayString
,
38364 &_swigt__p_wxBMPHandler
,
38365 &_swigt__p_wxBitmap
,
38366 &_swigt__p_wxBitmapButton
,
38367 &_swigt__p_wxBookCtrlBase
,
38368 &_swigt__p_wxBookCtrlBaseEvent
,
38369 &_swigt__p_wxBoxSizer
,
38370 &_swigt__p_wxButton
,
38371 &_swigt__p_wxCURHandler
,
38372 &_swigt__p_wxCheckBox
,
38373 &_swigt__p_wxCheckListBox
,
38374 &_swigt__p_wxChildFocusEvent
,
38375 &_swigt__p_wxChoice
,
38376 &_swigt__p_wxChoicebook
,
38377 &_swigt__p_wxChoicebookEvent
,
38378 &_swigt__p_wxCloseEvent
,
38379 &_swigt__p_wxColour
,
38380 &_swigt__p_wxComboBox
,
38381 &_swigt__p_wxCommandEvent
,
38382 &_swigt__p_wxContextHelp
,
38383 &_swigt__p_wxContextHelpButton
,
38384 &_swigt__p_wxContextMenuEvent
,
38385 &_swigt__p_wxControl
,
38386 &_swigt__p_wxControlWithItems
,
38387 &_swigt__p_wxCursor
,
38389 &_swigt__p_wxDateEvent
,
38390 &_swigt__p_wxDatePickerCtrl
,
38391 &_swigt__p_wxDateTime
,
38392 &_swigt__p_wxDirFilterListCtrl
,
38393 &_swigt__p_wxDisplayChangedEvent
,
38394 &_swigt__p_wxDropFilesEvent
,
38395 &_swigt__p_wxDuplexMode
,
38396 &_swigt__p_wxEraseEvent
,
38397 &_swigt__p_wxEvent
,
38398 &_swigt__p_wxEvtHandler
,
38399 &_swigt__p_wxFSFile
,
38400 &_swigt__p_wxFileSystem
,
38401 &_swigt__p_wxFlexGridSizer
,
38402 &_swigt__p_wxFocusEvent
,
38404 &_swigt__p_wxGBSizerItem
,
38405 &_swigt__p_wxGIFHandler
,
38406 &_swigt__p_wxGauge
,
38407 &_swigt__p_wxGenericDirCtrl
,
38408 &_swigt__p_wxGenericDragImage
,
38409 &_swigt__p_wxGridBagSizer
,
38410 &_swigt__p_wxGridSizer
,
38411 &_swigt__p_wxHelpEvent
,
38412 &_swigt__p_wxHelpProvider
,
38413 &_swigt__p_wxICOHandler
,
38415 &_swigt__p_wxIconizeEvent
,
38416 &_swigt__p_wxIdleEvent
,
38417 &_swigt__p_wxImage
,
38418 &_swigt__p_wxImageHandler
,
38419 &_swigt__p_wxImageList
,
38420 &_swigt__p_wxIndividualLayoutConstraint
,
38421 &_swigt__p_wxInitDialogEvent
,
38422 &_swigt__p_wxItemContainer
,
38423 &_swigt__p_wxJPEGHandler
,
38424 &_swigt__p_wxKeyEvent
,
38425 &_swigt__p_wxLayoutConstraints
,
38426 &_swigt__p_wxListBox
,
38427 &_swigt__p_wxListEvent
,
38428 &_swigt__p_wxListItem
,
38429 &_swigt__p_wxListItemAttr
,
38430 &_swigt__p_wxListView
,
38431 &_swigt__p_wxListbook
,
38432 &_swigt__p_wxListbookEvent
,
38433 &_swigt__p_wxMaximizeEvent
,
38434 &_swigt__p_wxMemoryDC
,
38436 &_swigt__p_wxMenuBar
,
38437 &_swigt__p_wxMenuEvent
,
38438 &_swigt__p_wxMenuItem
,
38439 &_swigt__p_wxMouseCaptureChangedEvent
,
38440 &_swigt__p_wxMouseEvent
,
38441 &_swigt__p_wxMoveEvent
,
38442 &_swigt__p_wxNavigationKeyEvent
,
38443 &_swigt__p_wxNcPaintEvent
,
38444 &_swigt__p_wxNotebook
,
38445 &_swigt__p_wxNotebookEvent
,
38446 &_swigt__p_wxNotifyEvent
,
38447 &_swigt__p_wxObject
,
38448 &_swigt__p_wxPCXHandler
,
38449 &_swigt__p_wxPNGHandler
,
38450 &_swigt__p_wxPNMHandler
,
38451 &_swigt__p_wxPaintEvent
,
38452 &_swigt__p_wxPaletteChangedEvent
,
38453 &_swigt__p_wxPaperSize
,
38454 &_swigt__p_wxPoint
,
38455 &_swigt__p_wxPyApp
,
38456 &_swigt__p_wxPyCommandEvent
,
38457 &_swigt__p_wxPyControl
,
38458 &_swigt__p_wxPyEvent
,
38459 &_swigt__p_wxPyImageHandler
,
38460 &_swigt__p_wxPyListCtrl
,
38461 &_swigt__p_wxPySizer
,
38462 &_swigt__p_wxPyTreeCtrl
,
38463 &_swigt__p_wxPyTreeItemData
,
38464 &_swigt__p_wxPyValidator
,
38465 &_swigt__p_wxQueryNewPaletteEvent
,
38466 &_swigt__p_wxRadioBox
,
38467 &_swigt__p_wxRadioButton
,
38469 &_swigt__p_wxScrollBar
,
38470 &_swigt__p_wxScrollEvent
,
38471 &_swigt__p_wxScrollWinEvent
,
38472 &_swigt__p_wxSetCursorEvent
,
38473 &_swigt__p_wxShowEvent
,
38474 &_swigt__p_wxSimpleHelpProvider
,
38476 &_swigt__p_wxSizeEvent
,
38477 &_swigt__p_wxSizer
,
38478 &_swigt__p_wxSizerItem
,
38479 &_swigt__p_wxSlider
,
38480 &_swigt__p_wxSpinButton
,
38481 &_swigt__p_wxSpinCtrl
,
38482 &_swigt__p_wxSpinEvent
,
38483 &_swigt__p_wxStaticBitmap
,
38484 &_swigt__p_wxStaticBox
,
38485 &_swigt__p_wxStaticBoxSizer
,
38486 &_swigt__p_wxStaticLine
,
38487 &_swigt__p_wxStaticText
,
38488 &_swigt__p_wxStdDialogButtonSizer
,
38489 &_swigt__p_wxString
,
38490 &_swigt__p_wxSysColourChangedEvent
,
38491 &_swigt__p_wxTIFFHandler
,
38492 &_swigt__p_wxTextAttr
,
38493 &_swigt__p_wxTextCtrl
,
38494 &_swigt__p_wxTextUrlEvent
,
38495 &_swigt__p_wxToggleButton
,
38496 &_swigt__p_wxToolBar
,
38497 &_swigt__p_wxToolBarBase
,
38498 &_swigt__p_wxToolBarToolBase
,
38499 &_swigt__p_wxToolbook
,
38500 &_swigt__p_wxToolbookEvent
,
38501 &_swigt__p_wxTreeCtrl
,
38502 &_swigt__p_wxTreeEvent
,
38503 &_swigt__p_wxTreeItemId
,
38504 &_swigt__p_wxTreebook
,
38505 &_swigt__p_wxTreebookEvent
,
38506 &_swigt__p_wxUpdateUIEvent
,
38507 &_swigt__p_wxValidator
,
38508 &_swigt__p_wxVisualAttributes
,
38509 &_swigt__p_wxWindow
,
38510 &_swigt__p_wxWindowCreateEvent
,
38511 &_swigt__p_wxWindowDestroyEvent
,
38512 &_swigt__p_wxXPMHandler
,
38513 &_swigt__ptrdiff_t
,
38514 &_swigt__std__ptrdiff_t
,
38515 &_swigt__unsigned_int
,
38518 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
38519 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38520 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38521 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38522 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
38523 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38524 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38525 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38526 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38527 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
38528 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38529 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38530 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}};
38531 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}};
38532 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}};
38533 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}};
38534 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
38535 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
38536 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
38537 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
38538 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38539 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38540 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
38541 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38542 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38543 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38544 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38545 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38546 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38547 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38548 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38549 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}};
38550 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
38551 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
38552 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}};
38553 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
38554 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38555 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38556 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38557 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38558 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38559 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38560 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38561 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38562 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38563 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38564 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38565 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38566 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38567 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38568 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38569 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38570 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38571 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38572 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38573 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38574 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38575 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38576 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38577 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38578 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38579 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38580 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38581 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38582 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38583 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38584 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}};
38585 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38586 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38587 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38588 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38589 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}};
38590 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38591 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
38592 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38593 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
38594 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
38595 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}};
38596 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38597 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
38598 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}};
38599 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38600 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}};
38601 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
38602 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
38603 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
38604 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
38605 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
38606 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38607 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
38608 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38609 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
38610 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38611 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}};
38612 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38613 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38614 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38615 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38616 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38617 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38618 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38619 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38620 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38621 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38622 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38623 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38624 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38625 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38626 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38627 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38628 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38629 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38630 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38631 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38632 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38633 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38634 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38635 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38636 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38637 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38638 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38639 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38640 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38641 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38642 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}};
38643 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38644 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38645 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
38646 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}};
38647 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38648 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
38649 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
38650 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
38651 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38652 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
38653 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
38654 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38655 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
38656 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
38657 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38658 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38659 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38660 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
38661 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
38662 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
38663 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38664 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
38665 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38666 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
38667 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
38668 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
38669 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}};
38670 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
38671 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
38672 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38673 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38674 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38675 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
38676 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
38677 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38678 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}};
38679 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
38680 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}};
38681 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38682 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38683 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38685 static swig_cast_info
*swig_cast_initial
[] = {
38688 _swigc__p_form_ops_t
,
38691 _swigc__p_unsigned_char
,
38692 _swigc__p_unsigned_int
,
38693 _swigc__p_unsigned_long
,
38695 _swigc__p_wxANIHandler
,
38696 _swigc__p_wxAcceleratorTable
,
38697 _swigc__p_wxActivateEvent
,
38698 _swigc__p_wxArrayInt
,
38699 _swigc__p_wxArrayString
,
38700 _swigc__p_wxBMPHandler
,
38701 _swigc__p_wxBitmap
,
38702 _swigc__p_wxBitmapButton
,
38703 _swigc__p_wxBookCtrlBase
,
38704 _swigc__p_wxBookCtrlBaseEvent
,
38705 _swigc__p_wxBoxSizer
,
38706 _swigc__p_wxButton
,
38707 _swigc__p_wxCURHandler
,
38708 _swigc__p_wxCheckBox
,
38709 _swigc__p_wxCheckListBox
,
38710 _swigc__p_wxChildFocusEvent
,
38711 _swigc__p_wxChoice
,
38712 _swigc__p_wxChoicebook
,
38713 _swigc__p_wxChoicebookEvent
,
38714 _swigc__p_wxCloseEvent
,
38715 _swigc__p_wxColour
,
38716 _swigc__p_wxComboBox
,
38717 _swigc__p_wxCommandEvent
,
38718 _swigc__p_wxContextHelp
,
38719 _swigc__p_wxContextHelpButton
,
38720 _swigc__p_wxContextMenuEvent
,
38721 _swigc__p_wxControl
,
38722 _swigc__p_wxControlWithItems
,
38723 _swigc__p_wxCursor
,
38725 _swigc__p_wxDateEvent
,
38726 _swigc__p_wxDatePickerCtrl
,
38727 _swigc__p_wxDateTime
,
38728 _swigc__p_wxDirFilterListCtrl
,
38729 _swigc__p_wxDisplayChangedEvent
,
38730 _swigc__p_wxDropFilesEvent
,
38731 _swigc__p_wxDuplexMode
,
38732 _swigc__p_wxEraseEvent
,
38734 _swigc__p_wxEvtHandler
,
38735 _swigc__p_wxFSFile
,
38736 _swigc__p_wxFileSystem
,
38737 _swigc__p_wxFlexGridSizer
,
38738 _swigc__p_wxFocusEvent
,
38740 _swigc__p_wxGBSizerItem
,
38741 _swigc__p_wxGIFHandler
,
38743 _swigc__p_wxGenericDirCtrl
,
38744 _swigc__p_wxGenericDragImage
,
38745 _swigc__p_wxGridBagSizer
,
38746 _swigc__p_wxGridSizer
,
38747 _swigc__p_wxHelpEvent
,
38748 _swigc__p_wxHelpProvider
,
38749 _swigc__p_wxICOHandler
,
38751 _swigc__p_wxIconizeEvent
,
38752 _swigc__p_wxIdleEvent
,
38754 _swigc__p_wxImageHandler
,
38755 _swigc__p_wxImageList
,
38756 _swigc__p_wxIndividualLayoutConstraint
,
38757 _swigc__p_wxInitDialogEvent
,
38758 _swigc__p_wxItemContainer
,
38759 _swigc__p_wxJPEGHandler
,
38760 _swigc__p_wxKeyEvent
,
38761 _swigc__p_wxLayoutConstraints
,
38762 _swigc__p_wxListBox
,
38763 _swigc__p_wxListEvent
,
38764 _swigc__p_wxListItem
,
38765 _swigc__p_wxListItemAttr
,
38766 _swigc__p_wxListView
,
38767 _swigc__p_wxListbook
,
38768 _swigc__p_wxListbookEvent
,
38769 _swigc__p_wxMaximizeEvent
,
38770 _swigc__p_wxMemoryDC
,
38772 _swigc__p_wxMenuBar
,
38773 _swigc__p_wxMenuEvent
,
38774 _swigc__p_wxMenuItem
,
38775 _swigc__p_wxMouseCaptureChangedEvent
,
38776 _swigc__p_wxMouseEvent
,
38777 _swigc__p_wxMoveEvent
,
38778 _swigc__p_wxNavigationKeyEvent
,
38779 _swigc__p_wxNcPaintEvent
,
38780 _swigc__p_wxNotebook
,
38781 _swigc__p_wxNotebookEvent
,
38782 _swigc__p_wxNotifyEvent
,
38783 _swigc__p_wxObject
,
38784 _swigc__p_wxPCXHandler
,
38785 _swigc__p_wxPNGHandler
,
38786 _swigc__p_wxPNMHandler
,
38787 _swigc__p_wxPaintEvent
,
38788 _swigc__p_wxPaletteChangedEvent
,
38789 _swigc__p_wxPaperSize
,
38792 _swigc__p_wxPyCommandEvent
,
38793 _swigc__p_wxPyControl
,
38794 _swigc__p_wxPyEvent
,
38795 _swigc__p_wxPyImageHandler
,
38796 _swigc__p_wxPyListCtrl
,
38797 _swigc__p_wxPySizer
,
38798 _swigc__p_wxPyTreeCtrl
,
38799 _swigc__p_wxPyTreeItemData
,
38800 _swigc__p_wxPyValidator
,
38801 _swigc__p_wxQueryNewPaletteEvent
,
38802 _swigc__p_wxRadioBox
,
38803 _swigc__p_wxRadioButton
,
38805 _swigc__p_wxScrollBar
,
38806 _swigc__p_wxScrollEvent
,
38807 _swigc__p_wxScrollWinEvent
,
38808 _swigc__p_wxSetCursorEvent
,
38809 _swigc__p_wxShowEvent
,
38810 _swigc__p_wxSimpleHelpProvider
,
38812 _swigc__p_wxSizeEvent
,
38814 _swigc__p_wxSizerItem
,
38815 _swigc__p_wxSlider
,
38816 _swigc__p_wxSpinButton
,
38817 _swigc__p_wxSpinCtrl
,
38818 _swigc__p_wxSpinEvent
,
38819 _swigc__p_wxStaticBitmap
,
38820 _swigc__p_wxStaticBox
,
38821 _swigc__p_wxStaticBoxSizer
,
38822 _swigc__p_wxStaticLine
,
38823 _swigc__p_wxStaticText
,
38824 _swigc__p_wxStdDialogButtonSizer
,
38825 _swigc__p_wxString
,
38826 _swigc__p_wxSysColourChangedEvent
,
38827 _swigc__p_wxTIFFHandler
,
38828 _swigc__p_wxTextAttr
,
38829 _swigc__p_wxTextCtrl
,
38830 _swigc__p_wxTextUrlEvent
,
38831 _swigc__p_wxToggleButton
,
38832 _swigc__p_wxToolBar
,
38833 _swigc__p_wxToolBarBase
,
38834 _swigc__p_wxToolBarToolBase
,
38835 _swigc__p_wxToolbook
,
38836 _swigc__p_wxToolbookEvent
,
38837 _swigc__p_wxTreeCtrl
,
38838 _swigc__p_wxTreeEvent
,
38839 _swigc__p_wxTreeItemId
,
38840 _swigc__p_wxTreebook
,
38841 _swigc__p_wxTreebookEvent
,
38842 _swigc__p_wxUpdateUIEvent
,
38843 _swigc__p_wxValidator
,
38844 _swigc__p_wxVisualAttributes
,
38845 _swigc__p_wxWindow
,
38846 _swigc__p_wxWindowCreateEvent
,
38847 _swigc__p_wxWindowDestroyEvent
,
38848 _swigc__p_wxXPMHandler
,
38850 _swigc__std__ptrdiff_t
,
38851 _swigc__unsigned_int
,
38855 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38857 static swig_const_info swig_const_table
[] = {
38858 {0, 0, 0, 0.0, 0, 0}};
38863 /*************************************************************************
38864 * Type initialization:
38865 * This problem is tough by the requirement that no dynamic
38866 * memory is used. Also, since swig_type_info structures store pointers to
38867 * swig_cast_info structures and swig_cast_info structures store pointers back
38868 * to swig_type_info structures, we need some lookup code at initialization.
38869 * The idea is that swig generates all the structures that are needed.
38870 * The runtime then collects these partially filled structures.
38871 * The SWIG_InitializeModule function takes these initial arrays out of
38872 * swig_module, and does all the lookup, filling in the swig_module.types
38873 * array with the correct data and linking the correct swig_cast_info
38874 * structures together.
38876 * The generated swig_type_info structures are assigned staticly to an initial
38877 * array. We just loop though that array, and handle each type individually.
38878 * First we lookup if this type has been already loaded, and if so, use the
38879 * loaded structure instead of the generated one. Then we have to fill in the
38880 * cast linked list. The cast data is initially stored in something like a
38881 * two-dimensional array. Each row corresponds to a type (there are the same
38882 * number of rows as there are in the swig_type_initial array). Each entry in
38883 * a column is one of the swig_cast_info structures for that type.
38884 * The cast_initial array is actually an array of arrays, because each row has
38885 * a variable number of columns. So to actually build the cast linked list,
38886 * we find the array of casts associated with the type, and loop through it
38887 * adding the casts to the list. The one last trick we need to do is making
38888 * sure the type pointer in the swig_cast_info struct is correct.
38890 * First off, we lookup the cast->type name to see if it is already loaded.
38891 * There are three cases to handle:
38892 * 1) If the cast->type has already been loaded AND the type we are adding
38893 * casting info to has not been loaded (it is in this module), THEN we
38894 * replace the cast->type pointer with the type pointer that has already
38896 * 2) If BOTH types (the one we are adding casting info to, and the
38897 * cast->type) are loaded, THEN the cast info has already been loaded by
38898 * the previous module so we just ignore it.
38899 * 3) Finally, if cast->type has not already been loaded, then we add that
38900 * swig_cast_info to the linked list (because the cast->type) pointer will
38912 #define SWIGRUNTIME_DEBUG
38916 SWIG_InitializeModule(void *clientdata
) {
38918 swig_module_info
*module_head
;
38919 static int init_run
= 0;
38921 clientdata
= clientdata
;
38923 if (init_run
) return;
38926 /* Initialize the swig_module */
38927 swig_module
.type_initial
= swig_type_initial
;
38928 swig_module
.cast_initial
= swig_cast_initial
;
38930 /* Try and load any already created modules */
38931 module_head
= SWIG_GetModule(clientdata
);
38933 swig_module
.next
= module_head
->next
;
38934 module_head
->next
= &swig_module
;
38936 /* This is the first module loaded */
38937 swig_module
.next
= &swig_module
;
38938 SWIG_SetModule(clientdata
, &swig_module
);
38941 /* Now work on filling in swig_module.types */
38942 #ifdef SWIGRUNTIME_DEBUG
38943 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38945 for (i
= 0; i
< swig_module
.size
; ++i
) {
38946 swig_type_info
*type
= 0;
38947 swig_type_info
*ret
;
38948 swig_cast_info
*cast
;
38950 #ifdef SWIGRUNTIME_DEBUG
38951 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38954 /* if there is another module already loaded */
38955 if (swig_module
.next
!= &swig_module
) {
38956 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38959 /* Overwrite clientdata field */
38960 #ifdef SWIGRUNTIME_DEBUG
38961 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38963 if (swig_module
.type_initial
[i
]->clientdata
) {
38964 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38965 #ifdef SWIGRUNTIME_DEBUG
38966 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38970 type
= swig_module
.type_initial
[i
];
38973 /* Insert casting types */
38974 cast
= swig_module
.cast_initial
[i
];
38975 while (cast
->type
) {
38976 /* Don't need to add information already in the list */
38978 #ifdef SWIGRUNTIME_DEBUG
38979 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38981 if (swig_module
.next
!= &swig_module
) {
38982 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38983 #ifdef SWIGRUNTIME_DEBUG
38984 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38988 if (type
== swig_module
.type_initial
[i
]) {
38989 #ifdef SWIGRUNTIME_DEBUG
38990 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38995 /* Check for casting already in the list */
38996 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38997 #ifdef SWIGRUNTIME_DEBUG
38998 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39000 if (!ocast
) ret
= 0;
39005 #ifdef SWIGRUNTIME_DEBUG
39006 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39009 type
->cast
->prev
= cast
;
39010 cast
->next
= type
->cast
;
39016 /* Set entry in modules->types array equal to the type */
39017 swig_module
.types
[i
] = type
;
39019 swig_module
.types
[i
] = 0;
39021 #ifdef SWIGRUNTIME_DEBUG
39022 printf("**** SWIG_InitializeModule: Cast List ******\n");
39023 for (i
= 0; i
< swig_module
.size
; ++i
) {
39025 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39026 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39027 while (cast
->type
) {
39028 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39032 printf("---- Total casts: %d\n",j
);
39034 printf("**** SWIG_InitializeModule: Cast List ******\n");
39038 /* This function will propagate the clientdata field of type to
39039 * any new swig_type_info structures that have been added into the list
39040 * of equivalent types. It is like calling
39041 * SWIG_TypeClientData(type, clientdata) a second time.
39044 SWIG_PropagateClientData(void) {
39046 swig_cast_info
*equiv
;
39047 static int init_run
= 0;
39049 if (init_run
) return;
39052 for (i
= 0; i
< swig_module
.size
; i
++) {
39053 if (swig_module
.types
[i
]->clientdata
) {
39054 equiv
= swig_module
.types
[i
]->cast
;
39056 if (!equiv
->converter
) {
39057 if (equiv
->type
&& !equiv
->type
->clientdata
)
39058 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39060 equiv
= equiv
->next
;
39080 /* Python-specific SWIG API */
39081 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39082 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39083 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39085 /* -----------------------------------------------------------------------------
39086 * global variable support code.
39087 * ----------------------------------------------------------------------------- */
39089 typedef struct swig_globalvar
{
39090 char *name
; /* Name of global variable */
39091 PyObject
*(*get_attr
)(void); /* Return the current value */
39092 int (*set_attr
)(PyObject
*); /* Set the value */
39093 struct swig_globalvar
*next
;
39096 typedef struct swig_varlinkobject
{
39098 swig_globalvar
*vars
;
39099 } swig_varlinkobject
;
39101 SWIGINTERN PyObject
*
39102 swig_varlink_repr(swig_varlinkobject
*v
) {
39104 return PyString_FromString("<Swig global variables>");
39108 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
39109 swig_globalvar
*var
;
39111 fprintf(fp
,"Swig global variables { ");
39112 for (var
= v
->vars
; var
; var
=var
->next
) {
39113 fprintf(fp
,"%s", var
->name
);
39114 if (var
->next
) fprintf(fp
,", ");
39116 fprintf(fp
," }\n");
39120 SWIGINTERN PyObject
*
39121 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39122 swig_globalvar
*var
= v
->vars
;
39124 if (strcmp(var
->name
,n
) == 0) {
39125 return (*var
->get_attr
)();
39129 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39134 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39135 swig_globalvar
*var
= v
->vars
;
39137 if (strcmp(var
->name
,n
) == 0) {
39138 return (*var
->set_attr
)(p
);
39142 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39146 SWIGINTERN PyTypeObject
*
39147 swig_varlink_type(void) {
39148 static char varlink__doc__
[] = "Swig var link object";
39149 static PyTypeObject varlink_type
39150 #if !defined(__cplusplus)
39152 static int type_init
= 0;
39157 PyObject_HEAD_INIT(&PyType_Type
)
39158 0, /* Number of items in variable part (ob_size) */
39159 (char *)"swigvarlink", /* Type name (tp_name) */
39160 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39161 0, /* Itemsize (tp_itemsize) */
39162 0, /* Deallocator (tp_dealloc) */
39163 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39164 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39165 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39166 0, /* tp_compare */
39167 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39168 0, /* tp_as_number */
39169 0, /* tp_as_sequence */
39170 0, /* tp_as_mapping */
39174 0, /* tp_getattro */
39175 0, /* tp_setattro */
39176 0, /* tp_as_buffer */
39178 varlink__doc__
, /* tp_doc */
39179 #if PY_VERSION_HEX >= 0x02000000
39180 0, /* tp_traverse */
39183 #if PY_VERSION_HEX >= 0x02010000
39184 0, /* tp_richcompare */
39185 0, /* tp_weaklistoffset */
39187 #if PY_VERSION_HEX >= 0x02020000
39188 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39190 #if PY_VERSION_HEX >= 0x02030000
39193 #ifdef COUNT_ALLOCS
39194 0,0,0,0 /* tp_alloc -> tp_next */
39197 #if !defined(__cplusplus)
39198 varlink_type
= tmp
;
39202 return &varlink_type
;
39205 /* Create a variable linking object for use later */
39206 SWIGINTERN PyObject
*
39207 SWIG_Python_newvarlink(void) {
39208 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39212 return ((PyObject
*) result
);
39216 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39217 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39218 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39220 size_t size
= strlen(name
)+1;
39221 gv
->name
= (char *)malloc(size
);
39223 strncpy(gv
->name
,name
,size
);
39224 gv
->get_attr
= get_attr
;
39225 gv
->set_attr
= set_attr
;
39226 gv
->next
= v
->vars
;
39232 /* -----------------------------------------------------------------------------
39233 * constants/methods manipulation
39234 * ----------------------------------------------------------------------------- */
39236 /* Install Constants */
39238 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39241 for (i
= 0; constants
[i
].type
; ++i
) {
39242 switch(constants
[i
].type
) {
39244 obj
= PyInt_FromLong(constants
[i
].lvalue
);
39246 case SWIG_PY_FLOAT
:
39247 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
39249 case SWIG_PY_STRING
:
39250 if (constants
[i
].pvalue
) {
39251 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
39253 Py_INCREF(Py_None
);
39257 case SWIG_PY_POINTER
:
39258 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39260 case SWIG_PY_BINARY
:
39261 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39268 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
39274 /* -----------------------------------------------------------------------------*/
39275 /* Fix SwigMethods to carry the callback ptrs when needed */
39276 /* -----------------------------------------------------------------------------*/
39279 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39280 swig_const_info
*const_table
,
39281 swig_type_info
**types
,
39282 swig_type_info
**types_initial
) {
39284 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39285 char *c
= methods
[i
].ml_doc
;
39286 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39288 swig_const_info
*ci
= 0;
39289 char *name
= c
+ 10;
39290 for (j
= 0; const_table
[j
].type
; ++j
) {
39291 if (strncmp(const_table
[j
].name
, name
,
39292 strlen(const_table
[j
].name
)) == 0) {
39293 ci
= &(const_table
[j
]);
39298 size_t shift
= (ci
->ptype
) - types
;
39299 swig_type_info
*ty
= types_initial
[shift
];
39300 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39301 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39302 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39305 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39307 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39309 strncpy(buff
, "swig_ptr: ", 10);
39311 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39312 methods
[i
].ml_doc
= ndoc
;
39320 /* -----------------------------------------------------------------------------*
39321 * Initialize type list
39322 * -----------------------------------------------------------------------------*/
39328 /* -----------------------------------------------------------------------------*
39329 * Partial Init method
39330 * -----------------------------------------------------------------------------*/
39335 SWIGEXPORT
void SWIG_init(void) {
39336 static PyObject
*SWIG_globals
= 0;
39338 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
39340 /* Fix SwigMethods to carry the callback ptrs when needed */
39341 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39343 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39344 d
= PyModule_GetDict(m
);
39346 SWIG_InitializeModule(0);
39347 SWIG_InstallConstants(d
,swig_const_table
);
39349 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
39350 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
39352 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
39355 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
39358 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
39361 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
39364 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
39367 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
39370 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
39372 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
39374 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
39377 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
39380 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
39383 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
39386 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
39389 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
39391 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
39392 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
39393 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
39395 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
39398 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
39401 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
39404 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
39406 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
39407 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
39408 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
39409 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
39410 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
39412 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
39415 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
39418 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
39421 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
39424 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
39427 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
39430 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
39433 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
39436 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
39439 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
39442 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
39445 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
39448 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
39451 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
39454 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
39457 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
39460 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
39463 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
39466 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
39469 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
39472 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
39475 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
39478 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
39481 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
39484 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
39487 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
39490 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
39493 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
39496 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
39499 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
39502 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
39505 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
39508 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
39511 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
39514 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
39517 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
39520 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
39523 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
39526 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
39529 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
39532 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
39535 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
39538 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
39541 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
39544 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
39547 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
39549 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
39550 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
39551 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
39552 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
39553 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
39554 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
39555 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
39557 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
39560 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
39563 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
39566 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
39568 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
39569 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
39570 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
39571 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
39573 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
39576 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
39579 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
39582 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
39585 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
39588 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
39591 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
39594 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
39597 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
39600 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
39603 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
39606 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
39608 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
39609 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
39610 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
39612 PyDict_SetItemString(d
,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT
)));
39615 PyDict_SetItemString(d
,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP
)));
39618 PyDict_SetItemString(d
,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM
)));
39621 PyDict_SetItemString(d
,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT
)));
39624 PyDict_SetItemString(d
,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT
)));
39627 PyDict_SetItemString(d
,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK
)));
39630 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
39633 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
39636 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
39639 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
39642 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
39645 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
39648 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
39651 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
39654 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
39657 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
39660 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
39662 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
39663 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
39665 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
39668 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
39671 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
39674 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
39677 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
39680 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
39682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
39683 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
39685 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
39688 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
39691 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
39694 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
39697 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
39700 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
39702 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
39703 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
39704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
39705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
39706 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
39707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
39708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
39709 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
39711 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
39714 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
39717 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
39720 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
39723 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
39726 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
39729 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
39732 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
39735 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
39738 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
39741 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
39744 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
39747 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
39750 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
39752 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
39754 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
39757 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
39760 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
39763 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
39766 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
39769 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
39772 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
39775 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
39778 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
39781 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
39784 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
39787 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
39790 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
39793 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
39796 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
39799 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
39802 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
39805 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
39808 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
39811 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
39814 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
39817 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
39820 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
39823 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
39826 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
39829 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
39832 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
39835 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
39838 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
39841 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
39844 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
39847 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
39850 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
39853 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
39856 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
39859 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
39862 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
39865 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
39868 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
39871 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
39874 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
39877 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
39880 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
39883 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
39886 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
39889 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
39892 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
39895 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
39898 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
39901 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
39904 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
39907 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
39910 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
39913 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
39916 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
39919 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
39922 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
39925 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
39928 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
39931 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
39934 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
39937 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
39940 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
39943 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
39946 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
39949 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
39952 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
39955 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
39957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
39958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
39959 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
39960 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
39961 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
39962 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
39963 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
39964 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
39965 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
39966 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
39967 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
39968 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
39969 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
39970 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
39971 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
39972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
39973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
39974 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
39975 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
39976 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
39978 // Map renamed classes back to their common name for OOR
39979 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
39981 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
39983 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
39986 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
39989 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
39992 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
39995 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
39998 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
40001 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
40004 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
40007 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
40010 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
40013 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
40016 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
40019 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
40022 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
40025 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
40028 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
40031 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
40034 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
40037 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
40040 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
40043 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
40046 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
40049 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
40052 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
40055 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
40058 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
40061 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
40064 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
40067 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
40070 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
40073 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
40076 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
40079 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
40082 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
40085 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
40087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
40088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
40089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
40090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
40091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
40092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
40093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
40094 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
40095 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
40096 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
40097 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
40098 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
40099 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
40100 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
40101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
40102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
40103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
40104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
40105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
40106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
40107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
40109 // Map renamed classes back to their common name for OOR
40110 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40111 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40113 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
40115 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
40118 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
40121 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
40124 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
40127 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
40130 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
40133 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
40135 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
40136 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
40138 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40140 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
40142 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
40145 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
40148 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
40151 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
40154 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));