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_wxTreeEvent swig_types[149]
1584 #define SWIGTYPE_p_wxTreeItemId swig_types[150]
1585 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
1586 #define SWIGTYPE_p_wxValidator swig_types[152]
1587 #define SWIGTYPE_p_wxVisualAttributes swig_types[153]
1588 #define SWIGTYPE_p_wxWindow swig_types[154]
1589 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[155]
1590 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
1591 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
1592 #define SWIGTYPE_ptrdiff_t swig_types[158]
1593 #define SWIGTYPE_std__ptrdiff_t swig_types[159]
1594 #define SWIGTYPE_unsigned_int swig_types[160]
1595 static swig_type_info
*swig_types
[162];
1596 static swig_module_info swig_module
= {swig_types
, 161, 0, 0, 0, 0};
1597 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1598 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1600 /* -------- TYPES TABLE (END) -------- */
1603 /*-----------------------------------------------
1604 @(target):= _controls_.so
1605 ------------------------------------------------*/
1606 #define SWIG_init init_controls_
1608 #define SWIG_name "_controls_"
1610 #include "wx/wxPython/wxPython.h"
1611 #include "wx/wxPython/pyclasses.h"
1613 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1614 static const wxString
wxPyEmptyString(wxEmptyString
);
1615 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1617 const wxArrayString wxPyEmptyStringArray
;
1619 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1621 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1622 #define SWIG_From_int PyInt_FromLong
1630 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1633 if (value
< min_value
) {
1635 PyErr_Format(PyExc_OverflowError
,
1636 "value %ld is less than '%s' minimum %ld",
1637 value
, errmsg
, min_value
);
1640 } else if (value
> max_value
) {
1642 PyErr_Format(PyExc_OverflowError
,
1643 "value %ld is greater than '%s' maximum %ld",
1644 value
, errmsg
, max_value
);
1653 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1655 if (PyNumber_Check(obj
)) {
1656 if (val
) *val
= PyInt_AsLong(obj
);
1660 SWIG_type_error("number", obj
);
1666 #if INT_MAX != LONG_MAX
1668 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1670 const char* errmsg
= val
? "int" : (char*)0;
1672 if (SWIG_AsVal_long(obj
, &v
)) {
1673 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1674 if (val
) *val
= static_cast<int >(v
);
1683 SWIG_type_error(errmsg
, obj
);
1688 SWIGINTERNINLINE
int
1689 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1691 return SWIG_AsVal_long(obj
,(long*)val
);
1696 SWIGINTERNINLINE
int
1697 SWIG_As_int(PyObject
* obj
)
1700 if (!SWIG_AsVal_int(obj
, &v
)) {
1702 this is needed to make valgrind/purify happier.
1704 memset((void*)&v
, 0, sizeof(int));
1710 SWIGINTERNINLINE
long
1711 SWIG_As_long(PyObject
* obj
)
1714 if (!SWIG_AsVal_long(obj
, &v
)) {
1716 this is needed to make valgrind/purify happier.
1718 memset((void*)&v
, 0, sizeof(long));
1724 SWIGINTERNINLINE
int
1725 SWIG_Check_int(PyObject
* obj
)
1727 return SWIG_AsVal_int(obj
, (int*)0);
1731 SWIGINTERNINLINE
int
1732 SWIG_Check_long(PyObject
* obj
)
1734 return SWIG_AsVal_long(obj
, (long*)0);
1737 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1740 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1742 if (obj
== Py_True
) {
1743 if (val
) *val
= true;
1746 if (obj
== Py_False
) {
1747 if (val
) *val
= false;
1751 if (SWIG_AsVal_int(obj
, &res
)) {
1752 if (val
) *val
= res
? true : false;
1758 SWIG_type_error("bool", obj
);
1764 SWIGINTERNINLINE
bool
1765 SWIG_As_bool(PyObject
* obj
)
1768 if (!SWIG_AsVal_bool(obj
, &v
)) {
1770 this is needed to make valgrind/purify happier.
1772 memset((void*)&v
, 0, sizeof(bool));
1778 SWIGINTERNINLINE
int
1779 SWIG_Check_bool(PyObject
* obj
)
1781 return SWIG_AsVal_bool(obj
, (bool*)0);
1784 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1785 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1787 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1788 #define SWIG_From_long PyInt_FromLong
1791 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1792 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1793 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1794 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1796 #include <wx/checklst.h>
1799 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1800 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1802 wxPyClientData
* data
= new wxPyClientData(clientData
);
1803 self
->Insert(item
, pos
, data
);
1805 self
->Insert(item
, pos
);
1807 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1809 self
->GetSelections(lst
);
1810 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1811 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1812 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1816 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1818 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1819 self
->GetItem(item
)->SetTextColour(c
);
1822 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1824 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1825 self
->GetItem(item
)->SetBackgroundColour(c
);
1828 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1830 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1831 self
->GetItem(item
)->SetFont(f
);
1834 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1836 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1842 } else if (target
== Py_None
) {
1846 if (!PyTuple_Check(target
)) {
1848 target
= PyTuple_New(1);
1849 PyTuple_SetItem(target
, 0, o2
);
1851 o3
= PyTuple_New(1);
1852 PyTuple_SetItem(o3
, 0, o
);
1855 target
= PySequence_Concat(o2
, o3
);
1865 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1868 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1869 SWIG_type_error("unsigned number", obj
);
1872 *val
= (unsigned long)v
;
1877 SWIGINTERNINLINE
unsigned long
1878 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1881 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1883 this is needed to make valgrind/purify happier.
1885 memset((void*)&v
, 0, sizeof(unsigned long));
1891 SWIGINTERNINLINE
int
1892 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1894 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1897 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1898 self
->AppendText(text
);
1900 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1901 return self
->GetValue().Mid(from
, to
- from
);
1903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1909 #include <wx/slider.h>
1912 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1913 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1915 #if !wxUSE_TOGGLEBTN
1916 // implement dummy items for platforms that don't have this class
1918 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1920 class wxToggleButton
: public wxControl
1923 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1924 const wxPoint
&, const wxSize
&, long,
1925 const wxValidator
&, const wxString
&)
1926 { wxPyRaiseNotImplemented(); }
1929 { wxPyRaiseNotImplemented(); }
1933 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1935 SWIGINTERNINLINE PyObject
*
1936 SWIG_From_unsigned_SS_long(unsigned long value
)
1938 return (value
> LONG_MAX
) ?
1939 PyLong_FromUnsignedLong(value
)
1940 : PyInt_FromLong(static_cast<long >(value
));
1943 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1944 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1945 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1947 Py_INCREF(udata
->m_obj
);
1948 return udata
->m_obj
;
1954 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1955 self
->SetClientData(new wxPyUserData(clientData
));
1957 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
){
1958 wxPyUserData
* udata
= NULL
;
1959 if (clientData
&& clientData
!= Py_None
)
1960 udata
= new wxPyUserData(clientData
);
1961 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1962 shortHelp
, longHelp
, udata
);
1964 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
){
1965 wxPyUserData
* udata
= NULL
;
1966 if (clientData
&& clientData
!= Py_None
)
1967 udata
= new wxPyUserData(clientData
);
1968 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1969 shortHelp
, longHelp
, udata
);
1971 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1972 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1974 Py_INCREF(udata
->m_obj
);
1975 return udata
->m_obj
;
1981 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1982 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1985 #include <wx/listctrl.h>
1987 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1988 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1989 // Python aware sorting function for wxPyListCtrl
1990 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1992 PyObject
* func
= (PyObject
*)funcPtr
;
1993 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1995 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1996 PyObject
* result
= PyEval_CallObject(func
, args
);
1999 retval
= PyInt_AsLong(result
);
2003 wxPyEndBlockThreads(blocked
);
2007 // C++ Version of a Python aware class
2008 class wxPyListCtrl
: public wxListCtrl
{
2009 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2011 wxPyListCtrl() : wxListCtrl() {}
2012 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2016 const wxValidator
& validator
,
2017 const wxString
& name
) :
2018 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2020 bool Create(wxWindow
* parent
, wxWindowID id
,
2024 const wxValidator
& validator
,
2025 const wxString
& name
) {
2026 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2029 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
2030 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
2032 // use the virtual version to avoid a confusing assert in the base class
2033 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
2038 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
2040 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
2041 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
2042 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
2045 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
2047 item
.SetMask( wxLIST_MASK_STATE
|
2055 if (self
->GetColumn(col
, item
))
2056 return new wxListItem(item
);
2060 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
2061 wxListItem
* info
= new wxListItem
;
2062 info
->m_itemId
= itemId
;
2064 info
->m_mask
= 0xFFFF;
2065 self
->GetItem(*info
);
2068 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
2070 self
->GetItemPosition(item
, pos
);
2073 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
2075 self
->GetItemRect(item
, rect
, code
);
2079 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
2080 if (!PyCallable_Check(func
))
2082 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
2084 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
2088 return (wxWindow
*)self
->m_mainWin
;
2092 #include <wx/treectrl.h>
2093 #include "wx/wxPython/pytree.h"
2095 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2096 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
2097 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
2098 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
2099 // C++ version of Python aware wxTreeCtrl
2100 class wxPyTreeCtrl
: public wxTreeCtrl
{
2101 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
2103 wxPyTreeCtrl() : wxTreeCtrl() {}
2104 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
2108 const wxValidator
& validator
,
2109 const wxString
& name
) :
2110 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2112 bool Create(wxWindow
*parent
, wxWindowID id
,
2116 const wxValidator
& validator
,
2117 const wxString
& name
) {
2118 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2122 int OnCompareItems(const wxTreeItemId
& item1
,
2123 const wxTreeItemId
& item2
) {
2126 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2127 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2128 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
2129 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
2130 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2134 wxPyEndBlockThreads(blocked
);
2136 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
2142 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
2146 #if UINT_MAX < LONG_MAX
2147 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2148 #define SWIG_From_unsigned_SS_int SWIG_From_long
2151 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2152 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2157 SWIGINTERNINLINE
int
2158 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2159 unsigned long max_value
,
2162 if (value
> max_value
) {
2164 PyErr_Format(PyExc_OverflowError
,
2165 "value %lu is greater than '%s' minimum %lu",
2166 value
, errmsg
, max_value
);
2174 #if UINT_MAX != ULONG_MAX
2176 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2178 const char* errmsg
= val
? "unsigned int" : (char*)0;
2180 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2181 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2182 if (val
) *val
= static_cast<unsigned int >(v
);
2189 SWIG_type_error(errmsg
, obj
);
2194 SWIGINTERNINLINE
unsigned int
2195 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2197 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2202 SWIGINTERNINLINE
unsigned int
2203 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2206 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2208 this is needed to make valgrind/purify happier.
2210 memset((void*)&v
, 0, sizeof(unsigned int));
2216 SWIGINTERNINLINE
int
2217 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2219 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2222 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2223 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2225 data
= new wxPyTreeItemData();
2226 data
->SetId(item
); // set the id
2227 self
->SetItemData(item
, data
);
2231 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2232 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2234 data
= new wxPyTreeItemData();
2235 data
->SetId(item
); // set the id
2236 self
->SetItemData(item
, data
);
2238 return data
->GetData();
2240 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2241 data
->SetId(item
); // set the id
2242 self
->SetItemData(item
, data
);
2244 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2245 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2247 data
= new wxPyTreeItemData(obj
);
2248 data
->SetId(item
); // set the id
2249 self
->SetItemData(item
, data
);
2253 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2254 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2255 PyObject
* rval
= PyList_New(0);
2256 wxArrayTreeItemIds array
;
2258 num
= self
->GetSelections(array
);
2259 for (x
=0; x
< num
; x
++) {
2260 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2261 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2262 PyList_Append(rval
, item
);
2265 wxPyEndBlockThreads(blocked
);
2268 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2270 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2271 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2272 PyObject
* tup
= PyTuple_New(2);
2273 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2274 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2275 wxPyEndBlockThreads(blocked
);
2278 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2279 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2281 PyObject
* tup
= PyTuple_New(2);
2282 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2283 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2284 wxPyEndBlockThreads(blocked
);
2287 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2289 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2290 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2291 wxRect
* r
= new wxRect(rect
);
2292 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2293 wxPyEndBlockThreads(blocked
);
2299 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2301 SWIGINTERNINLINE PyObject
*
2302 SWIG_From_bool(bool value
)
2304 PyObject
*obj
= value
? Py_True
: Py_False
;
2310 // C++ version of Python aware wxControl
2311 class wxPyControl
: public wxControl
2313 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2315 wxPyControl() : wxControl() {}
2316 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2317 const wxPoint
& pos
= wxDefaultPosition
,
2318 const wxSize
& size
= wxDefaultSize
,
2320 const wxValidator
& validator
=wxDefaultValidator
,
2321 const wxString
& name
= wxPyControlNameStr
)
2322 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2324 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2326 bool DoEraseBackground(wxDC
* dc
) {
2328 return wxWindow::DoEraseBackground(dc
->GetHDC());
2330 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2336 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2337 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2338 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2339 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2343 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2345 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2346 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2348 DEC_PYCALLBACK__(InitDialog
);
2349 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2350 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2351 DEC_PYCALLBACK_BOOL_(Validate
);
2353 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2354 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2355 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2357 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2358 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2360 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2361 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2363 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2365 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2370 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2372 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2373 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2374 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2375 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2379 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2381 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2382 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2384 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2385 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2386 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2387 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2389 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2390 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2391 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2394 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2397 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2399 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2401 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2405 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2407 #include <wx/generic/dragimgg.h>
2409 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2410 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2412 self
->GetRange(&rv
, NULL
);
2415 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2417 self
->GetRange(NULL
, &rv
);
2423 static int _wrap_ButtonNameStr_set(PyObject
*) {
2424 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2429 static PyObject
*_wrap_ButtonNameStr_get(void) {
2430 PyObject
*pyobj
= NULL
;
2434 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2436 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2443 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
= NULL
;
2445 wxWindow
*arg1
= (wxWindow
*) 0 ;
2446 int arg2
= (int) -1 ;
2447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2453 long arg6
= (long) 0 ;
2454 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2455 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2456 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2459 bool temp3
= false ;
2462 bool temp8
= false ;
2463 PyObject
* obj0
= 0 ;
2464 PyObject
* obj1
= 0 ;
2465 PyObject
* obj2
= 0 ;
2466 PyObject
* obj3
= 0 ;
2467 PyObject
* obj4
= 0 ;
2468 PyObject
* obj5
= 0 ;
2469 PyObject
* obj6
= 0 ;
2470 PyObject
* obj7
= 0 ;
2472 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2477 if (SWIG_arg_fail(1)) SWIG_fail
;
2480 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2481 if (SWIG_arg_fail(2)) SWIG_fail
;
2486 arg3
= wxString_in_helper(obj2
);
2487 if (arg3
== NULL
) SWIG_fail
;
2494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2505 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2506 if (SWIG_arg_fail(6)) SWIG_fail
;
2511 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2512 if (SWIG_arg_fail(7)) SWIG_fail
;
2514 SWIG_null_ref("wxValidator");
2516 if (SWIG_arg_fail(7)) SWIG_fail
;
2521 arg8
= wxString_in_helper(obj7
);
2522 if (arg8
== NULL
) SWIG_fail
;
2527 if (!wxPyCheckForApp()) SWIG_fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2557 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
= NULL
;
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2566 if (!wxPyCheckForApp()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (wxButton
*)new wxButton();
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2580 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
= NULL
;
2582 wxButton
*arg1
= (wxButton
*) 0 ;
2583 wxWindow
*arg2
= (wxWindow
*) 0 ;
2584 int arg3
= (int) -1 ;
2585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2591 long arg7
= (long) 0 ;
2592 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2593 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2594 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2595 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2597 bool temp4
= false ;
2600 bool temp9
= false ;
2601 PyObject
* obj0
= 0 ;
2602 PyObject
* obj1
= 0 ;
2603 PyObject
* obj2
= 0 ;
2604 PyObject
* obj3
= 0 ;
2605 PyObject
* obj4
= 0 ;
2606 PyObject
* obj5
= 0 ;
2607 PyObject
* obj6
= 0 ;
2608 PyObject
* obj7
= 0 ;
2609 PyObject
* obj8
= 0 ;
2611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail
;
2617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2618 if (SWIG_arg_fail(2)) SWIG_fail
;
2621 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2622 if (SWIG_arg_fail(3)) SWIG_fail
;
2627 arg4
= wxString_in_helper(obj3
);
2628 if (arg4
== NULL
) SWIG_fail
;
2635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2641 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2646 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2647 if (SWIG_arg_fail(7)) SWIG_fail
;
2652 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2653 if (SWIG_arg_fail(8)) SWIG_fail
;
2655 SWIG_null_ref("wxValidator");
2657 if (SWIG_arg_fail(8)) SWIG_fail
;
2662 arg9
= wxString_in_helper(obj8
);
2663 if (arg9
== NULL
) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2699 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
= NULL
;
2701 wxButton
*arg1
= (wxButton
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2709 if (SWIG_arg_fail(1)) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->SetDefault();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
= NULL
;
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 result
= wxButton::GetDefaultSize();
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2741 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2750 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
= NULL
;
2752 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2753 wxVisualAttributes result
;
2754 PyObject
* obj0
= 0 ;
2756 (char *) "variant", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2762 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
2763 if (SWIG_arg_fail(1)) SWIG_fail
;
2767 if (!wxPyCheckForApp()) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= wxButton::GetClassDefaultAttributes(arg1
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2775 wxVisualAttributes
* resultptr
;
2776 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
2777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2785 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2788 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2790 return Py_BuildValue((char *)"");
2792 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
= NULL
;
2794 wxWindow
*arg1
= (wxWindow
*) 0 ;
2795 int arg2
= (int) -1 ;
2796 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2797 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2802 long arg6
= (long) wxBU_AUTODRAW
;
2803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2805 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2807 wxBitmapButton
*result
;
2810 bool temp8
= false ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2814 PyObject
* obj3
= 0 ;
2815 PyObject
* obj4
= 0 ;
2816 PyObject
* obj5
= 0 ;
2817 PyObject
* obj6
= 0 ;
2818 PyObject
* obj7
= 0 ;
2820 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2825 if (SWIG_arg_fail(1)) SWIG_fail
;
2828 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2829 if (SWIG_arg_fail(2)) SWIG_fail
;
2834 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2835 if (SWIG_arg_fail(3)) SWIG_fail
;
2837 SWIG_null_ref("wxBitmap");
2839 if (SWIG_arg_fail(3)) SWIG_fail
;
2845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2856 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2857 if (SWIG_arg_fail(6)) SWIG_fail
;
2862 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2863 if (SWIG_arg_fail(7)) SWIG_fail
;
2865 SWIG_null_ref("wxValidator");
2867 if (SWIG_arg_fail(7)) SWIG_fail
;
2872 arg8
= wxString_in_helper(obj7
);
2873 if (arg8
== NULL
) SWIG_fail
;
2878 if (!wxPyCheckForApp()) SWIG_fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2900 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
= NULL
;
2902 wxBitmapButton
*result
;
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2909 if (!wxPyCheckForApp()) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxBitmapButton
*)new wxBitmapButton();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2923 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
= NULL
;
2925 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2926 wxWindow
*arg2
= (wxWindow
*) 0 ;
2927 int arg3
= (int) -1 ;
2928 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2929 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2934 long arg7
= (long) wxBU_AUTODRAW
;
2935 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2936 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2937 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2942 bool temp9
= false ;
2943 PyObject
* obj0
= 0 ;
2944 PyObject
* obj1
= 0 ;
2945 PyObject
* obj2
= 0 ;
2946 PyObject
* obj3
= 0 ;
2947 PyObject
* obj4
= 0 ;
2948 PyObject
* obj5
= 0 ;
2949 PyObject
* obj6
= 0 ;
2950 PyObject
* obj7
= 0 ;
2951 PyObject
* obj8
= 0 ;
2953 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2958 if (SWIG_arg_fail(1)) SWIG_fail
;
2959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2960 if (SWIG_arg_fail(2)) SWIG_fail
;
2963 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2964 if (SWIG_arg_fail(3)) SWIG_fail
;
2969 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2970 if (SWIG_arg_fail(4)) SWIG_fail
;
2972 SWIG_null_ref("wxBitmap");
2974 if (SWIG_arg_fail(4)) SWIG_fail
;
2980 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2986 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2991 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2992 if (SWIG_arg_fail(7)) SWIG_fail
;
2997 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2998 if (SWIG_arg_fail(8)) SWIG_fail
;
3000 SWIG_null_ref("wxValidator");
3002 if (SWIG_arg_fail(8)) SWIG_fail
;
3007 arg9
= wxString_in_helper(obj8
);
3008 if (arg9
== NULL
) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
= NULL
;
3038 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3042 (char *) "self", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
3046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3047 if (SWIG_arg_fail(1)) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (arg1
)->GetBitmapLabel();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 wxBitmap
* resultptr
;
3057 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3066 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
= NULL
;
3068 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
3076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (arg1
)->GetBitmapDisabled();
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3086 wxBitmap
* resultptr
;
3087 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3096 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
= NULL
;
3098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
3106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (arg1
)->GetBitmapFocus();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3116 wxBitmap
* resultptr
;
3117 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3126 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
= NULL
;
3128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 (char *) "self", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
3136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3137 if (SWIG_arg_fail(1)) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (arg1
)->GetBitmapSelected();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3146 wxBitmap
* resultptr
;
3147 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3156 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
= NULL
;
3158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3159 wxBitmap
*arg2
= 0 ;
3160 PyObject
* obj0
= 0 ;
3161 PyObject
* obj1
= 0 ;
3163 (char *) "self",(char *) "bitmap", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3171 if (SWIG_arg_fail(2)) SWIG_fail
;
3173 SWIG_null_ref("wxBitmap");
3175 if (SWIG_arg_fail(2)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
= NULL
;
3193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3194 wxBitmap
*arg2
= 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3198 (char *) "self",(char *) "bitmap", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail
;
3205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3206 if (SWIG_arg_fail(2)) SWIG_fail
;
3208 SWIG_null_ref("wxBitmap");
3210 if (SWIG_arg_fail(2)) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
= NULL
;
3228 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3229 wxBitmap
*arg2
= 0 ;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3233 (char *) "self",(char *) "bitmap", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail
;
3240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3241 if (SWIG_arg_fail(2)) SWIG_fail
;
3243 SWIG_null_ref("wxBitmap");
3245 if (SWIG_arg_fail(2)) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
= NULL
;
3263 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3264 wxBitmap
*arg2
= 0 ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3268 (char *) "self",(char *) "bitmap", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail
;
3275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3276 if (SWIG_arg_fail(2)) SWIG_fail
;
3278 SWIG_null_ref("wxBitmap");
3280 if (SWIG_arg_fail(2)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
= NULL
;
3298 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3305 (char *) "self",(char *) "x",(char *) "y", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3310 if (SWIG_arg_fail(1)) SWIG_fail
;
3312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3313 if (SWIG_arg_fail(2)) SWIG_fail
;
3316 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3317 if (SWIG_arg_fail(3)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 (arg1
)->SetMargins(arg2
,arg3
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
= NULL
;
3335 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= SWIG_From_int(static_cast<int >(result
));
3361 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
= NULL
;
3363 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= SWIG_From_int(static_cast<int >(result
));
3389 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3394 return Py_BuildValue((char *)"");
3396 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3397 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3402 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3403 PyObject
*pyobj
= NULL
;
3407 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3409 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3416 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
= NULL
;
3418 wxWindow
*arg1
= (wxWindow
*) 0 ;
3419 int arg2
= (int) -1 ;
3420 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3421 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3422 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3423 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3424 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3425 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3426 long arg6
= (long) 0 ;
3427 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3428 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3429 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3430 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3432 bool temp3
= false ;
3435 bool temp8
= false ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3439 PyObject
* obj3
= 0 ;
3440 PyObject
* obj4
= 0 ;
3441 PyObject
* obj5
= 0 ;
3442 PyObject
* obj6
= 0 ;
3443 PyObject
* obj7
= 0 ;
3445 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail
;
3453 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3454 if (SWIG_arg_fail(2)) SWIG_fail
;
3459 arg3
= wxString_in_helper(obj2
);
3460 if (arg3
== NULL
) SWIG_fail
;
3467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3478 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3479 if (SWIG_arg_fail(6)) SWIG_fail
;
3484 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3485 if (SWIG_arg_fail(7)) SWIG_fail
;
3487 SWIG_null_ref("wxValidator");
3489 if (SWIG_arg_fail(7)) SWIG_fail
;
3494 arg8
= wxString_in_helper(obj7
);
3495 if (arg8
== NULL
) SWIG_fail
;
3500 if (!wxPyCheckForApp()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3530 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
= NULL
;
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3539 if (!wxPyCheckForApp()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (wxCheckBox
*)new wxCheckBox();
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3553 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
= NULL
;
3555 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3556 wxWindow
*arg2
= (wxWindow
*) 0 ;
3557 int arg3
= (int) -1 ;
3558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3560 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3561 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3562 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3563 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3564 long arg7
= (long) 0 ;
3565 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3566 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3567 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3568 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3570 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail
;
3590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3591 if (SWIG_arg_fail(2)) SWIG_fail
;
3594 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3595 if (SWIG_arg_fail(3)) SWIG_fail
;
3600 arg4
= wxString_in_helper(obj3
);
3601 if (arg4
== NULL
) SWIG_fail
;
3608 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3614 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3619 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3620 if (SWIG_arg_fail(7)) SWIG_fail
;
3625 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3626 if (SWIG_arg_fail(8)) SWIG_fail
;
3628 SWIG_null_ref("wxValidator");
3630 if (SWIG_arg_fail(8)) SWIG_fail
;
3635 arg9
= wxString_in_helper(obj8
);
3636 if (arg9
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
= NULL
;
3674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)(arg1
)->GetValue();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3700 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
= NULL
;
3702 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (bool)(arg1
)->IsChecked();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3728 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
= NULL
;
3730 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3735 (char *) "self",(char *) "state", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail
;
3742 arg2
= static_cast<bool const >(SWIG_As_bool(obj1
));
3743 if (SWIG_arg_fail(2)) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetValue(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
= NULL
;
3761 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3762 wxCheckBoxState result
;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= SWIG_From_int((result
));
3785 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
= NULL
;
3787 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3788 wxCheckBoxState arg2
;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3792 (char *) "self",(char *) "state", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 arg2
= static_cast<wxCheckBoxState
>(SWIG_As_int(obj1
));
3800 if (SWIG_arg_fail(2)) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 (arg1
)->Set3StateValue(arg2
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= NULL
;
3818 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3844 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
= NULL
;
3846 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3872 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
= NULL
;
3874 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3875 wxVisualAttributes result
;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "variant", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3884 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3885 if (SWIG_arg_fail(1)) SWIG_fail
;
3889 if (!wxPyCheckForApp()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3897 wxVisualAttributes
* resultptr
;
3898 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3907 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3910 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3912 return Py_BuildValue((char *)"");
3914 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3915 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3920 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3921 PyObject
*pyobj
= NULL
;
3925 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3927 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3934 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
= NULL
;
3936 wxWindow
*arg1
= (wxWindow
*) 0 ;
3937 int arg2
= (int) -1 ;
3938 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3939 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3940 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3941 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3942 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3943 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3944 long arg6
= (long) 0 ;
3945 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3946 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3947 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3948 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3952 bool temp5
= false ;
3953 bool temp8
= false ;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3956 PyObject
* obj2
= 0 ;
3957 PyObject
* obj3
= 0 ;
3958 PyObject
* obj4
= 0 ;
3959 PyObject
* obj5
= 0 ;
3960 PyObject
* obj6
= 0 ;
3961 PyObject
* obj7
= 0 ;
3963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3968 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3989 if (! PySequence_Check(obj4
)) {
3990 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3993 arg5
= new wxArrayString
;
3995 int i
, len
=PySequence_Length(obj4
);
3996 for (i
=0; i
<len
; i
++) {
3997 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3998 wxString
* s
= wxString_in_helper(item
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4008 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4009 if (SWIG_arg_fail(6)) SWIG_fail
;
4014 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4015 if (SWIG_arg_fail(7)) SWIG_fail
;
4017 SWIG_null_ref("wxValidator");
4019 if (SWIG_arg_fail(7)) SWIG_fail
;
4024 arg8
= wxString_in_helper(obj7
);
4025 if (arg8
== NULL
) SWIG_fail
;
4030 if (!wxPyCheckForApp()) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4039 if (temp5
) delete arg5
;
4048 if (temp5
) delete arg5
;
4058 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
= NULL
;
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxChoice
*)new wxChoice();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4081 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
= NULL
;
4083 wxChoice
*arg1
= (wxChoice
*) 0 ;
4084 wxWindow
*arg2
= (wxWindow
*) 0 ;
4085 int arg3
= (int) -1 ;
4086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4090 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4091 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4092 long arg7
= (long) 0 ;
4093 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4094 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4095 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
4096 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4100 bool temp6
= false ;
4101 bool temp9
= false ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 PyObject
* obj4
= 0 ;
4107 PyObject
* obj5
= 0 ;
4108 PyObject
* obj6
= 0 ;
4109 PyObject
* obj7
= 0 ;
4110 PyObject
* obj8
= 0 ;
4112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4117 if (SWIG_arg_fail(1)) SWIG_fail
;
4118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4119 if (SWIG_arg_fail(2)) SWIG_fail
;
4122 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4123 if (SWIG_arg_fail(3)) SWIG_fail
;
4129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4140 if (! PySequence_Check(obj5
)) {
4141 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4144 arg6
= new wxArrayString
;
4146 int i
, len
=PySequence_Length(obj5
);
4147 for (i
=0; i
<len
; i
++) {
4148 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4149 wxString
* s
= wxString_in_helper(item
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4159 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4160 if (SWIG_arg_fail(7)) SWIG_fail
;
4165 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4166 if (SWIG_arg_fail(8)) SWIG_fail
;
4168 SWIG_null_ref("wxValidator");
4170 if (SWIG_arg_fail(8)) SWIG_fail
;
4175 arg9
= wxString_in_helper(obj8
);
4176 if (arg9
== NULL
) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4191 if (temp6
) delete arg6
;
4200 if (temp6
) delete arg6
;
4210 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
= NULL
;
4212 wxChoice
*arg1
= (wxChoice
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4221 if (SWIG_arg_fail(1)) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_From_int(static_cast<int >(result
));
4238 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= NULL
;
4240 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4241 wxVisualAttributes result
;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "variant", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4250 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4251 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 if (!wxPyCheckForApp()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= wxChoice::GetClassDefaultAttributes(arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 wxVisualAttributes
* resultptr
;
4264 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4273 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4278 return Py_BuildValue((char *)"");
4280 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4281 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4286 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4287 PyObject
*pyobj
= NULL
;
4291 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4293 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4300 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= NULL
;
4302 wxWindow
*arg1
= (wxWindow
*) 0 ;
4303 int arg2
= (int) -1 ;
4304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4310 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4311 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4312 long arg7
= (long) 0 ;
4313 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4314 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4315 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4318 bool temp3
= false ;
4321 bool temp6
= false ;
4322 bool temp9
= false ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 PyObject
* obj2
= 0 ;
4326 PyObject
* obj3
= 0 ;
4327 PyObject
* obj4
= 0 ;
4328 PyObject
* obj5
= 0 ;
4329 PyObject
* obj6
= 0 ;
4330 PyObject
* obj7
= 0 ;
4331 PyObject
* obj8
= 0 ;
4333 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4338 if (SWIG_arg_fail(1)) SWIG_fail
;
4341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4342 if (SWIG_arg_fail(2)) SWIG_fail
;
4347 arg3
= wxString_in_helper(obj2
);
4348 if (arg3
== NULL
) SWIG_fail
;
4355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4366 if (! PySequence_Check(obj5
)) {
4367 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4370 arg6
= new wxArrayString
;
4372 int i
, len
=PySequence_Length(obj5
);
4373 for (i
=0; i
<len
; i
++) {
4374 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4375 wxString
* s
= wxString_in_helper(item
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4385 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4386 if (SWIG_arg_fail(7)) SWIG_fail
;
4391 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4392 if (SWIG_arg_fail(8)) SWIG_fail
;
4394 SWIG_null_ref("wxValidator");
4396 if (SWIG_arg_fail(8)) SWIG_fail
;
4401 arg9
= wxString_in_helper(obj8
);
4402 if (arg9
== NULL
) SWIG_fail
;
4407 if (!wxPyCheckForApp()) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 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
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4420 if (temp6
) delete arg6
;
4433 if (temp6
) delete arg6
;
4443 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
= NULL
;
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4452 if (!wxPyCheckForApp()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxComboBox
*)new wxComboBox();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4466 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
= NULL
;
4468 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4469 wxWindow
*arg2
= (wxWindow
*) 0 ;
4470 int arg3
= (int) -1 ;
4471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4473 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4474 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4475 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4476 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4477 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4478 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4479 long arg8
= (long) 0 ;
4480 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4481 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4482 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4483 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4485 bool temp4
= false ;
4488 bool temp7
= false ;
4489 bool temp10
= false ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 PyObject
* obj3
= 0 ;
4494 PyObject
* obj4
= 0 ;
4495 PyObject
* obj5
= 0 ;
4496 PyObject
* obj6
= 0 ;
4497 PyObject
* obj7
= 0 ;
4498 PyObject
* obj8
= 0 ;
4499 PyObject
* obj9
= 0 ;
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(2)) SWIG_fail
;
4511 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4512 if (SWIG_arg_fail(3)) SWIG_fail
;
4517 arg4
= wxString_in_helper(obj3
);
4518 if (arg4
== NULL
) SWIG_fail
;
4525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4536 if (! PySequence_Check(obj6
)) {
4537 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4540 arg7
= new wxArrayString
;
4542 int i
, len
=PySequence_Length(obj6
);
4543 for (i
=0; i
<len
; i
++) {
4544 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4545 wxString
* s
= wxString_in_helper(item
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4555 arg8
= static_cast<long >(SWIG_As_long(obj7
));
4556 if (SWIG_arg_fail(8)) SWIG_fail
;
4561 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(9)) SWIG_fail
;
4564 SWIG_null_ref("wxValidator");
4566 if (SWIG_arg_fail(9)) SWIG_fail
;
4571 arg10
= wxString_in_helper(obj9
);
4572 if (arg10
== NULL
) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 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
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4591 if (temp7
) delete arg7
;
4604 if (temp7
) delete arg7
;
4614 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= NULL
;
4616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4620 (char *) "self", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= ((wxComboBox
const *)arg1
)->GetValue();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4646 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= NULL
;
4648 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4649 wxString
*arg2
= 0 ;
4650 bool temp2
= false ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4654 (char *) "self",(char *) "value", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4659 if (SWIG_arg_fail(1)) SWIG_fail
;
4661 arg2
= wxString_in_helper(obj1
);
4662 if (arg2
== NULL
) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 (arg1
)->SetValue((wxString
const &)*arg2
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
= NULL
;
4689 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4692 (char *) "self", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
= NULL
;
4714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4722 if (SWIG_arg_fail(1)) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 Py_INCREF(Py_None
); resultobj
= Py_None
;
4737 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= NULL
;
4739 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4742 (char *) "self", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 Py_INCREF(Py_None
); resultobj
= Py_None
;
4762 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
= NULL
;
4764 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4769 (char *) "self",(char *) "pos", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4774 if (SWIG_arg_fail(1)) SWIG_fail
;
4776 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4777 if (SWIG_arg_fail(2)) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 (arg1
)->SetInsertionPoint(arg2
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 Py_INCREF(Py_None
); resultobj
= Py_None
;
4793 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
= NULL
;
4795 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4797 PyObject
* obj0
= 0 ;
4799 (char *) "self", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_From_long(static_cast<long >(result
));
4821 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
= NULL
;
4823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "self", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4832 if (SWIG_arg_fail(1)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_From_long(static_cast<long >(result
));
4849 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
= NULL
;
4851 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4854 wxString
*arg4
= 0 ;
4855 bool temp4
= false ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj2
= 0 ;
4859 PyObject
* obj3
= 0 ;
4861 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail
;
4868 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4869 if (SWIG_arg_fail(2)) SWIG_fail
;
4872 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4873 if (SWIG_arg_fail(3)) SWIG_fail
;
4876 arg4
= wxString_in_helper(obj3
);
4877 if (arg4
== NULL
) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
= NULL
;
4904 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "n", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4917 if (SWIG_arg_fail(2)) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 (arg1
)->SetSelection(arg2
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= NULL
;
4935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 PyObject
* obj2
= 0 ;
4942 (char *) "self",(char *) "from",(char *) "to", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail
;
4949 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4950 if (SWIG_arg_fail(2)) SWIG_fail
;
4953 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4954 if (SWIG_arg_fail(3)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SetSelection(arg2
,arg3
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
= NULL
;
4972 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_From_int(static_cast<int >(result
));
4998 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= NULL
;
5000 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5001 wxString
*arg2
= 0 ;
5003 bool temp2
= false ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "string", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail
;
5014 arg2
= wxString_in_helper(obj1
);
5015 if (arg2
== NULL
) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5042 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= NULL
;
5044 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5046 wxString
*arg3
= 0 ;
5047 bool temp3
= false ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5052 (char *) "self",(char *) "n",(char *) "string", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail
;
5059 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5060 if (SWIG_arg_fail(2)) SWIG_fail
;
5063 arg3
= wxString_in_helper(obj2
);
5064 if (arg3
== NULL
) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 Py_INCREF(Py_None
); resultobj
= Py_None
;
5089 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= NULL
;
5091 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "editable", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5104 if (SWIG_arg_fail(2)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 (arg1
)->SetEditable(arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 Py_INCREF(Py_None
); resultobj
= Py_None
;
5120 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= NULL
;
5122 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5125 (char *) "self", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 (arg1
)->SetInsertionPointEnd();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 Py_INCREF(Py_None
); resultobj
= Py_None
;
5145 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= NULL
;
5147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5152 PyObject
* obj2
= 0 ;
5154 (char *) "self",(char *) "from",(char *) "to", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail
;
5161 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5162 if (SWIG_arg_fail(2)) SWIG_fail
;
5165 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5166 if (SWIG_arg_fail(3)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->Remove(arg2
,arg3
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 Py_INCREF(Py_None
); resultobj
= Py_None
;
5182 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
= NULL
;
5184 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5210 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
= NULL
;
5212 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5220 if (SWIG_arg_fail(1)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= NULL
;
5237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5238 PyObject
* obj0
= 0 ;
5240 (char *) "self", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
= NULL
;
5262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5270 if (SWIG_arg_fail(1)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->SelectAll();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5285 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= NULL
;
5287 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5313 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
= NULL
;
5315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5319 (char *) "self", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5341 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= NULL
;
5343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "self", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5352 if (SWIG_arg_fail(1)) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5369 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
= NULL
;
5371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5375 (char *) "self", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5380 if (SWIG_arg_fail(1)) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5397 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
= NULL
;
5399 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5425 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= NULL
;
5427 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5428 wxVisualAttributes result
;
5429 PyObject
* obj0
= 0 ;
5431 (char *) "variant", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5437 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5438 if (SWIG_arg_fail(1)) SWIG_fail
;
5442 if (!wxPyCheckForApp()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 wxVisualAttributes
* resultptr
;
5451 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5460 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5463 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5465 return Py_BuildValue((char *)"");
5467 static int _wrap_GaugeNameStr_set(PyObject
*) {
5468 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5473 static PyObject
*_wrap_GaugeNameStr_get(void) {
5474 PyObject
*pyobj
= NULL
;
5478 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5480 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5487 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
= NULL
;
5489 wxWindow
*arg1
= (wxWindow
*) 0 ;
5490 int arg2
= (int) -1 ;
5491 int arg3
= (int) 100 ;
5492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5496 long arg6
= (long) wxGA_HORIZONTAL
;
5497 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5498 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5499 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5500 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5504 bool temp8
= false ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 PyObject
* obj2
= 0 ;
5508 PyObject
* obj3
= 0 ;
5509 PyObject
* obj4
= 0 ;
5510 PyObject
* obj5
= 0 ;
5511 PyObject
* obj6
= 0 ;
5512 PyObject
* obj7
= 0 ;
5514 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5522 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5523 if (SWIG_arg_fail(2)) SWIG_fail
;
5528 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5529 if (SWIG_arg_fail(3)) SWIG_fail
;
5535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5546 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5547 if (SWIG_arg_fail(6)) SWIG_fail
;
5552 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5553 if (SWIG_arg_fail(7)) SWIG_fail
;
5555 SWIG_null_ref("wxValidator");
5557 if (SWIG_arg_fail(7)) SWIG_fail
;
5562 arg8
= wxString_in_helper(obj7
);
5563 if (arg8
== NULL
) SWIG_fail
;
5568 if (!wxPyCheckForApp()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5590 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
= NULL
;
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5599 if (!wxPyCheckForApp()) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (wxGauge
*)new wxGauge();
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5613 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
= NULL
;
5615 wxGauge
*arg1
= (wxGauge
*) 0 ;
5616 wxWindow
*arg2
= (wxWindow
*) 0 ;
5617 int arg3
= (int) -1 ;
5618 int arg4
= (int) 100 ;
5619 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5620 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5621 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5622 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5623 long arg7
= (long) wxGA_HORIZONTAL
;
5624 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5625 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5626 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5627 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5631 bool temp9
= false ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5634 PyObject
* obj2
= 0 ;
5635 PyObject
* obj3
= 0 ;
5636 PyObject
* obj4
= 0 ;
5637 PyObject
* obj5
= 0 ;
5638 PyObject
* obj6
= 0 ;
5639 PyObject
* obj7
= 0 ;
5640 PyObject
* obj8
= 0 ;
5642 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5649 if (SWIG_arg_fail(2)) SWIG_fail
;
5652 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5653 if (SWIG_arg_fail(3)) SWIG_fail
;
5658 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5659 if (SWIG_arg_fail(4)) SWIG_fail
;
5665 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5671 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5676 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5677 if (SWIG_arg_fail(7)) SWIG_fail
;
5682 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5683 if (SWIG_arg_fail(8)) SWIG_fail
;
5685 SWIG_null_ref("wxValidator");
5687 if (SWIG_arg_fail(8)) SWIG_fail
;
5692 arg9
= wxString_in_helper(obj8
);
5693 if (arg9
== NULL
) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= NULL
;
5723 wxGauge
*arg1
= (wxGauge
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "range", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5733 if (SWIG_arg_fail(1)) SWIG_fail
;
5735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5736 if (SWIG_arg_fail(2)) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 (arg1
)->SetRange(arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 Py_INCREF(Py_None
); resultobj
= Py_None
;
5752 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
= NULL
;
5754 wxGauge
*arg1
= (wxGauge
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5758 (char *) "self", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= SWIG_From_int(static_cast<int >(result
));
5780 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
= NULL
;
5782 wxGauge
*arg1
= (wxGauge
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "pos", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5792 if (SWIG_arg_fail(1)) SWIG_fail
;
5794 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5795 if (SWIG_arg_fail(2)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->SetValue(arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
= NULL
;
5813 wxGauge
*arg1
= (wxGauge
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "self", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5822 if (SWIG_arg_fail(1)) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_From_int(static_cast<int >(result
));
5839 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
= NULL
;
5841 wxGauge
*arg1
= (wxGauge
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "self", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5850 if (SWIG_arg_fail(1)) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= NULL
;
5869 wxGauge
*arg1
= (wxGauge
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5874 (char *) "self",(char *) "w", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail
;
5881 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5882 if (SWIG_arg_fail(2)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->SetShadowWidth(arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5898 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= NULL
;
5900 wxGauge
*arg1
= (wxGauge
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5909 if (SWIG_arg_fail(1)) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_From_int(static_cast<int >(result
));
5926 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
= NULL
;
5928 wxGauge
*arg1
= (wxGauge
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5933 (char *) "self",(char *) "w", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail
;
5940 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5941 if (SWIG_arg_fail(2)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 (arg1
)->SetBezelFace(arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 Py_INCREF(Py_None
); resultobj
= Py_None
;
5957 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
= NULL
;
5959 wxGauge
*arg1
= (wxGauge
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5968 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_From_int(static_cast<int >(result
));
5985 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
= NULL
;
5987 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5988 wxVisualAttributes result
;
5989 PyObject
* obj0
= 0 ;
5991 (char *) "variant", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5997 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5998 if (SWIG_arg_fail(1)) SWIG_fail
;
6002 if (!wxPyCheckForApp()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 wxVisualAttributes
* resultptr
;
6011 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6020 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6023 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6025 return Py_BuildValue((char *)"");
6027 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6028 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6033 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6034 PyObject
*pyobj
= NULL
;
6038 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6040 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6047 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6048 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6053 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6054 PyObject
*pyobj
= NULL
;
6058 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6060 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6067 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6068 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6073 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6074 PyObject
*pyobj
= NULL
;
6078 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6080 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6087 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= NULL
;
6089 wxWindow
*arg1
= (wxWindow
*) 0 ;
6090 int arg2
= (int) -1 ;
6091 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6092 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6097 long arg6
= (long) 0 ;
6098 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6099 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6100 wxStaticBox
*result
;
6101 bool temp3
= false ;
6104 bool temp7
= false ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6108 PyObject
* obj3
= 0 ;
6109 PyObject
* obj4
= 0 ;
6110 PyObject
* obj5
= 0 ;
6111 PyObject
* obj6
= 0 ;
6113 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6118 if (SWIG_arg_fail(1)) SWIG_fail
;
6121 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6122 if (SWIG_arg_fail(2)) SWIG_fail
;
6127 arg3
= wxString_in_helper(obj2
);
6128 if (arg3
== NULL
) SWIG_fail
;
6135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6146 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6147 if (SWIG_arg_fail(6)) SWIG_fail
;
6152 arg7
= wxString_in_helper(obj6
);
6153 if (arg7
== NULL
) SWIG_fail
;
6158 if (!wxPyCheckForApp()) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6188 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= NULL
;
6190 wxStaticBox
*result
;
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6197 if (!wxPyCheckForApp()) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (wxStaticBox
*)new wxStaticBox();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6211 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
= NULL
;
6213 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6214 wxWindow
*arg2
= (wxWindow
*) 0 ;
6215 int arg3
= (int) -1 ;
6216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6222 long arg7
= (long) 0 ;
6223 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6226 bool temp4
= false ;
6229 bool temp8
= false ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6233 PyObject
* obj3
= 0 ;
6234 PyObject
* obj4
= 0 ;
6235 PyObject
* obj5
= 0 ;
6236 PyObject
* obj6
= 0 ;
6237 PyObject
* obj7
= 0 ;
6239 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(2)) SWIG_fail
;
6249 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6250 if (SWIG_arg_fail(3)) SWIG_fail
;
6255 arg4
= wxString_in_helper(obj3
);
6256 if (arg4
== NULL
) SWIG_fail
;
6263 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6269 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6274 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6275 if (SWIG_arg_fail(7)) SWIG_fail
;
6280 arg8
= wxString_in_helper(obj7
);
6281 if (arg8
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= NULL
;
6319 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6320 wxVisualAttributes result
;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "variant", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6329 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6330 if (SWIG_arg_fail(1)) SWIG_fail
;
6334 if (!wxPyCheckForApp()) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6342 wxVisualAttributes
* resultptr
;
6343 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6352 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6355 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6357 return Py_BuildValue((char *)"");
6359 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
= NULL
;
6361 wxWindow
*arg1
= (wxWindow
*) 0 ;
6362 int arg2
= (int) -1 ;
6363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6367 long arg5
= (long) wxLI_HORIZONTAL
;
6368 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6369 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6370 wxStaticLine
*result
;
6373 bool temp6
= false ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6378 PyObject
* obj4
= 0 ;
6379 PyObject
* obj5
= 0 ;
6381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6386 if (SWIG_arg_fail(1)) SWIG_fail
;
6389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6390 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6402 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6407 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6408 if (SWIG_arg_fail(5)) SWIG_fail
;
6413 arg6
= wxString_in_helper(obj5
);
6414 if (arg6
== NULL
) SWIG_fail
;
6419 if (!wxPyCheckForApp()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6441 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
*resultobj
= NULL
;
6443 wxStaticLine
*result
;
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6450 if (!wxPyCheckForApp()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (wxStaticLine
*)new wxStaticLine();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6464 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
= NULL
;
6466 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6467 wxWindow
*arg2
= (wxWindow
*) 0 ;
6468 int arg3
= (int) -1 ;
6469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6473 long arg6
= (long) wxLI_HORIZONTAL
;
6474 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6479 bool temp7
= false ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6482 PyObject
* obj2
= 0 ;
6483 PyObject
* obj3
= 0 ;
6484 PyObject
* obj4
= 0 ;
6485 PyObject
* obj5
= 0 ;
6486 PyObject
* obj6
= 0 ;
6488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail
;
6494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(2)) SWIG_fail
;
6498 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6499 if (SWIG_arg_fail(3)) SWIG_fail
;
6505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6516 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6517 if (SWIG_arg_fail(6)) SWIG_fail
;
6522 arg7
= wxString_in_helper(obj6
);
6523 if (arg7
== NULL
) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
= NULL
;
6553 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
= NULL
;
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (int)wxStaticLine::GetDefaultSize();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_From_int(static_cast<int >(result
));
6603 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= NULL
;
6605 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6606 wxVisualAttributes result
;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "variant", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6615 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 if (!wxPyCheckForApp()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 wxVisualAttributes
* resultptr
;
6629 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6638 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6643 return Py_BuildValue((char *)"");
6645 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= NULL
;
6647 wxWindow
*arg1
= (wxWindow
*) 0 ;
6648 int arg2
= (int) -1 ;
6649 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6655 long arg6
= (long) 0 ;
6656 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6658 wxStaticText
*result
;
6659 bool temp3
= false ;
6662 bool temp7
= false ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6665 PyObject
* obj2
= 0 ;
6666 PyObject
* obj3
= 0 ;
6667 PyObject
* obj4
= 0 ;
6668 PyObject
* obj5
= 0 ;
6669 PyObject
* obj6
= 0 ;
6671 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6680 if (SWIG_arg_fail(2)) SWIG_fail
;
6685 arg3
= wxString_in_helper(obj2
);
6686 if (arg3
== NULL
) SWIG_fail
;
6693 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6699 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6704 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6705 if (SWIG_arg_fail(6)) SWIG_fail
;
6710 arg7
= wxString_in_helper(obj6
);
6711 if (arg7
== NULL
) SWIG_fail
;
6716 if (!wxPyCheckForApp()) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6746 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
= NULL
;
6748 wxStaticText
*result
;
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (wxStaticText
*)new wxStaticText();
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6769 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
= NULL
;
6771 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6772 wxWindow
*arg2
= (wxWindow
*) 0 ;
6773 int arg3
= (int) -1 ;
6774 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6775 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6776 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6777 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6778 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6779 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6780 long arg7
= (long) 0 ;
6781 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6784 bool temp4
= false ;
6787 bool temp8
= false ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 PyObject
* obj3
= 0 ;
6792 PyObject
* obj4
= 0 ;
6793 PyObject
* obj5
= 0 ;
6794 PyObject
* obj6
= 0 ;
6795 PyObject
* obj7
= 0 ;
6797 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6802 if (SWIG_arg_fail(1)) SWIG_fail
;
6803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(2)) SWIG_fail
;
6807 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6808 if (SWIG_arg_fail(3)) SWIG_fail
;
6813 arg4
= wxString_in_helper(obj3
);
6814 if (arg4
== NULL
) SWIG_fail
;
6821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6832 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6833 if (SWIG_arg_fail(7)) SWIG_fail
;
6838 arg8
= wxString_in_helper(obj7
);
6839 if (arg8
== NULL
) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6875 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
= NULL
;
6877 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6882 (char *) "self",(char *) "width", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail
;
6889 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6890 if (SWIG_arg_fail(2)) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 Py_INCREF(Py_None
); resultobj
= Py_None
;
6906 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= NULL
;
6908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6909 wxVisualAttributes result
;
6910 PyObject
* obj0
= 0 ;
6912 (char *) "variant", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6918 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 wxVisualAttributes
* resultptr
;
6932 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6941 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6946 return Py_BuildValue((char *)"");
6948 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
= NULL
;
6950 wxWindow
*arg1
= (wxWindow
*) 0 ;
6951 int arg2
= (int) -1 ;
6952 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6953 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6954 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6955 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6956 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6957 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6958 long arg6
= (long) 0 ;
6959 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6960 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6961 wxStaticBitmap
*result
;
6964 bool temp7
= false ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 PyObject
* obj2
= 0 ;
6968 PyObject
* obj3
= 0 ;
6969 PyObject
* obj4
= 0 ;
6970 PyObject
* obj5
= 0 ;
6971 PyObject
* obj6
= 0 ;
6973 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6978 if (SWIG_arg_fail(1)) SWIG_fail
;
6981 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6982 if (SWIG_arg_fail(2)) SWIG_fail
;
6987 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(3)) SWIG_fail
;
6990 SWIG_null_ref("wxBitmap");
6992 if (SWIG_arg_fail(3)) SWIG_fail
;
6998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7009 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7010 if (SWIG_arg_fail(6)) SWIG_fail
;
7015 arg7
= wxString_in_helper(obj6
);
7016 if (arg7
== NULL
) SWIG_fail
;
7021 if (!wxPyCheckForApp()) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7043 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
= NULL
;
7045 wxStaticBitmap
*result
;
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7052 if (!wxPyCheckForApp()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7066 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= NULL
;
7068 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7069 wxWindow
*arg2
= (wxWindow
*) 0 ;
7070 int arg3
= (int) -1 ;
7071 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7072 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7073 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7074 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7075 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7076 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7077 long arg7
= (long) 0 ;
7078 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7079 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7083 bool temp8
= false ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 PyObject
* obj2
= 0 ;
7087 PyObject
* obj3
= 0 ;
7088 PyObject
* obj4
= 0 ;
7089 PyObject
* obj5
= 0 ;
7090 PyObject
* obj6
= 0 ;
7091 PyObject
* obj7
= 0 ;
7093 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7098 if (SWIG_arg_fail(1)) SWIG_fail
;
7099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7100 if (SWIG_arg_fail(2)) SWIG_fail
;
7103 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7104 if (SWIG_arg_fail(3)) SWIG_fail
;
7109 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7110 if (SWIG_arg_fail(4)) SWIG_fail
;
7112 SWIG_null_ref("wxBitmap");
7114 if (SWIG_arg_fail(4)) SWIG_fail
;
7120 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7126 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7131 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7132 if (SWIG_arg_fail(7)) SWIG_fail
;
7137 arg8
= wxString_in_helper(obj7
);
7138 if (arg8
== NULL
) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7166 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
= NULL
;
7168 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7172 (char *) "self", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7177 if (SWIG_arg_fail(1)) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (arg1
)->GetBitmap();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 wxBitmap
* resultptr
;
7187 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7196 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= NULL
;
7198 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7199 wxBitmap
*arg2
= 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7203 (char *) "self",(char *) "bitmap", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(2)) SWIG_fail
;
7213 SWIG_null_ref("wxBitmap");
7215 if (SWIG_arg_fail(2)) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7231 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
= NULL
;
7233 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "icon", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7243 if (SWIG_arg_fail(1)) SWIG_fail
;
7245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7246 if (SWIG_arg_fail(2)) SWIG_fail
;
7248 SWIG_null_ref("wxIcon");
7250 if (SWIG_arg_fail(2)) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7266 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
= NULL
;
7268 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7269 wxVisualAttributes result
;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "variant", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7278 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7279 if (SWIG_arg_fail(1)) SWIG_fail
;
7283 if (!wxPyCheckForApp()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 wxVisualAttributes
* resultptr
;
7292 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7301 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7304 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7306 return Py_BuildValue((char *)"");
7308 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7309 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7314 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7315 PyObject
*pyobj
= NULL
;
7319 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7321 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7328 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
= NULL
;
7330 wxWindow
*arg1
= (wxWindow
*) 0 ;
7331 int arg2
= (int) -1 ;
7332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7336 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7337 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7338 long arg6
= (long) 0 ;
7339 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7340 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7341 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7342 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7346 bool temp5
= false ;
7347 bool temp8
= false ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 PyObject
* obj2
= 0 ;
7351 PyObject
* obj3
= 0 ;
7352 PyObject
* obj4
= 0 ;
7353 PyObject
* obj5
= 0 ;
7354 PyObject
* obj6
= 0 ;
7355 PyObject
* obj7
= 0 ;
7357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail
;
7365 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7366 if (SWIG_arg_fail(2)) SWIG_fail
;
7372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7378 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7383 if (! PySequence_Check(obj4
)) {
7384 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7387 arg5
= new wxArrayString
;
7389 int i
, len
=PySequence_Length(obj4
);
7390 for (i
=0; i
<len
; i
++) {
7391 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7392 wxString
* s
= wxString_in_helper(item
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7402 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7403 if (SWIG_arg_fail(6)) SWIG_fail
;
7408 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(7)) SWIG_fail
;
7411 SWIG_null_ref("wxValidator");
7413 if (SWIG_arg_fail(7)) SWIG_fail
;
7418 arg8
= wxString_in_helper(obj7
);
7419 if (arg8
== NULL
) SWIG_fail
;
7424 if (!wxPyCheckForApp()) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7433 if (temp5
) delete arg5
;
7442 if (temp5
) delete arg5
;
7452 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
= NULL
;
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7461 if (!wxPyCheckForApp()) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (wxListBox
*)new wxListBox();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7475 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
= NULL
;
7477 wxListBox
*arg1
= (wxListBox
*) 0 ;
7478 wxWindow
*arg2
= (wxWindow
*) 0 ;
7479 int arg3
= (int) -1 ;
7480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7484 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7485 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7486 long arg7
= (long) 0 ;
7487 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7488 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7489 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7490 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7494 bool temp6
= false ;
7495 bool temp9
= false ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7498 PyObject
* obj2
= 0 ;
7499 PyObject
* obj3
= 0 ;
7500 PyObject
* obj4
= 0 ;
7501 PyObject
* obj5
= 0 ;
7502 PyObject
* obj6
= 0 ;
7503 PyObject
* obj7
= 0 ;
7504 PyObject
* obj8
= 0 ;
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7511 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7513 if (SWIG_arg_fail(2)) SWIG_fail
;
7516 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7517 if (SWIG_arg_fail(3)) SWIG_fail
;
7523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7534 if (! PySequence_Check(obj5
)) {
7535 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7538 arg6
= new wxArrayString
;
7540 int i
, len
=PySequence_Length(obj5
);
7541 for (i
=0; i
<len
; i
++) {
7542 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7543 wxString
* s
= wxString_in_helper(item
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7553 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7554 if (SWIG_arg_fail(7)) SWIG_fail
;
7559 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7560 if (SWIG_arg_fail(8)) SWIG_fail
;
7562 SWIG_null_ref("wxValidator");
7564 if (SWIG_arg_fail(8)) SWIG_fail
;
7569 arg9
= wxString_in_helper(obj8
);
7570 if (arg9
== NULL
) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 if (temp6
) delete arg6
;
7594 if (temp6
) delete arg6
;
7604 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
= NULL
;
7606 wxListBox
*arg1
= (wxListBox
*) 0 ;
7607 wxString
*arg2
= 0 ;
7609 PyObject
*arg4
= (PyObject
*) NULL
;
7610 bool temp2
= false ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7613 PyObject
* obj2
= 0 ;
7614 PyObject
* obj3
= 0 ;
7616 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail
;
7623 arg2
= wxString_in_helper(obj1
);
7624 if (arg2
== NULL
) SWIG_fail
;
7628 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7629 if (SWIG_arg_fail(3)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
= NULL
;
7658 wxListBox
*arg1
= (wxListBox
*) 0 ;
7659 wxArrayString
*arg2
= 0 ;
7661 bool temp2
= false ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 PyObject
* obj2
= 0 ;
7666 (char *) "self",(char *) "items",(char *) "pos", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7673 if (! PySequence_Check(obj1
)) {
7674 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7677 arg2
= new wxArrayString
;
7679 int i
, len
=PySequence_Length(obj1
);
7680 for (i
=0; i
<len
; i
++) {
7681 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7682 wxString
* s
= wxString_in_helper(item
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7690 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7691 if (SWIG_arg_fail(3)) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7702 if (temp2
) delete arg2
;
7707 if (temp2
) delete arg2
;
7713 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= NULL
;
7715 wxListBox
*arg1
= (wxListBox
*) 0 ;
7716 wxArrayString
*arg2
= 0 ;
7717 bool temp2
= false ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "self",(char *) "items", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail
;
7728 if (! PySequence_Check(obj1
)) {
7729 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7732 arg2
= new wxArrayString
;
7734 int i
, len
=PySequence_Length(obj1
);
7735 for (i
=0; i
<len
; i
++) {
7736 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7737 wxString
* s
= wxString_in_helper(item
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 (arg1
)->Set((wxArrayString
const &)*arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 if (temp2
) delete arg2
;
7758 if (temp2
) delete arg2
;
7764 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= NULL
;
7766 wxListBox
*arg1
= (wxListBox
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "n", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail
;
7779 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7780 if (SWIG_arg_fail(2)) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7798 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
= NULL
;
7800 wxListBox
*arg1
= (wxListBox
*) 0 ;
7802 bool arg3
= (bool) true ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7807 (char *) "self",(char *) "n",(char *) "select", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7819 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7820 if (SWIG_arg_fail(3)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->SetSelection(arg2
,arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= NULL
;
7839 wxListBox
*arg1
= (wxListBox
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "n", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7852 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 (arg1
)->Select(arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= NULL
;
7870 wxListBox
*arg1
= (wxListBox
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7875 (char *) "self",(char *) "n", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail
;
7882 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7883 if (SWIG_arg_fail(2)) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->Deselect(arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= NULL
;
7901 wxListBox
*arg1
= (wxListBox
*) 0 ;
7902 int arg2
= (int) -1 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "itemToLeaveSelected", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail
;
7914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7915 if (SWIG_arg_fail(2)) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 (arg1
)->DeselectAll(arg2
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7932 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
= NULL
;
7934 wxListBox
*arg1
= (wxListBox
*) 0 ;
7935 wxString
*arg2
= 0 ;
7936 bool arg3
= (bool) true ;
7938 bool temp2
= false ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7943 (char *) "self",(char *) "s",(char *) "select", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail
;
7950 arg2
= wxString_in_helper(obj1
);
7951 if (arg2
== NULL
) SWIG_fail
;
7956 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7957 if (SWIG_arg_fail(3)) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7984 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
= NULL
;
7986 wxListBox
*arg1
= (wxListBox
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8010 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= NULL
;
8012 wxListBox
*arg1
= (wxListBox
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "n", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail
;
8024 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8025 if (SWIG_arg_fail(2)) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 (arg1
)->SetFirstItem(arg2
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 Py_INCREF(Py_None
); resultobj
= Py_None
;
8041 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
= NULL
;
8043 wxListBox
*arg1
= (wxListBox
*) 0 ;
8044 wxString
*arg2
= 0 ;
8045 bool temp2
= false ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "s", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 arg2
= wxString_in_helper(obj1
);
8057 if (arg2
== NULL
) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
= NULL
;
8084 wxListBox
*arg1
= (wxListBox
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8089 (char *) "self",(char *) "n", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8096 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8097 if (SWIG_arg_fail(2)) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 (arg1
)->EnsureVisible(arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8113 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
= NULL
;
8115 wxListBox
*arg1
= (wxListBox
*) 0 ;
8116 wxString
*arg2
= 0 ;
8117 bool temp2
= false ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8121 (char *) "self",(char *) "s", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 arg2
= wxString_in_helper(obj1
);
8129 if (arg2
== NULL
) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
= NULL
;
8156 wxListBox
*arg1
= (wxListBox
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8182 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
= NULL
;
8184 wxListBox
*arg1
= (wxListBox
*) 0 ;
8186 wxColour
*arg3
= 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 PyObject
* obj2
= 0 ;
8192 (char *) "self",(char *) "item",(char *) "c", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= static_cast<int >(SWIG_As_int(obj1
));
8200 if (SWIG_arg_fail(2)) SWIG_fail
;
8204 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
= NULL
;
8222 wxListBox
*arg1
= (wxListBox
*) 0 ;
8224 wxColour
*arg3
= 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8230 (char *) "self",(char *) "item",(char *) "c", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8238 if (SWIG_arg_fail(2)) SWIG_fail
;
8242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= NULL
;
8260 wxListBox
*arg1
= (wxListBox
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 PyObject
* obj2
= 0 ;
8267 (char *) "self",(char *) "item",(char *) "f", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail
;
8274 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8275 if (SWIG_arg_fail(2)) SWIG_fail
;
8278 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(3)) SWIG_fail
;
8281 SWIG_null_ref("wxFont");
8283 if (SWIG_arg_fail(3)) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
= NULL
;
8301 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8302 wxVisualAttributes result
;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "variant", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8311 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8316 if (!wxPyCheckForApp()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 wxVisualAttributes
* resultptr
;
8325 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8334 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8339 return Py_BuildValue((char *)"");
8341 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= NULL
;
8343 wxWindow
*arg1
= (wxWindow
*) 0 ;
8344 int arg2
= (int) -1 ;
8345 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8346 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8347 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8348 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8349 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8350 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8351 long arg6
= (long) 0 ;
8352 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8353 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8354 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8355 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8356 wxCheckListBox
*result
;
8359 bool temp5
= false ;
8360 bool temp8
= false ;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8363 PyObject
* obj2
= 0 ;
8364 PyObject
* obj3
= 0 ;
8365 PyObject
* obj4
= 0 ;
8366 PyObject
* obj5
= 0 ;
8367 PyObject
* obj6
= 0 ;
8368 PyObject
* obj7
= 0 ;
8370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8378 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8379 if (SWIG_arg_fail(2)) SWIG_fail
;
8385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8396 if (! PySequence_Check(obj4
)) {
8397 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8400 arg5
= new wxArrayString
;
8402 int i
, len
=PySequence_Length(obj4
);
8403 for (i
=0; i
<len
; i
++) {
8404 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8405 wxString
* s
= wxString_in_helper(item
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8415 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8416 if (SWIG_arg_fail(6)) SWIG_fail
;
8421 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8422 if (SWIG_arg_fail(7)) SWIG_fail
;
8424 SWIG_null_ref("wxValidator");
8426 if (SWIG_arg_fail(7)) SWIG_fail
;
8431 arg8
= wxString_in_helper(obj7
);
8432 if (arg8
== NULL
) SWIG_fail
;
8437 if (!wxPyCheckForApp()) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8446 if (temp5
) delete arg5
;
8455 if (temp5
) delete arg5
;
8465 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
= NULL
;
8467 wxCheckListBox
*result
;
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8474 if (!wxPyCheckForApp()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxCheckListBox
*)new wxCheckListBox();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8488 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
= NULL
;
8490 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8491 wxWindow
*arg2
= (wxWindow
*) 0 ;
8492 int arg3
= (int) -1 ;
8493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8497 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8498 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8499 long arg7
= (long) 0 ;
8500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8502 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8507 bool temp6
= false ;
8508 bool temp9
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8512 PyObject
* obj3
= 0 ;
8513 PyObject
* obj4
= 0 ;
8514 PyObject
* obj5
= 0 ;
8515 PyObject
* obj6
= 0 ;
8516 PyObject
* obj7
= 0 ;
8517 PyObject
* obj8
= 0 ;
8519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(2)) SWIG_fail
;
8529 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8530 if (SWIG_arg_fail(3)) SWIG_fail
;
8536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8547 if (! PySequence_Check(obj5
)) {
8548 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8551 arg6
= new wxArrayString
;
8553 int i
, len
=PySequence_Length(obj5
);
8554 for (i
=0; i
<len
; i
++) {
8555 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8556 wxString
* s
= wxString_in_helper(item
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8566 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8567 if (SWIG_arg_fail(7)) SWIG_fail
;
8572 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8573 if (SWIG_arg_fail(8)) SWIG_fail
;
8575 SWIG_null_ref("wxValidator");
8577 if (SWIG_arg_fail(8)) SWIG_fail
;
8582 arg9
= wxString_in_helper(obj8
);
8583 if (arg9
== NULL
) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 if (temp6
) delete arg6
;
8607 if (temp6
) delete arg6
;
8617 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
= NULL
;
8619 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8625 (char *) "self",(char *) "index", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail
;
8632 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8633 if (SWIG_arg_fail(2)) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (bool)(arg1
)->IsChecked(arg2
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8651 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
= NULL
;
8653 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8655 int arg3
= (int) true ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 PyObject
* obj2
= 0 ;
8660 (char *) "self",(char *) "index",(char *) "check", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail
;
8667 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8668 if (SWIG_arg_fail(2)) SWIG_fail
;
8672 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8673 if (SWIG_arg_fail(3)) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->Check(arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= NULL
;
8692 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8699 (char *) "self",(char *) "pt", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail
;
8707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_From_int(static_cast<int >(result
));
8725 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= NULL
;
8727 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "self",(char *) "x",(char *) "y", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail
;
8742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8743 if (SWIG_arg_fail(2)) SWIG_fail
;
8746 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8747 if (SWIG_arg_fail(3)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_From_int(static_cast<int >(result
));
8765 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8768 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8770 return Py_BuildValue((char *)"");
8772 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8773 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8778 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8779 PyObject
*pyobj
= NULL
;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8792 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= NULL
;
8794 wxColour
const &arg1_defvalue
= wxNullColour
;
8795 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8796 wxColour
const &arg2_defvalue
= wxNullColour
;
8797 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8798 wxFont
const &arg3_defvalue
= wxNullFont
;
8799 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8800 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8807 PyObject
* obj3
= 0 ;
8809 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8816 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8827 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8828 if (SWIG_arg_fail(3)) SWIG_fail
;
8830 SWIG_null_ref("wxFont");
8832 if (SWIG_arg_fail(3)) SWIG_fail
;
8837 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8838 if (SWIG_arg_fail(4)) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8855 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
= NULL
;
8857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= NULL
;
8882 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= NULL
;
8907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8908 wxColour
*arg2
= 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8913 (char *) "self",(char *) "colText", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
= NULL
;
8939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8940 wxColour
*arg2
= 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "self",(char *) "colBack", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
= NULL
;
8971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8973 long arg3
= (long) wxTEXT_ATTR_FONT
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8978 (char *) "self",(char *) "font",(char *) "flags", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail
;
8985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8986 if (SWIG_arg_fail(2)) SWIG_fail
;
8988 SWIG_null_ref("wxFont");
8990 if (SWIG_arg_fail(2)) SWIG_fail
;
8994 arg3
= static_cast<long >(SWIG_As_long(obj2
));
8995 if (SWIG_arg_fail(3)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
= NULL
;
9014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9015 wxTextAttrAlignment arg2
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9019 (char *) "self",(char *) "alignment", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9026 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9027 if (SWIG_arg_fail(2)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetAlignment(arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= NULL
;
9045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9046 wxArrayInt
*arg2
= 0 ;
9047 bool temp2
= false ;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9051 (char *) "self",(char *) "tabs", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail
;
9058 if (! PySequence_Check(obj1
)) {
9059 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9062 arg2
= new wxArrayInt
;
9064 int i
, len
=PySequence_Length(obj1
);
9065 for (i
=0; i
<len
; i
++) {
9066 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9067 PyObject
* number
= PyNumber_Int(item
);
9068 arg2
->Add(PyInt_AS_LONG(number
));
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 if (temp2
) delete arg2
;
9087 if (temp2
) delete arg2
;
9093 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= NULL
;
9095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9097 int arg3
= (int) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9102 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9107 if (SWIG_arg_fail(1)) SWIG_fail
;
9109 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9110 if (SWIG_arg_fail(2)) SWIG_fail
;
9114 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9115 if (SWIG_arg_fail(3)) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->SetLeftIndent(arg2
,arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
= NULL
;
9134 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9139 (char *) "self",(char *) "indent", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9144 if (SWIG_arg_fail(1)) SWIG_fail
;
9146 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9147 if (SWIG_arg_fail(2)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 (arg1
)->SetRightIndent(arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 Py_INCREF(Py_None
); resultobj
= Py_None
;
9163 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
= NULL
;
9165 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9170 (char *) "self",(char *) "flags", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9175 if (SWIG_arg_fail(1)) SWIG_fail
;
9177 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9178 if (SWIG_arg_fail(2)) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->SetFlags(arg2
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= NULL
;
9196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9205 if (SWIG_arg_fail(1)) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9222 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
= NULL
;
9224 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9228 (char *) "self", NULL
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9233 if (SWIG_arg_fail(1)) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9250 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= NULL
;
9252 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "self", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9261 if (SWIG_arg_fail(1)) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9278 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
= NULL
;
9280 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9289 if (SWIG_arg_fail(1)) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= NULL
;
9308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "self", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9317 if (SWIG_arg_fail(1)) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9334 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= NULL
;
9336 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9362 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= NULL
;
9364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9390 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
= NULL
;
9392 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9398 (char *) "self",(char *) "flag", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail
;
9405 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9406 if (SWIG_arg_fail(2)) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9424 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= NULL
;
9426 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "self", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9435 if (SWIG_arg_fail(1)) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9440 result
= (wxColour
*) &_result_ref
;
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9453 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= NULL
;
9455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9469 result
= (wxColour
*) &_result_ref
;
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9482 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= NULL
;
9484 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9493 if (SWIG_arg_fail(1)) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9498 result
= (wxFont
*) &_result_ref
;
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 wxFont
* resultptr
= new wxFont(*result
);
9506 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9514 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= NULL
;
9516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9517 wxTextAttrAlignment result
;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9525 if (SWIG_arg_fail(1)) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_From_int((result
));
9540 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= NULL
;
9542 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9551 if (SWIG_arg_fail(1)) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9556 result
= (wxArrayInt
*) &_result_ref
;
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= PyList_New(0);
9565 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9566 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9567 PyList_Append(resultobj
, val
);
9577 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
= NULL
;
9579 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9588 if (SWIG_arg_fail(1)) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_From_long(static_cast<long >(result
));
9605 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= NULL
;
9607 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9616 if (SWIG_arg_fail(1)) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_From_long(static_cast<long >(result
));
9633 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= NULL
;
9635 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9639 (char *) "self", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9644 if (SWIG_arg_fail(1)) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_From_long(static_cast<long >(result
));
9661 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
= NULL
;
9663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "self", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9672 if (SWIG_arg_fail(1)) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_From_long(static_cast<long >(result
));
9689 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
= NULL
;
9691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9695 (char *) "self", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9717 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
= NULL
;
9719 wxTextAttr
*arg1
= 0 ;
9720 wxTextAttr
*arg2
= 0 ;
9721 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 PyObject
* obj2
= 0 ;
9727 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail
;
9735 SWIG_null_ref("wxTextAttr");
9737 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail
;
9743 SWIG_null_ref("wxTextAttr");
9745 if (SWIG_arg_fail(2)) SWIG_fail
;
9747 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(3)) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 wxTextAttr
* resultptr
;
9758 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9767 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9770 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9772 return Py_BuildValue((char *)"");
9774 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= NULL
;
9776 wxWindow
*arg1
= (wxWindow
*) 0 ;
9777 int arg2
= (int) -1 ;
9778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9784 long arg6
= (long) 0 ;
9785 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9786 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9787 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9790 bool temp3
= false ;
9793 bool temp8
= false ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 PyObject
* obj2
= 0 ;
9797 PyObject
* obj3
= 0 ;
9798 PyObject
* obj4
= 0 ;
9799 PyObject
* obj5
= 0 ;
9800 PyObject
* obj6
= 0 ;
9801 PyObject
* obj7
= 0 ;
9803 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9812 if (SWIG_arg_fail(2)) SWIG_fail
;
9817 arg3
= wxString_in_helper(obj2
);
9818 if (arg3
== NULL
) SWIG_fail
;
9825 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9831 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9836 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9837 if (SWIG_arg_fail(6)) SWIG_fail
;
9842 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9843 if (SWIG_arg_fail(7)) SWIG_fail
;
9845 SWIG_null_ref("wxValidator");
9847 if (SWIG_arg_fail(7)) SWIG_fail
;
9852 arg8
= wxString_in_helper(obj7
);
9853 if (arg8
== NULL
) SWIG_fail
;
9858 if (!wxPyCheckForApp()) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9888 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
= NULL
;
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9897 if (!wxPyCheckForApp()) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (wxTextCtrl
*)new wxTextCtrl();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9911 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= NULL
;
9913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9914 wxWindow
*arg2
= (wxWindow
*) 0 ;
9915 int arg3
= (int) -1 ;
9916 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9917 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9922 long arg7
= (long) 0 ;
9923 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9924 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9925 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9926 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9928 bool temp4
= false ;
9931 bool temp9
= false ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 PyObject
* obj2
= 0 ;
9935 PyObject
* obj3
= 0 ;
9936 PyObject
* obj4
= 0 ;
9937 PyObject
* obj5
= 0 ;
9938 PyObject
* obj6
= 0 ;
9939 PyObject
* obj7
= 0 ;
9940 PyObject
* obj8
= 0 ;
9942 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9949 if (SWIG_arg_fail(2)) SWIG_fail
;
9952 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9953 if (SWIG_arg_fail(3)) SWIG_fail
;
9958 arg4
= wxString_in_helper(obj3
);
9959 if (arg4
== NULL
) SWIG_fail
;
9966 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9972 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9977 arg7
= static_cast<long >(SWIG_As_long(obj6
));
9978 if (SWIG_arg_fail(7)) SWIG_fail
;
9983 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9984 if (SWIG_arg_fail(8)) SWIG_fail
;
9986 SWIG_null_ref("wxValidator");
9988 if (SWIG_arg_fail(8)) SWIG_fail
;
9993 arg9
= wxString_in_helper(obj8
);
9994 if (arg9
== NULL
) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10030 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
= NULL
;
10032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10062 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
= NULL
;
10064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10065 wxString
*arg2
= 0 ;
10066 bool temp2
= false ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "value", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetValue((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
= NULL
;
10105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 PyObject
* obj2
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self",(char *) "from",(char *) "to", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10118 if (SWIG_arg_fail(1)) SWIG_fail
;
10120 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10121 if (SWIG_arg_fail(2)) SWIG_fail
;
10124 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10125 if (SWIG_arg_fail(3)) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10147 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
= NULL
;
10149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self",(char *) "lineNo", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail
;
10162 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10163 if (SWIG_arg_fail(2)) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= SWIG_From_int(static_cast<int >(result
));
10181 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= NULL
;
10183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "lineNo", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10194 if (SWIG_arg_fail(1)) SWIG_fail
;
10196 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10197 if (SWIG_arg_fail(2)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10219 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= NULL
;
10221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_From_int(static_cast<int >(result
));
10247 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= NULL
;
10249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10275 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= NULL
;
10277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10303 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= NULL
;
10305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10331 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
= NULL
;
10333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10342 if (SWIG_arg_fail(1)) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10359 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= NULL
;
10361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10362 long *arg2
= (long *) 0 ;
10363 long *arg3
= (long *) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10374 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10387 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10388 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10389 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10396 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= NULL
;
10398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10428 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= NULL
;
10430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
= NULL
;
10455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10458 wxString
*arg4
= 0 ;
10459 bool temp4
= false ;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 PyObject
* obj3
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail
;
10472 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10473 if (SWIG_arg_fail(2)) SWIG_fail
;
10476 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10477 if (SWIG_arg_fail(3)) SWIG_fail
;
10480 arg4
= wxString_in_helper(obj3
);
10481 if (arg4
== NULL
) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 Py_INCREF(Py_None
); resultobj
= Py_None
;
10506 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
= NULL
;
10508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "from",(char *) "to", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10523 if (SWIG_arg_fail(2)) SWIG_fail
;
10526 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10527 if (SWIG_arg_fail(3)) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->Remove(arg2
,arg3
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= NULL
;
10545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10546 wxString
*arg2
= 0 ;
10548 bool temp2
= false ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "file", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10559 arg2
= wxString_in_helper(obj1
);
10560 if (arg2
== NULL
) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10587 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= NULL
;
10589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10590 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10591 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10593 bool temp2
= false ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self",(char *) "file", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10602 if (SWIG_arg_fail(1)) SWIG_fail
;
10605 arg2
= wxString_in_helper(obj1
);
10606 if (arg2
== NULL
) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= NULL
;
10636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 (arg1
)->MarkDirty();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
= NULL
;
10661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->DiscardEdits();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= NULL
;
10686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10687 unsigned long arg2
;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "len", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10699 if (SWIG_arg_fail(2)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->SetMaxLength(arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
= NULL
;
10717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10718 wxString
*arg2
= 0 ;
10719 bool temp2
= false ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self",(char *) "text", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10728 if (SWIG_arg_fail(1)) SWIG_fail
;
10730 arg2
= wxString_in_helper(obj1
);
10731 if (arg2
== NULL
) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->WriteText((wxString
const &)*arg2
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10756 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= NULL
;
10758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10759 wxString
*arg2
= 0 ;
10760 bool temp2
= false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self",(char *) "text", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail
;
10771 arg2
= wxString_in_helper(obj1
);
10772 if (arg2
== NULL
) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->AppendText((wxString
const &)*arg2
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
= NULL
;
10799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10800 wxKeyEvent
*arg2
= 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "event", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10813 if (SWIG_arg_fail(2)) SWIG_fail
;
10814 if (arg2
== NULL
) {
10815 SWIG_null_ref("wxKeyEvent");
10817 if (SWIG_arg_fail(2)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10835 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= NULL
;
10837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10840 wxTextAttr
*arg4
= 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 PyObject
* obj3
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10852 if (SWIG_arg_fail(1)) SWIG_fail
;
10854 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10855 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10859 if (SWIG_arg_fail(3)) SWIG_fail
;
10862 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10863 if (SWIG_arg_fail(4)) SWIG_fail
;
10864 if (arg4
== NULL
) {
10865 SWIG_null_ref("wxTextAttr");
10867 if (SWIG_arg_fail(4)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= NULL
;
10887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10889 wxTextAttr
*arg3
= 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "position",(char *) "style", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10903 if (SWIG_arg_fail(2)) SWIG_fail
;
10906 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10907 if (SWIG_arg_fail(3)) SWIG_fail
;
10908 if (arg3
== NULL
) {
10909 SWIG_null_ref("wxTextAttr");
10911 if (SWIG_arg_fail(3)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10929 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
= NULL
;
10931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10932 wxTextAttr
*arg2
= 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "style", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10942 if (SWIG_arg_fail(1)) SWIG_fail
;
10944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(2)) SWIG_fail
;
10946 if (arg2
== NULL
) {
10947 SWIG_null_ref("wxTextAttr");
10949 if (SWIG_arg_fail(2)) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
= NULL
;
10969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10970 wxTextAttr
*result
;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10983 result
= (wxTextAttr
*) &_result_ref
;
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10996 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= NULL
;
10998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 PyObject
* obj2
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "x",(char *) "y", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail
;
11013 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11014 if (SWIG_arg_fail(2)) SWIG_fail
;
11017 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11018 if (SWIG_arg_fail(3)) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_From_long(static_cast<long >(result
));
11036 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
= NULL
;
11038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11040 long *arg3
= (long *) 0 ;
11041 long *arg4
= (long *) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "pos", NULL
11052 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11053 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail
;
11058 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11059 if (SWIG_arg_fail(2)) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11069 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11070 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11071 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11072 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11079 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
= NULL
;
11081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self",(char *) "pos", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11094 if (SWIG_arg_fail(2)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->ShowPosition(arg2
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= NULL
;
11112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11113 wxPoint
*arg2
= 0 ;
11114 long *arg3
= (long *) 0 ;
11115 long *arg4
= (long *) 0 ;
11116 wxTextCtrlHitTestResult result
;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self",(char *) "pt", NULL
11128 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11129 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail
;
11135 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_From_int((result
));
11145 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11146 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11147 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11148 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11155 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
= NULL
;
11157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11158 wxPoint
*arg2
= 0 ;
11159 long *arg3
= (long *) 0 ;
11160 wxTextCtrlHitTestResult result
;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "pt", NULL
11170 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_From_int((result
));
11186 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11187 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11194 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= NULL
;
11196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= NULL
;
11221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11229 if (SWIG_arg_fail(1)) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
= NULL
;
11246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
= NULL
;
11271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= NULL
;
11299 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
= NULL
;
11327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11353 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= NULL
;
11355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11363 if (SWIG_arg_fail(1)) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 Py_INCREF(Py_None
); resultobj
= Py_None
;
11378 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
= NULL
;
11380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11388 if (SWIG_arg_fail(1)) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11403 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
= NULL
;
11405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11431 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= NULL
;
11433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= NULL
;
11461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "pos", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail
;
11473 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 (arg1
)->SetInsertionPoint(arg2
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= NULL
;
11492 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetInsertionPointEnd();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= NULL
;
11517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11526 if (SWIG_arg_fail(1)) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_From_long(static_cast<long >(result
));
11543 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= NULL
;
11545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_From_long(static_cast<long >(result
));
11571 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
= NULL
;
11573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "from",(char *) "to", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11585 if (SWIG_arg_fail(1)) SWIG_fail
;
11587 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11588 if (SWIG_arg_fail(2)) SWIG_fail
;
11591 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11592 if (SWIG_arg_fail(3)) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetSelection(arg2
,arg3
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11608 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= NULL
;
11610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11611 PyObject
* obj0
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11618 if (SWIG_arg_fail(1)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SelectAll();
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
= NULL
;
11635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "editable", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail
;
11647 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11648 if (SWIG_arg_fail(2)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->SetEditable(arg2
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 Py_INCREF(Py_None
); resultobj
= Py_None
;
11664 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
= NULL
;
11666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11667 wxString
*arg2
= 0 ;
11668 bool temp2
= false ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "text", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail
;
11679 arg2
= wxString_in_helper(obj1
);
11680 if (arg2
== NULL
) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
= NULL
;
11707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "from",(char *) "to", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11720 if (SWIG_arg_fail(1)) SWIG_fail
;
11722 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11723 if (SWIG_arg_fail(2)) SWIG_fail
;
11726 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11727 if (SWIG_arg_fail(3)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11749 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
= NULL
;
11751 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11752 wxVisualAttributes result
;
11753 PyObject
* obj0
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "variant", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11761 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 if (!wxPyCheckForApp()) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 wxVisualAttributes
* resultptr
;
11775 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11784 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11787 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11789 return Py_BuildValue((char *)"");
11791 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= NULL
;
11794 wxMouseEvent
*arg2
= 0 ;
11797 wxTextUrlEvent
*result
;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 PyObject
* obj3
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11808 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11809 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11813 if (SWIG_arg_fail(2)) SWIG_fail
;
11814 if (arg2
== NULL
) {
11815 SWIG_null_ref("wxMouseEvent");
11817 if (SWIG_arg_fail(2)) SWIG_fail
;
11820 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11821 if (SWIG_arg_fail(3)) SWIG_fail
;
11824 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11825 if (SWIG_arg_fail(4)) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11841 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
= NULL
;
11843 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11844 wxMouseEvent
*result
;
11845 PyObject
* obj0
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11857 result
= (wxMouseEvent
*) &_result_ref
;
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11870 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
= NULL
;
11872 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_From_long(static_cast<long >(result
));
11898 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
= NULL
;
11900 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_From_long(static_cast<long >(result
));
11926 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11929 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11931 return Py_BuildValue((char *)"");
11933 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11934 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11939 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11940 PyObject
*pyobj
= NULL
;
11944 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11946 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11953 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
= NULL
;
11955 wxWindow
*arg1
= (wxWindow
*) 0 ;
11956 int arg2
= (int) -1 ;
11957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11961 long arg5
= (long) wxSB_HORIZONTAL
;
11962 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11963 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11964 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11966 wxScrollBar
*result
;
11969 bool temp7
= false ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 PyObject
* obj3
= 0 ;
11974 PyObject
* obj4
= 0 ;
11975 PyObject
* obj5
= 0 ;
11976 PyObject
* obj6
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail
;
11986 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11987 if (SWIG_arg_fail(2)) SWIG_fail
;
11993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11999 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12004 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12005 if (SWIG_arg_fail(5)) SWIG_fail
;
12010 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12011 if (SWIG_arg_fail(6)) SWIG_fail
;
12012 if (arg6
== NULL
) {
12013 SWIG_null_ref("wxValidator");
12015 if (SWIG_arg_fail(6)) SWIG_fail
;
12020 arg7
= wxString_in_helper(obj6
);
12021 if (arg7
== NULL
) SWIG_fail
;
12026 if (!wxPyCheckForApp()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12048 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
= NULL
;
12050 wxScrollBar
*result
;
12051 char *kwnames
[] = {
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12057 if (!wxPyCheckForApp()) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (wxScrollBar
*)new wxScrollBar();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12071 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
= NULL
;
12073 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12074 wxWindow
*arg2
= (wxWindow
*) 0 ;
12075 int arg3
= (int) -1 ;
12076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12080 long arg6
= (long) wxSB_HORIZONTAL
;
12081 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12082 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12083 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12084 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12088 bool temp8
= false ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 PyObject
* obj2
= 0 ;
12092 PyObject
* obj3
= 0 ;
12093 PyObject
* obj4
= 0 ;
12094 PyObject
* obj5
= 0 ;
12095 PyObject
* obj6
= 0 ;
12096 PyObject
* obj7
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(2)) SWIG_fail
;
12108 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12109 if (SWIG_arg_fail(3)) SWIG_fail
;
12115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12126 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12127 if (SWIG_arg_fail(6)) SWIG_fail
;
12132 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(7)) SWIG_fail
;
12134 if (arg7
== NULL
) {
12135 SWIG_null_ref("wxValidator");
12137 if (SWIG_arg_fail(7)) SWIG_fail
;
12142 arg8
= wxString_in_helper(obj7
);
12143 if (arg8
== NULL
) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12171 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
= NULL
;
12173 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_From_int(static_cast<int >(result
));
12199 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= NULL
;
12201 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast<int >(result
));
12227 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
= NULL
;
12229 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12238 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_From_int(static_cast<int >(result
));
12255 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
= NULL
;
12257 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12266 if (SWIG_arg_fail(1)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_From_int(static_cast<int >(result
));
12283 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= NULL
;
12285 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12311 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= NULL
;
12313 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "viewStart", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12325 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12326 if (SWIG_arg_fail(2)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->SetThumbPosition(arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
= NULL
;
12344 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12349 bool arg6
= (bool) true ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 PyObject
* obj2
= 0 ;
12353 PyObject
* obj3
= 0 ;
12354 PyObject
* obj4
= 0 ;
12355 PyObject
* obj5
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12362 if (SWIG_arg_fail(1)) SWIG_fail
;
12364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12365 if (SWIG_arg_fail(2)) SWIG_fail
;
12368 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12369 if (SWIG_arg_fail(3)) SWIG_fail
;
12372 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12373 if (SWIG_arg_fail(4)) SWIG_fail
;
12376 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12377 if (SWIG_arg_fail(5)) SWIG_fail
;
12381 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12382 if (SWIG_arg_fail(6)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 Py_INCREF(Py_None
); resultobj
= Py_None
;
12399 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= NULL
;
12401 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12402 wxVisualAttributes result
;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "variant", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12411 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12416 if (!wxPyCheckForApp()) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 wxVisualAttributes
* resultptr
;
12425 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12434 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12437 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12439 return Py_BuildValue((char *)"");
12441 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12442 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12447 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12448 PyObject
*pyobj
= NULL
;
12452 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12454 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12461 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12462 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12467 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12468 PyObject
*pyobj
= NULL
;
12472 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12474 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12481 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
= NULL
;
12483 wxWindow
*arg1
= (wxWindow
*) 0 ;
12484 int arg2
= (int) -1 ;
12485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12489 long arg5
= (long) wxSP_HORIZONTAL
;
12490 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12491 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12492 wxSpinButton
*result
;
12495 bool temp6
= false ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 PyObject
* obj2
= 0 ;
12499 PyObject
* obj3
= 0 ;
12500 PyObject
* obj4
= 0 ;
12501 PyObject
* obj5
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail
;
12511 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12512 if (SWIG_arg_fail(2)) SWIG_fail
;
12518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12529 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12530 if (SWIG_arg_fail(5)) SWIG_fail
;
12535 arg6
= wxString_in_helper(obj5
);
12536 if (arg6
== NULL
) SWIG_fail
;
12541 if (!wxPyCheckForApp()) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12563 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= NULL
;
12565 wxSpinButton
*result
;
12566 char *kwnames
[] = {
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12572 if (!wxPyCheckForApp()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (wxSpinButton
*)new wxSpinButton();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12586 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
= NULL
;
12588 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12589 wxWindow
*arg2
= (wxWindow
*) 0 ;
12590 int arg3
= (int) -1 ;
12591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12595 long arg6
= (long) wxSP_HORIZONTAL
;
12596 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12597 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12601 bool temp7
= false ;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 PyObject
* obj2
= 0 ;
12605 PyObject
* obj3
= 0 ;
12606 PyObject
* obj4
= 0 ;
12607 PyObject
* obj5
= 0 ;
12608 PyObject
* obj6
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail
;
12616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(2)) SWIG_fail
;
12620 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12621 if (SWIG_arg_fail(3)) SWIG_fail
;
12627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12638 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12639 if (SWIG_arg_fail(6)) SWIG_fail
;
12644 arg7
= wxString_in_helper(obj6
);
12645 if (arg7
== NULL
) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12673 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= NULL
;
12675 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_From_int(static_cast<int >(result
));
12701 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
= NULL
;
12703 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_From_int(static_cast<int >(result
));
12729 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
= NULL
;
12731 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12740 if (SWIG_arg_fail(1)) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_From_int(static_cast<int >(result
));
12757 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= NULL
;
12759 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self",(char *) "val", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12769 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12772 if (SWIG_arg_fail(2)) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 (arg1
)->SetValue(arg2
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 Py_INCREF(Py_None
); resultobj
= Py_None
;
12788 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
= NULL
;
12790 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "minVal", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12800 if (SWIG_arg_fail(1)) SWIG_fail
;
12802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12803 if (SWIG_arg_fail(2)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 (arg1
)->SetMin(arg2
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 Py_INCREF(Py_None
); resultobj
= Py_None
;
12819 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
= NULL
;
12821 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self",(char *) "maxVal", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12831 if (SWIG_arg_fail(1)) SWIG_fail
;
12833 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12834 if (SWIG_arg_fail(2)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetMax(arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
= NULL
;
12852 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12864 if (SWIG_arg_fail(1)) SWIG_fail
;
12866 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12867 if (SWIG_arg_fail(2)) SWIG_fail
;
12870 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12871 if (SWIG_arg_fail(3)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetRange(arg2
,arg3
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= NULL
;
12889 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12915 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
= NULL
;
12917 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12918 wxVisualAttributes result
;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "variant", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12927 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12928 if (SWIG_arg_fail(1)) SWIG_fail
;
12932 if (!wxPyCheckForApp()) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 wxVisualAttributes
* resultptr
;
12941 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12950 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12953 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12955 return Py_BuildValue((char *)"");
12957 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
= NULL
;
12959 wxWindow
*arg1
= (wxWindow
*) 0 ;
12960 int arg2
= (int) -1 ;
12961 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12962 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12963 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12964 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12965 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12966 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12967 long arg6
= (long) wxSP_ARROW_KEYS
;
12968 int arg7
= (int) 0 ;
12969 int arg8
= (int) 100 ;
12970 int arg9
= (int) 0 ;
12971 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12972 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12973 wxSpinCtrl
*result
;
12974 bool temp3
= false ;
12977 bool temp10
= false ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 PyObject
* obj2
= 0 ;
12981 PyObject
* obj3
= 0 ;
12982 PyObject
* obj4
= 0 ;
12983 PyObject
* obj5
= 0 ;
12984 PyObject
* obj6
= 0 ;
12985 PyObject
* obj7
= 0 ;
12986 PyObject
* obj8
= 0 ;
12987 PyObject
* obj9
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12998 if (SWIG_arg_fail(2)) SWIG_fail
;
13003 arg3
= wxString_in_helper(obj2
);
13004 if (arg3
== NULL
) SWIG_fail
;
13011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13022 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13023 if (SWIG_arg_fail(6)) SWIG_fail
;
13028 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13029 if (SWIG_arg_fail(7)) SWIG_fail
;
13034 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13035 if (SWIG_arg_fail(8)) SWIG_fail
;
13040 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13041 if (SWIG_arg_fail(9)) SWIG_fail
;
13046 arg10
= wxString_in_helper(obj9
);
13047 if (arg10
== NULL
) SWIG_fail
;
13052 if (!wxPyCheckForApp()) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13082 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
= NULL
;
13084 wxSpinCtrl
*result
;
13085 char *kwnames
[] = {
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13091 if (!wxPyCheckForApp()) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13105 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
= NULL
;
13107 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13108 wxWindow
*arg2
= (wxWindow
*) 0 ;
13109 int arg3
= (int) -1 ;
13110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13116 long arg7
= (long) wxSP_ARROW_KEYS
;
13117 int arg8
= (int) 0 ;
13118 int arg9
= (int) 100 ;
13119 int arg10
= (int) 0 ;
13120 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13121 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13123 bool temp4
= false ;
13126 bool temp11
= false ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 PyObject
* obj3
= 0 ;
13131 PyObject
* obj4
= 0 ;
13132 PyObject
* obj5
= 0 ;
13133 PyObject
* obj6
= 0 ;
13134 PyObject
* obj7
= 0 ;
13135 PyObject
* obj8
= 0 ;
13136 PyObject
* obj9
= 0 ;
13137 PyObject
* obj10
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail
;
13145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(2)) SWIG_fail
;
13149 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13150 if (SWIG_arg_fail(3)) SWIG_fail
;
13155 arg4
= wxString_in_helper(obj3
);
13156 if (arg4
== NULL
) SWIG_fail
;
13163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13169 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13174 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13175 if (SWIG_arg_fail(7)) SWIG_fail
;
13180 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13181 if (SWIG_arg_fail(8)) SWIG_fail
;
13186 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13187 if (SWIG_arg_fail(9)) SWIG_fail
;
13192 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13193 if (SWIG_arg_fail(10)) SWIG_fail
;
13198 arg11
= wxString_in_helper(obj10
);
13199 if (arg11
== NULL
) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13235 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
= NULL
;
13237 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13246 if (SWIG_arg_fail(1)) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_From_int(static_cast<int >(result
));
13263 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= NULL
;
13265 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "value", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13278 if (SWIG_arg_fail(2)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetValue(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
= NULL
;
13296 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13297 wxString
*arg2
= 0 ;
13298 bool temp2
= false ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "text", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 arg2
= wxString_in_helper(obj1
);
13310 if (arg2
== NULL
) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->SetValue((wxString
const &)*arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
= NULL
;
13337 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 PyObject
* obj2
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail
;
13351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13352 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13356 if (SWIG_arg_fail(3)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->SetRange(arg2
,arg3
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= NULL
;
13374 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_From_int(static_cast<int >(result
));
13400 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= NULL
;
13402 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_From_int(static_cast<int >(result
));
13428 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= NULL
;
13430 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 PyObject
* obj2
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "from",(char *) "to", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13445 if (SWIG_arg_fail(2)) SWIG_fail
;
13448 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13449 if (SWIG_arg_fail(3)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetSelection(arg2
,arg3
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
= NULL
;
13467 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13468 wxVisualAttributes result
;
13469 PyObject
* obj0
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "variant", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13477 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13478 if (SWIG_arg_fail(1)) SWIG_fail
;
13482 if (!wxPyCheckForApp()) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 wxVisualAttributes
* resultptr
;
13491 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13500 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13505 return Py_BuildValue((char *)"");
13507 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
= NULL
;
13509 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13510 int arg2
= (int) 0 ;
13511 wxSpinEvent
*result
;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "commandType",(char *) "winid", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13521 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13522 if (SWIG_arg_fail(1)) SWIG_fail
;
13527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13528 if (SWIG_arg_fail(2)) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13545 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
= NULL
;
13547 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13556 if (SWIG_arg_fail(1)) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_From_int(static_cast<int >(result
));
13573 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
= NULL
;
13575 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "pos", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13587 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13588 if (SWIG_arg_fail(2)) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->SetPosition(arg2
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13604 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13609 return Py_BuildValue((char *)"");
13611 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13612 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13617 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13618 PyObject
*pyobj
= NULL
;
13622 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13624 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13631 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13637 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13638 PyObject
*pyobj
= NULL
;
13642 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13651 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= NULL
;
13653 wxWindow
*arg1
= (wxWindow
*) 0 ;
13654 int arg2
= (int) -1 ;
13655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13661 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13662 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13663 int arg7
= (int) 0 ;
13664 long arg8
= (long) wxRA_HORIZONTAL
;
13665 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13666 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13667 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13668 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13669 wxRadioBox
*result
;
13670 bool temp3
= false ;
13673 bool temp6
= false ;
13674 bool temp10
= false ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 PyObject
* obj2
= 0 ;
13678 PyObject
* obj3
= 0 ;
13679 PyObject
* obj4
= 0 ;
13680 PyObject
* obj5
= 0 ;
13681 PyObject
* obj6
= 0 ;
13682 PyObject
* obj7
= 0 ;
13683 PyObject
* obj8
= 0 ;
13684 PyObject
* obj9
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13691 if (SWIG_arg_fail(1)) SWIG_fail
;
13694 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13695 if (SWIG_arg_fail(2)) SWIG_fail
;
13700 arg3
= wxString_in_helper(obj2
);
13701 if (arg3
== NULL
) SWIG_fail
;
13708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13719 if (! PySequence_Check(obj5
)) {
13720 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13723 arg6
= new wxArrayString
;
13725 int i
, len
=PySequence_Length(obj5
);
13726 for (i
=0; i
<len
; i
++) {
13727 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13728 wxString
* s
= wxString_in_helper(item
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13738 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13739 if (SWIG_arg_fail(7)) SWIG_fail
;
13744 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13745 if (SWIG_arg_fail(8)) SWIG_fail
;
13750 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13751 if (SWIG_arg_fail(9)) SWIG_fail
;
13752 if (arg9
== NULL
) {
13753 SWIG_null_ref("wxValidator");
13755 if (SWIG_arg_fail(9)) SWIG_fail
;
13760 arg10
= wxString_in_helper(obj9
);
13761 if (arg10
== NULL
) SWIG_fail
;
13766 if (!wxPyCheckForApp()) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 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
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13779 if (temp6
) delete arg6
;
13792 if (temp6
) delete arg6
;
13802 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
= NULL
;
13804 wxRadioBox
*result
;
13805 char *kwnames
[] = {
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13811 if (!wxPyCheckForApp()) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (wxRadioBox
*)new wxRadioBox();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13825 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= NULL
;
13827 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13828 wxWindow
*arg2
= (wxWindow
*) 0 ;
13829 int arg3
= (int) -1 ;
13830 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13831 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13832 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13833 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13834 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13835 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13836 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13837 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13838 int arg8
= (int) 0 ;
13839 long arg9
= (long) wxRA_HORIZONTAL
;
13840 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13841 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13842 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13843 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13845 bool temp4
= false ;
13848 bool temp7
= false ;
13849 bool temp11
= false ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 PyObject
* obj2
= 0 ;
13853 PyObject
* obj3
= 0 ;
13854 PyObject
* obj4
= 0 ;
13855 PyObject
* obj5
= 0 ;
13856 PyObject
* obj6
= 0 ;
13857 PyObject
* obj7
= 0 ;
13858 PyObject
* obj8
= 0 ;
13859 PyObject
* obj9
= 0 ;
13860 PyObject
* obj10
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail
;
13868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13869 if (SWIG_arg_fail(2)) SWIG_fail
;
13872 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13873 if (SWIG_arg_fail(3)) SWIG_fail
;
13878 arg4
= wxString_in_helper(obj3
);
13879 if (arg4
== NULL
) SWIG_fail
;
13886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13897 if (! PySequence_Check(obj6
)) {
13898 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13901 arg7
= new wxArrayString
;
13903 int i
, len
=PySequence_Length(obj6
);
13904 for (i
=0; i
<len
; i
++) {
13905 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13906 wxString
* s
= wxString_in_helper(item
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13916 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13917 if (SWIG_arg_fail(8)) SWIG_fail
;
13922 arg9
= static_cast<long >(SWIG_As_long(obj8
));
13923 if (SWIG_arg_fail(9)) SWIG_fail
;
13928 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13929 if (SWIG_arg_fail(10)) SWIG_fail
;
13930 if (arg10
== NULL
) {
13931 SWIG_null_ref("wxValidator");
13933 if (SWIG_arg_fail(10)) SWIG_fail
;
13938 arg11
= wxString_in_helper(obj10
);
13939 if (arg11
== NULL
) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 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
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13958 if (temp7
) delete arg7
;
13971 if (temp7
) delete arg7
;
13981 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
= NULL
;
13983 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "n", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13993 if (SWIG_arg_fail(1)) SWIG_fail
;
13995 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13996 if (SWIG_arg_fail(2)) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->SetSelection(arg2
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
= NULL
;
14014 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14023 if (SWIG_arg_fail(1)) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_From_int(static_cast<int >(result
));
14040 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
= NULL
;
14042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14072 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= NULL
;
14074 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14075 wxString
*arg2
= 0 ;
14077 bool temp2
= false ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self",(char *) "s", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14086 if (SWIG_arg_fail(1)) SWIG_fail
;
14088 arg2
= wxString_in_helper(obj1
);
14089 if (arg2
== NULL
) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14116 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
= NULL
;
14118 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14127 if (SWIG_arg_fail(1)) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_From_int(static_cast<int >(result
));
14144 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
= NULL
;
14146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14147 wxString
*arg2
= 0 ;
14149 bool temp2
= false ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "s", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail
;
14160 arg2
= wxString_in_helper(obj1
);
14161 if (arg2
== NULL
) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_From_int(static_cast<int >(result
));
14188 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
= NULL
;
14190 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self",(char *) "n", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14201 if (SWIG_arg_fail(1)) SWIG_fail
;
14203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14204 if (SWIG_arg_fail(2)) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14226 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= NULL
;
14228 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14230 wxString
*arg3
= 0 ;
14231 bool temp3
= false ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "n",(char *) "label", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14241 if (SWIG_arg_fail(1)) SWIG_fail
;
14243 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14244 if (SWIG_arg_fail(2)) SWIG_fail
;
14247 arg3
= wxString_in_helper(obj2
);
14248 if (arg3
== NULL
) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= NULL
;
14275 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14277 bool arg3
= (bool) true ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 PyObject
* obj2
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "n",(char *) "enable", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14290 if (SWIG_arg_fail(2)) SWIG_fail
;
14294 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14295 if (SWIG_arg_fail(3)) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 (arg1
)->Enable(arg2
,arg3
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
= NULL
;
14314 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14316 bool arg3
= (bool) true ;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 PyObject
* obj2
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self",(char *) "n",(char *) "show", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14326 if (SWIG_arg_fail(1)) SWIG_fail
;
14328 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14329 if (SWIG_arg_fail(2)) SWIG_fail
;
14333 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14334 if (SWIG_arg_fail(3)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->Show(arg2
,arg3
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
= NULL
;
14353 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_From_int(static_cast<int >(result
));
14379 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
= NULL
;
14381 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int(static_cast<int >(result
));
14407 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
= NULL
;
14409 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 PyObject
* obj2
= 0 ;
14417 PyObject
* obj3
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14424 if (SWIG_arg_fail(1)) SWIG_fail
;
14426 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14427 if (SWIG_arg_fail(2)) SWIG_fail
;
14430 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14431 if (SWIG_arg_fail(3)) SWIG_fail
;
14434 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14435 if (SWIG_arg_fail(4)) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_From_int(static_cast<int >(result
));
14453 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
= NULL
;
14455 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14456 wxVisualAttributes result
;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "variant", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14465 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14466 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 if (!wxPyCheckForApp()) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 wxVisualAttributes
* resultptr
;
14479 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14488 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14491 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14493 return Py_BuildValue((char *)"");
14495 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
= NULL
;
14497 wxWindow
*arg1
= (wxWindow
*) 0 ;
14498 int arg2
= (int) -1 ;
14499 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14503 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14504 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14505 long arg6
= (long) 0 ;
14506 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14507 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14508 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14509 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14510 wxRadioButton
*result
;
14511 bool temp3
= false ;
14514 bool temp8
= false ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 PyObject
* obj2
= 0 ;
14518 PyObject
* obj3
= 0 ;
14519 PyObject
* obj4
= 0 ;
14520 PyObject
* obj5
= 0 ;
14521 PyObject
* obj6
= 0 ;
14522 PyObject
* obj7
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail
;
14532 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14533 if (SWIG_arg_fail(2)) SWIG_fail
;
14538 arg3
= wxString_in_helper(obj2
);
14539 if (arg3
== NULL
) SWIG_fail
;
14546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14557 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14558 if (SWIG_arg_fail(6)) SWIG_fail
;
14563 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14564 if (SWIG_arg_fail(7)) SWIG_fail
;
14565 if (arg7
== NULL
) {
14566 SWIG_null_ref("wxValidator");
14568 if (SWIG_arg_fail(7)) SWIG_fail
;
14573 arg8
= wxString_in_helper(obj7
);
14574 if (arg8
== NULL
) SWIG_fail
;
14579 if (!wxPyCheckForApp()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14609 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
= NULL
;
14611 wxRadioButton
*result
;
14612 char *kwnames
[] = {
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14618 if (!wxPyCheckForApp()) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (wxRadioButton
*)new wxRadioButton();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14632 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= NULL
;
14634 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14635 wxWindow
*arg2
= (wxWindow
*) 0 ;
14636 int arg3
= (int) -1 ;
14637 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14638 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14643 long arg7
= (long) 0 ;
14644 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14645 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14646 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14647 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14649 bool temp4
= false ;
14652 bool temp9
= false ;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 PyObject
* obj5
= 0 ;
14659 PyObject
* obj6
= 0 ;
14660 PyObject
* obj7
= 0 ;
14661 PyObject
* obj8
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14670 if (SWIG_arg_fail(2)) SWIG_fail
;
14673 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14674 if (SWIG_arg_fail(3)) SWIG_fail
;
14679 arg4
= wxString_in_helper(obj3
);
14680 if (arg4
== NULL
) SWIG_fail
;
14687 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14693 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14698 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14699 if (SWIG_arg_fail(7)) SWIG_fail
;
14704 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14705 if (SWIG_arg_fail(8)) SWIG_fail
;
14706 if (arg8
== NULL
) {
14707 SWIG_null_ref("wxValidator");
14709 if (SWIG_arg_fail(8)) SWIG_fail
;
14714 arg9
= wxString_in_helper(obj8
);
14715 if (arg9
== NULL
) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14751 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= NULL
;
14753 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14762 if (SWIG_arg_fail(1)) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (bool)(arg1
)->GetValue();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14779 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
= NULL
;
14781 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "value", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail
;
14793 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14794 if (SWIG_arg_fail(2)) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 (arg1
)->SetValue(arg2
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 Py_INCREF(Py_None
); resultobj
= Py_None
;
14810 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
= NULL
;
14812 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14813 wxVisualAttributes result
;
14814 PyObject
* obj0
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "variant", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14822 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14823 if (SWIG_arg_fail(1)) SWIG_fail
;
14827 if (!wxPyCheckForApp()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 wxVisualAttributes
* resultptr
;
14836 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14845 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14848 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14850 return Py_BuildValue((char *)"");
14852 static int _wrap_SliderNameStr_set(PyObject
*) {
14853 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14858 static PyObject
*_wrap_SliderNameStr_get(void) {
14859 PyObject
*pyobj
= NULL
;
14863 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14865 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14872 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
= NULL
;
14874 wxWindow
*arg1
= (wxWindow
*) 0 ;
14875 int arg2
= (int) -1 ;
14876 int arg3
= (int) 0 ;
14877 int arg4
= (int) 0 ;
14878 int arg5
= (int) 100 ;
14879 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14880 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14881 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14882 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14883 long arg8
= (long) wxSL_HORIZONTAL
;
14884 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14885 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14886 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14887 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14891 bool temp10
= false ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 PyObject
* obj3
= 0 ;
14896 PyObject
* obj4
= 0 ;
14897 PyObject
* obj5
= 0 ;
14898 PyObject
* obj6
= 0 ;
14899 PyObject
* obj7
= 0 ;
14900 PyObject
* obj8
= 0 ;
14901 PyObject
* obj9
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14911 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14912 if (SWIG_arg_fail(2)) SWIG_fail
;
14917 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14918 if (SWIG_arg_fail(3)) SWIG_fail
;
14923 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14924 if (SWIG_arg_fail(4)) SWIG_fail
;
14929 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14930 if (SWIG_arg_fail(5)) SWIG_fail
;
14936 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14942 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14947 arg8
= static_cast<long >(SWIG_As_long(obj7
));
14948 if (SWIG_arg_fail(8)) SWIG_fail
;
14953 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14954 if (SWIG_arg_fail(9)) SWIG_fail
;
14955 if (arg9
== NULL
) {
14956 SWIG_null_ref("wxValidator");
14958 if (SWIG_arg_fail(9)) SWIG_fail
;
14963 arg10
= wxString_in_helper(obj9
);
14964 if (arg10
== NULL
) SWIG_fail
;
14969 if (!wxPyCheckForApp()) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14991 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
= NULL
;
14994 char *kwnames
[] = {
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15000 if (!wxPyCheckForApp()) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (wxSlider
*)new wxSlider();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15014 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= NULL
;
15016 wxSlider
*arg1
= (wxSlider
*) 0 ;
15017 wxWindow
*arg2
= (wxWindow
*) 0 ;
15018 int arg3
= (int) -1 ;
15019 int arg4
= (int) 0 ;
15020 int arg5
= (int) 0 ;
15021 int arg6
= (int) 100 ;
15022 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15023 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15024 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15025 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15026 long arg9
= (long) wxSL_HORIZONTAL
;
15027 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15028 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15029 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15030 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15034 bool temp11
= false ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 PyObject
* obj2
= 0 ;
15038 PyObject
* obj3
= 0 ;
15039 PyObject
* obj4
= 0 ;
15040 PyObject
* obj5
= 0 ;
15041 PyObject
* obj6
= 0 ;
15042 PyObject
* obj7
= 0 ;
15043 PyObject
* obj8
= 0 ;
15044 PyObject
* obj9
= 0 ;
15045 PyObject
* obj10
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail
;
15053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15054 if (SWIG_arg_fail(2)) SWIG_fail
;
15057 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15058 if (SWIG_arg_fail(3)) SWIG_fail
;
15063 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15064 if (SWIG_arg_fail(4)) SWIG_fail
;
15069 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15070 if (SWIG_arg_fail(5)) SWIG_fail
;
15075 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15076 if (SWIG_arg_fail(6)) SWIG_fail
;
15082 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15088 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15093 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15094 if (SWIG_arg_fail(9)) SWIG_fail
;
15099 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15100 if (SWIG_arg_fail(10)) SWIG_fail
;
15101 if (arg10
== NULL
) {
15102 SWIG_null_ref("wxValidator");
15104 if (SWIG_arg_fail(10)) SWIG_fail
;
15109 arg11
= wxString_in_helper(obj10
);
15110 if (arg11
== NULL
) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= NULL
;
15140 wxSlider
*arg1
= (wxSlider
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_From_int(static_cast<int >(result
));
15166 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
= NULL
;
15168 wxSlider
*arg1
= (wxSlider
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "value", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15181 if (SWIG_arg_fail(2)) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 (arg1
)->SetValue(arg2
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 Py_INCREF(Py_None
); resultobj
= Py_None
;
15197 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= NULL
;
15199 wxSlider
*arg1
= (wxSlider
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 PyObject
* obj2
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail
;
15213 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15214 if (SWIG_arg_fail(2)) SWIG_fail
;
15217 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15218 if (SWIG_arg_fail(3)) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 (arg1
)->SetRange(arg2
,arg3
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 Py_INCREF(Py_None
); resultobj
= Py_None
;
15234 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
= NULL
;
15236 wxSlider
*arg1
= (wxSlider
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15245 if (SWIG_arg_fail(1)) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_From_int(static_cast<int >(result
));
15262 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
= NULL
;
15264 wxSlider
*arg1
= (wxSlider
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_From_int(static_cast<int >(result
));
15290 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
= NULL
;
15292 wxSlider
*arg1
= (wxSlider
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "minValue", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15305 if (SWIG_arg_fail(2)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->SetMin(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
= NULL
;
15323 wxSlider
*arg1
= (wxSlider
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "maxValue", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15336 if (SWIG_arg_fail(2)) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 (arg1
)->SetMax(arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
= NULL
;
15354 wxSlider
*arg1
= (wxSlider
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "lineSize", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail
;
15366 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->SetLineSize(arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
= NULL
;
15385 wxSlider
*arg1
= (wxSlider
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "pageSize", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15398 if (SWIG_arg_fail(2)) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->SetPageSize(arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
= NULL
;
15416 wxSlider
*arg1
= (wxSlider
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15425 if (SWIG_arg_fail(1)) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_From_int(static_cast<int >(result
));
15442 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= NULL
;
15444 wxSlider
*arg1
= (wxSlider
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int(static_cast<int >(result
));
15470 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
= NULL
;
15472 wxSlider
*arg1
= (wxSlider
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self",(char *) "lenPixels", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15485 if (SWIG_arg_fail(2)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->SetThumbLength(arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= NULL
;
15503 wxSlider
*arg1
= (wxSlider
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_From_int(static_cast<int >(result
));
15529 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
= NULL
;
15531 wxSlider
*arg1
= (wxSlider
*) 0 ;
15533 int arg3
= (int) 1 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 PyObject
* obj2
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self",(char *) "n",(char *) "pos", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15545 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15546 if (SWIG_arg_fail(2)) SWIG_fail
;
15550 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15551 if (SWIG_arg_fail(3)) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 (arg1
)->SetTickFreq(arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 Py_INCREF(Py_None
); resultobj
= Py_None
;
15568 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
= NULL
;
15570 wxSlider
*arg1
= (wxSlider
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15579 if (SWIG_arg_fail(1)) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_From_int(static_cast<int >(result
));
15596 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= NULL
;
15598 wxSlider
*arg1
= (wxSlider
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->ClearTicks();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 Py_INCREF(Py_None
); resultobj
= Py_None
;
15621 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= NULL
;
15623 wxSlider
*arg1
= (wxSlider
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self",(char *) "tickPos", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail
;
15635 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15636 if (SWIG_arg_fail(2)) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->SetTick(arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
= NULL
;
15654 wxSlider
*arg1
= (wxSlider
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15662 if (SWIG_arg_fail(1)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->ClearSel();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
= NULL
;
15679 wxSlider
*arg1
= (wxSlider
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_From_int(static_cast<int >(result
));
15705 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= NULL
;
15707 wxSlider
*arg1
= (wxSlider
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_From_int(static_cast<int >(result
));
15733 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
= NULL
;
15735 wxSlider
*arg1
= (wxSlider
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 PyObject
* obj2
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self",(char *) "min",(char *) "max", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15747 if (SWIG_arg_fail(1)) SWIG_fail
;
15749 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15750 if (SWIG_arg_fail(2)) SWIG_fail
;
15753 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15754 if (SWIG_arg_fail(3)) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 (arg1
)->SetSelection(arg2
,arg3
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 Py_INCREF(Py_None
); resultobj
= Py_None
;
15770 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= NULL
;
15772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15773 wxVisualAttributes result
;
15774 PyObject
* obj0
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "variant", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15782 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15783 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 if (!wxPyCheckForApp()) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 wxVisualAttributes
* resultptr
;
15796 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15805 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15808 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15810 return Py_BuildValue((char *)"");
15812 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15813 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15818 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15819 PyObject
*pyobj
= NULL
;
15823 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15825 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15832 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= NULL
;
15834 wxWindow
*arg1
= (wxWindow
*) 0 ;
15835 int arg2
= (int) -1 ;
15836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15840 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15841 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15842 long arg6
= (long) 0 ;
15843 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15844 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15845 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15846 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15847 wxToggleButton
*result
;
15848 bool temp3
= false ;
15851 bool temp8
= false ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 PyObject
* obj2
= 0 ;
15855 PyObject
* obj3
= 0 ;
15856 PyObject
* obj4
= 0 ;
15857 PyObject
* obj5
= 0 ;
15858 PyObject
* obj6
= 0 ;
15859 PyObject
* obj7
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15866 if (SWIG_arg_fail(1)) SWIG_fail
;
15869 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15870 if (SWIG_arg_fail(2)) SWIG_fail
;
15875 arg3
= wxString_in_helper(obj2
);
15876 if (arg3
== NULL
) SWIG_fail
;
15883 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15889 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15894 arg6
= static_cast<long >(SWIG_As_long(obj5
));
15895 if (SWIG_arg_fail(6)) SWIG_fail
;
15900 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15901 if (SWIG_arg_fail(7)) SWIG_fail
;
15902 if (arg7
== NULL
) {
15903 SWIG_null_ref("wxValidator");
15905 if (SWIG_arg_fail(7)) SWIG_fail
;
15910 arg8
= wxString_in_helper(obj7
);
15911 if (arg8
== NULL
) SWIG_fail
;
15916 if (!wxPyCheckForApp()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15946 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
= NULL
;
15948 wxToggleButton
*result
;
15949 char *kwnames
[] = {
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15955 if (!wxPyCheckForApp()) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (wxToggleButton
*)new wxToggleButton();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15969 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
= NULL
;
15971 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15972 wxWindow
*arg2
= (wxWindow
*) 0 ;
15973 int arg3
= (int) -1 ;
15974 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15975 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15978 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15979 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15980 long arg7
= (long) 0 ;
15981 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15982 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15983 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15984 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15986 bool temp4
= false ;
15989 bool temp9
= false ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 PyObject
* obj3
= 0 ;
15994 PyObject
* obj4
= 0 ;
15995 PyObject
* obj5
= 0 ;
15996 PyObject
* obj6
= 0 ;
15997 PyObject
* obj7
= 0 ;
15998 PyObject
* obj8
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail
;
16006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16007 if (SWIG_arg_fail(2)) SWIG_fail
;
16010 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16011 if (SWIG_arg_fail(3)) SWIG_fail
;
16016 arg4
= wxString_in_helper(obj3
);
16017 if (arg4
== NULL
) SWIG_fail
;
16024 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16030 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16035 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16036 if (SWIG_arg_fail(7)) SWIG_fail
;
16041 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(8)) SWIG_fail
;
16043 if (arg8
== NULL
) {
16044 SWIG_null_ref("wxValidator");
16046 if (SWIG_arg_fail(8)) SWIG_fail
;
16051 arg9
= wxString_in_helper(obj8
);
16052 if (arg9
== NULL
) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
= NULL
;
16090 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "value", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16103 if (SWIG_arg_fail(2)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->SetValue(arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 Py_INCREF(Py_None
); resultobj
= Py_None
;
16119 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
= NULL
;
16121 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16130 if (SWIG_arg_fail(1)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
= NULL
;
16149 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16150 wxString
*arg2
= 0 ;
16151 bool temp2
= false ;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "label", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 arg2
= wxString_in_helper(obj1
);
16163 if (arg2
== NULL
) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 (arg1
)->SetLabel((wxString
const &)*arg2
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= NULL
;
16190 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16191 wxVisualAttributes result
;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "variant", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16200 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16201 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 if (!wxPyCheckForApp()) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 wxVisualAttributes
* resultptr
;
16214 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16223 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static int _wrap_NotebookNameStr_set(PyObject
*) {
16231 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16236 static PyObject
*_wrap_NotebookNameStr_get(void) {
16237 PyObject
*pyobj
= NULL
;
16241 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16243 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16250 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
= NULL
;
16252 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16261 if (SWIG_arg_fail(1)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16278 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
= NULL
;
16280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "n", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16293 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16294 if (SWIG_arg_fail(2)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= wxPyMake_wxObject(result
, 0);
16312 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= NULL
;
16314 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= wxPyMake_wxObject(result
, 0);
16340 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= NULL
;
16342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_From_int(static_cast<int >(result
));
16368 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
= NULL
;
16370 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 wxString
*arg3
= 0 ;
16374 bool temp3
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 PyObject
* obj2
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "n",(char *) "strText", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail
;
16386 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16387 if (SWIG_arg_fail(2)) SWIG_fail
;
16390 arg3
= wxString_in_helper(obj2
);
16391 if (arg3
== NULL
) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16418 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
= NULL
;
16420 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self",(char *) "n", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16431 if (SWIG_arg_fail(1)) SWIG_fail
;
16433 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16434 if (SWIG_arg_fail(2)) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16456 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= NULL
;
16458 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16459 wxImageList
*arg2
= (wxImageList
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "imageList", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail
;
16469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16470 if (SWIG_arg_fail(2)) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->SetImageList(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= NULL
;
16487 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16488 wxImageList
*arg2
= (wxImageList
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "imageList", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16497 if (SWIG_arg_fail(1)) SWIG_fail
;
16498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16499 if (SWIG_arg_fail(2)) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->AssignImageList(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16514 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= NULL
;
16516 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16517 wxImageList
*result
;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= wxPyMake_wxObject(result
, 0);
16542 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= NULL
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "n", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16558 if (SWIG_arg_fail(2)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_From_int(static_cast<int >(result
));
16576 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= NULL
;
16578 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 PyObject
* obj2
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "n",(char *) "imageId", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail
;
16593 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16594 if (SWIG_arg_fail(2)) SWIG_fail
;
16597 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16598 if (SWIG_arg_fail(3)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= NULL
;
16618 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "size", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail
;
16632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= NULL
;
16650 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "sizePage", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 wxSize
* resultptr
;
16676 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16685 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= NULL
;
16687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "n", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16701 if (SWIG_arg_fail(2)) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)(arg1
)->DeletePage(arg2
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= NULL
;
16721 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "n", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16735 if (SWIG_arg_fail(2)) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (bool)(arg1
)->RemovePage(arg2
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
= NULL
;
16755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (bool)(arg1
)->DeleteAllPages();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= NULL
;
16783 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16784 wxWindow
*arg2
= (wxWindow
*) 0 ;
16785 wxString
*arg3
= 0 ;
16786 bool arg4
= (bool) false ;
16787 int arg5
= (int) -1 ;
16789 bool temp3
= false ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 PyObject
* obj2
= 0 ;
16793 PyObject
* obj3
= 0 ;
16794 PyObject
* obj4
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16803 if (SWIG_arg_fail(2)) SWIG_fail
;
16805 arg3
= wxString_in_helper(obj2
);
16806 if (arg3
== NULL
) SWIG_fail
;
16811 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
16812 if (SWIG_arg_fail(4)) SWIG_fail
;
16817 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16818 if (SWIG_arg_fail(5)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16845 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
= NULL
;
16847 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16849 wxWindow
*arg3
= (wxWindow
*) 0 ;
16850 wxString
*arg4
= 0 ;
16851 bool arg5
= (bool) false ;
16852 int arg6
= (int) -1 ;
16854 bool temp4
= false ;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 PyObject
* obj2
= 0 ;
16858 PyObject
* obj3
= 0 ;
16859 PyObject
* obj4
= 0 ;
16860 PyObject
* obj5
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16867 if (SWIG_arg_fail(1)) SWIG_fail
;
16869 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16870 if (SWIG_arg_fail(2)) SWIG_fail
;
16872 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(3)) SWIG_fail
;
16875 arg4
= wxString_in_helper(obj3
);
16876 if (arg4
== NULL
) SWIG_fail
;
16881 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
16882 if (SWIG_arg_fail(5)) SWIG_fail
;
16887 arg6
= static_cast<int >(SWIG_As_int(obj5
));
16888 if (SWIG_arg_fail(6)) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16915 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= NULL
;
16917 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "n", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16931 if (SWIG_arg_fail(2)) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (int)(arg1
)->SetSelection(arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_From_int(static_cast<int >(result
));
16949 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
= NULL
;
16951 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16952 bool arg2
= (bool) true ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "forward", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16965 if (SWIG_arg_fail(2)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 (arg1
)->AdvanceSelection(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
= NULL
;
16984 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16985 wxVisualAttributes result
;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "variant", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16994 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16995 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 if (!wxPyCheckForApp()) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 wxVisualAttributes
* resultptr
;
17008 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17017 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17020 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17022 return Py_BuildValue((char *)"");
17024 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
= NULL
;
17026 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17027 int arg2
= (int) 0 ;
17028 int arg3
= (int) -1 ;
17029 int arg4
= (int) -1 ;
17030 wxBookCtrlBaseEvent
*result
;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 PyObject
* obj2
= 0 ;
17034 PyObject
* obj3
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17042 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17049 if (SWIG_arg_fail(2)) SWIG_fail
;
17054 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17055 if (SWIG_arg_fail(3)) SWIG_fail
;
17060 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17061 if (SWIG_arg_fail(4)) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17078 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
= NULL
;
17080 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17089 if (SWIG_arg_fail(1)) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= SWIG_From_int(static_cast<int >(result
));
17106 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= NULL
;
17108 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "nSel", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17120 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17121 if (SWIG_arg_fail(2)) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 (arg1
)->SetSelection(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 Py_INCREF(Py_None
); resultobj
= Py_None
;
17137 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= NULL
;
17139 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_From_int(static_cast<int >(result
));
17165 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
= NULL
;
17167 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self",(char *) "nOldSel", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17177 if (SWIG_arg_fail(1)) SWIG_fail
;
17179 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17180 if (SWIG_arg_fail(2)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->SetOldSelection(arg2
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 Py_INCREF(Py_None
); resultobj
= Py_None
;
17196 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17199 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17201 return Py_BuildValue((char *)"");
17203 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
= NULL
;
17205 wxWindow
*arg1
= (wxWindow
*) 0 ;
17206 int arg2
= (int) -1 ;
17207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17211 long arg5
= (long) 0 ;
17212 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17214 wxNotebook
*result
;
17217 bool temp6
= false ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 PyObject
* obj3
= 0 ;
17222 PyObject
* obj4
= 0 ;
17223 PyObject
* obj5
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail
;
17233 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17234 if (SWIG_arg_fail(2)) SWIG_fail
;
17240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17246 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17251 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17252 if (SWIG_arg_fail(5)) SWIG_fail
;
17257 arg6
= wxString_in_helper(obj5
);
17258 if (arg6
== NULL
) SWIG_fail
;
17263 if (!wxPyCheckForApp()) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17285 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= NULL
;
17287 wxNotebook
*result
;
17288 char *kwnames
[] = {
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17294 if (!wxPyCheckForApp()) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (wxNotebook
*)new wxNotebook();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17308 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
= NULL
;
17310 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17311 wxWindow
*arg2
= (wxWindow
*) 0 ;
17312 int arg3
= (int) -1 ;
17313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17317 long arg6
= (long) 0 ;
17318 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17319 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17323 bool temp7
= false ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 PyObject
* obj2
= 0 ;
17327 PyObject
* obj3
= 0 ;
17328 PyObject
* obj4
= 0 ;
17329 PyObject
* obj5
= 0 ;
17330 PyObject
* obj6
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17337 if (SWIG_arg_fail(1)) SWIG_fail
;
17338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17339 if (SWIG_arg_fail(2)) SWIG_fail
;
17342 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17343 if (SWIG_arg_fail(3)) SWIG_fail
;
17349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17360 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17361 if (SWIG_arg_fail(6)) SWIG_fail
;
17366 arg7
= wxString_in_helper(obj6
);
17367 if (arg7
== NULL
) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
= NULL
;
17397 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_From_int(static_cast<int >(result
));
17423 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
= NULL
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "padding", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail
;
17439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= NULL
;
17457 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self",(char *) "sz", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17487 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
= NULL
;
17489 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17490 wxPoint
*arg2
= 0 ;
17491 long *arg3
= (long *) 0 ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self",(char *) "pt", NULL
17502 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_From_int(static_cast<int >(result
));
17520 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17521 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17528 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= NULL
;
17530 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self",(char *) "sizePage", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17542 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 wxSize
* resultptr
;
17556 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17565 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= NULL
;
17567 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 wxColour
* resultptr
;
17586 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17595 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
= NULL
;
17597 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17598 wxVisualAttributes result
;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "variant", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17607 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17612 if (!wxPyCheckForApp()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 wxVisualAttributes
* resultptr
;
17621 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17630 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17633 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17635 return Py_BuildValue((char *)"");
17637 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
= NULL
;
17639 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17640 int arg2
= (int) 0 ;
17641 int arg3
= (int) -1 ;
17642 int arg4
= (int) -1 ;
17643 wxNotebookEvent
*result
;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 PyObject
* obj2
= 0 ;
17647 PyObject
* obj3
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17655 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17656 if (SWIG_arg_fail(1)) SWIG_fail
;
17661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17662 if (SWIG_arg_fail(2)) SWIG_fail
;
17667 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17668 if (SWIG_arg_fail(3)) SWIG_fail
;
17673 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17674 if (SWIG_arg_fail(4)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17691 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17694 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17696 return Py_BuildValue((char *)"");
17698 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
= NULL
;
17700 wxWindow
*arg1
= (wxWindow
*) 0 ;
17701 int arg2
= (int) -1 ;
17702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17704 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17705 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17706 long arg5
= (long) 0 ;
17707 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17708 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17709 wxListbook
*result
;
17712 bool temp6
= false ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 PyObject
* obj2
= 0 ;
17716 PyObject
* obj3
= 0 ;
17717 PyObject
* obj4
= 0 ;
17718 PyObject
* obj5
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17725 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17729 if (SWIG_arg_fail(2)) SWIG_fail
;
17735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17741 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17746 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17747 if (SWIG_arg_fail(5)) SWIG_fail
;
17752 arg6
= wxString_in_helper(obj5
);
17753 if (arg6
== NULL
) SWIG_fail
;
17758 if (!wxPyCheckForApp()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17780 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= NULL
;
17782 wxListbook
*result
;
17783 char *kwnames
[] = {
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17789 if (!wxPyCheckForApp()) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (wxListbook
*)new wxListbook();
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17803 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
= NULL
;
17805 wxListbook
*arg1
= (wxListbook
*) 0 ;
17806 wxWindow
*arg2
= (wxWindow
*) 0 ;
17807 int arg3
= (int) -1 ;
17808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17812 long arg6
= (long) 0 ;
17813 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17818 bool temp7
= false ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 PyObject
* obj2
= 0 ;
17822 PyObject
* obj3
= 0 ;
17823 PyObject
* obj4
= 0 ;
17824 PyObject
* obj5
= 0 ;
17825 PyObject
* obj6
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17834 if (SWIG_arg_fail(2)) SWIG_fail
;
17837 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17838 if (SWIG_arg_fail(3)) SWIG_fail
;
17844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17855 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17856 if (SWIG_arg_fail(6)) SWIG_fail
;
17861 arg7
= wxString_in_helper(obj6
);
17862 if (arg7
== NULL
) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17890 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
= NULL
;
17892 wxListbook
*arg1
= (wxListbook
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17918 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= NULL
;
17920 wxListbook
*arg1
= (wxListbook
*) 0 ;
17921 wxListView
*result
;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxListView
*)(arg1
)->GetListView();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17944 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17947 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17949 return Py_BuildValue((char *)"");
17951 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
= NULL
;
17953 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17954 int arg2
= (int) 0 ;
17955 int arg3
= (int) -1 ;
17956 int arg4
= (int) -1 ;
17957 wxListbookEvent
*result
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 PyObject
* obj2
= 0 ;
17961 PyObject
* obj3
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17969 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17975 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17976 if (SWIG_arg_fail(2)) SWIG_fail
;
17981 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17982 if (SWIG_arg_fail(3)) SWIG_fail
;
17987 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17988 if (SWIG_arg_fail(4)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18005 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18008 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18010 return Py_BuildValue((char *)"");
18012 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
= NULL
;
18014 wxWindow
*arg1
= (wxWindow
*) 0 ;
18016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18020 long arg5
= (long) 0 ;
18021 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18022 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18023 wxChoicebook
*result
;
18026 bool temp6
= false ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 PyObject
* obj3
= 0 ;
18031 PyObject
* obj4
= 0 ;
18032 PyObject
* obj5
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail
;
18041 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18042 if (SWIG_arg_fail(2)) SWIG_fail
;
18047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18058 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18059 if (SWIG_arg_fail(5)) SWIG_fail
;
18064 arg6
= wxString_in_helper(obj5
);
18065 if (arg6
== NULL
) SWIG_fail
;
18070 if (!wxPyCheckForApp()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18092 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
= NULL
;
18094 wxChoicebook
*result
;
18095 char *kwnames
[] = {
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18101 if (!wxPyCheckForApp()) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (wxChoicebook
*)new wxChoicebook();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18115 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
= NULL
;
18117 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18118 wxWindow
*arg2
= (wxWindow
*) 0 ;
18120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18124 long arg6
= (long) 0 ;
18125 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18126 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18130 bool temp7
= false ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 PyObject
* obj2
= 0 ;
18134 PyObject
* obj3
= 0 ;
18135 PyObject
* obj4
= 0 ;
18136 PyObject
* obj5
= 0 ;
18137 PyObject
* obj6
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18144 if (SWIG_arg_fail(1)) SWIG_fail
;
18145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(2)) SWIG_fail
;
18148 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18149 if (SWIG_arg_fail(3)) SWIG_fail
;
18154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18165 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18166 if (SWIG_arg_fail(6)) SWIG_fail
;
18171 arg7
= wxString_in_helper(obj6
);
18172 if (arg7
== NULL
) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18200 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= NULL
;
18202 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18228 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= NULL
;
18230 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18254 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= NULL
;
18256 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->DeleteAllPages();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18282 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18285 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18287 return Py_BuildValue((char *)"");
18289 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= NULL
;
18291 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18292 int arg2
= (int) 0 ;
18293 int arg3
= (int) -1 ;
18294 int arg4
= (int) -1 ;
18295 wxChoicebookEvent
*result
;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 PyObject
* obj2
= 0 ;
18299 PyObject
* obj3
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18307 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18313 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18314 if (SWIG_arg_fail(2)) SWIG_fail
;
18319 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18320 if (SWIG_arg_fail(3)) SWIG_fail
;
18325 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18326 if (SWIG_arg_fail(4)) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18343 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18346 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18348 return Py_BuildValue((char *)"");
18350 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
= NULL
;
18352 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18361 if (SWIG_arg_fail(1)) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (int)(arg1
)->GetId();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= SWIG_From_int(static_cast<int >(result
));
18378 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
= NULL
;
18380 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18389 if (SWIG_arg_fail(1)) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (wxControl
*)(arg1
)->GetControl();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= wxPyMake_wxObject(result
, 0);
18406 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= NULL
;
18408 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18409 wxToolBarBase
*result
;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= wxPyMake_wxObject(result
, 0);
18434 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= NULL
;
18436 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (int)(arg1
)->IsButton();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_From_int(static_cast<int >(result
));
18462 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
= NULL
;
18464 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (int)(arg1
)->IsControl();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_From_int(static_cast<int >(result
));
18490 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
= NULL
;
18492 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18501 if (SWIG_arg_fail(1)) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (int)(arg1
)->IsSeparator();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_From_int(static_cast<int >(result
));
18518 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= NULL
;
18520 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)(arg1
)->GetStyle();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_From_int(static_cast<int >(result
));
18546 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= NULL
;
18548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (wxItemKind
)(arg1
)->GetKind();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_int((result
));
18572 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= NULL
;
18574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (bool)(arg1
)->IsEnabled();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
= NULL
;
18602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (bool)(arg1
)->IsToggled();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18628 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= NULL
;
18630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)(arg1
)->CanBeToggled();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18656 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
= NULL
;
18658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18672 result
= (wxBitmap
*) &_result_ref
;
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 wxBitmap
* resultptr
= new wxBitmap(*result
);
18680 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18688 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= NULL
;
18690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18704 result
= (wxBitmap
*) &_result_ref
;
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 wxBitmap
* resultptr
= new wxBitmap(*result
);
18712 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18720 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= NULL
;
18722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (arg1
)->GetBitmap();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 wxBitmap
* resultptr
;
18741 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
18742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18750 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
= NULL
;
18752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (arg1
)->GetLabel();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18782 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
= NULL
;
18784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (arg1
)->GetShortHelp();
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18814 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
= NULL
;
18816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18825 if (SWIG_arg_fail(1)) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (arg1
)->GetLongHelp();
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18846 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
= NULL
;
18848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "enable", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail
;
18861 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18862 if (SWIG_arg_fail(2)) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)(arg1
)->Enable(arg2
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18880 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
= NULL
;
18882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18890 if (SWIG_arg_fail(1)) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 Py_INCREF(Py_None
); resultobj
= Py_None
;
18905 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= NULL
;
18907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "toggle", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18918 if (SWIG_arg_fail(1)) SWIG_fail
;
18920 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18921 if (SWIG_arg_fail(2)) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->SetToggle(arg2
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18939 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
= NULL
;
18941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18942 wxString
*arg2
= 0 ;
18944 bool temp2
= false ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "help", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18953 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 arg2
= wxString_in_helper(obj1
);
18956 if (arg2
== NULL
) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18983 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
= NULL
;
18985 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18986 wxString
*arg2
= 0 ;
18988 bool temp2
= false ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "help", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 arg2
= wxString_in_helper(obj1
);
19000 if (arg2
== NULL
) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19027 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
= NULL
;
19029 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19030 wxBitmap
*arg2
= 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self",(char *) "bmp", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(2)) SWIG_fail
;
19043 if (arg2
== NULL
) {
19044 SWIG_null_ref("wxBitmap");
19046 if (SWIG_arg_fail(2)) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19062 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
= NULL
;
19064 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19065 wxBitmap
*arg2
= 0 ;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "bmp", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19074 if (SWIG_arg_fail(1)) SWIG_fail
;
19076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19077 if (SWIG_arg_fail(2)) SWIG_fail
;
19078 if (arg2
== NULL
) {
19079 SWIG_null_ref("wxBitmap");
19081 if (SWIG_arg_fail(2)) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 Py_INCREF(Py_None
); resultobj
= Py_None
;
19097 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= NULL
;
19099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19100 wxString
*arg2
= 0 ;
19101 bool temp2
= false ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "label", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 arg2
= wxString_in_helper(obj1
);
19113 if (arg2
== NULL
) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetLabel((wxString
const &)*arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
= NULL
;
19140 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
= NULL
;
19165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19166 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self",(char *) "tbar", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19175 if (SWIG_arg_fail(1)) SWIG_fail
;
19176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(2)) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->Attach(arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
= NULL
;
19194 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
;
19218 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
= NULL
;
19220 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19221 PyObject
*arg2
= (PyObject
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self",(char *) "clientData", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19249 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19251 return Py_BuildValue((char *)"");
19253 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= NULL
;
19255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19257 wxString
*arg3
= 0 ;
19258 wxBitmap
*arg4
= 0 ;
19259 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19260 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19261 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19262 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19264 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19265 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19266 PyObject
*arg9
= (PyObject
*) NULL
;
19267 wxToolBarToolBase
*result
;
19268 bool temp3
= false ;
19269 bool temp7
= false ;
19270 bool temp8
= false ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 PyObject
* obj2
= 0 ;
19274 PyObject
* obj3
= 0 ;
19275 PyObject
* obj4
= 0 ;
19276 PyObject
* obj5
= 0 ;
19277 PyObject
* obj6
= 0 ;
19278 PyObject
* obj7
= 0 ;
19279 PyObject
* obj8
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19289 if (SWIG_arg_fail(2)) SWIG_fail
;
19292 arg3
= wxString_in_helper(obj2
);
19293 if (arg3
== NULL
) SWIG_fail
;
19297 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19298 if (SWIG_arg_fail(4)) SWIG_fail
;
19299 if (arg4
== NULL
) {
19300 SWIG_null_ref("wxBitmap");
19302 if (SWIG_arg_fail(4)) SWIG_fail
;
19306 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19307 if (SWIG_arg_fail(5)) SWIG_fail
;
19308 if (arg5
== NULL
) {
19309 SWIG_null_ref("wxBitmap");
19311 if (SWIG_arg_fail(5)) SWIG_fail
;
19316 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
19317 if (SWIG_arg_fail(6)) SWIG_fail
;
19322 arg7
= wxString_in_helper(obj6
);
19323 if (arg7
== NULL
) SWIG_fail
;
19329 arg8
= wxString_in_helper(obj7
);
19330 if (arg8
== NULL
) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= wxPyMake_wxObject(result
, 0);
19377 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= NULL
;
19379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19382 wxString
*arg4
= 0 ;
19383 wxBitmap
*arg5
= 0 ;
19384 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19385 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19386 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19387 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19389 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19390 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19391 PyObject
*arg10
= (PyObject
*) NULL
;
19392 wxToolBarToolBase
*result
;
19393 bool temp4
= false ;
19394 bool temp8
= false ;
19395 bool temp9
= false ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 PyObject
* obj2
= 0 ;
19399 PyObject
* obj3
= 0 ;
19400 PyObject
* obj4
= 0 ;
19401 PyObject
* obj5
= 0 ;
19402 PyObject
* obj6
= 0 ;
19403 PyObject
* obj7
= 0 ;
19404 PyObject
* obj8
= 0 ;
19405 PyObject
* obj9
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19412 if (SWIG_arg_fail(1)) SWIG_fail
;
19414 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19415 if (SWIG_arg_fail(2)) SWIG_fail
;
19418 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19419 if (SWIG_arg_fail(3)) SWIG_fail
;
19422 arg4
= wxString_in_helper(obj3
);
19423 if (arg4
== NULL
) SWIG_fail
;
19427 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19428 if (SWIG_arg_fail(5)) SWIG_fail
;
19429 if (arg5
== NULL
) {
19430 SWIG_null_ref("wxBitmap");
19432 if (SWIG_arg_fail(5)) SWIG_fail
;
19436 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(6)) SWIG_fail
;
19438 if (arg6
== NULL
) {
19439 SWIG_null_ref("wxBitmap");
19441 if (SWIG_arg_fail(6)) SWIG_fail
;
19446 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
19447 if (SWIG_arg_fail(7)) SWIG_fail
;
19452 arg8
= wxString_in_helper(obj7
);
19453 if (arg8
== NULL
) SWIG_fail
;
19459 arg9
= wxString_in_helper(obj8
);
19460 if (arg9
== NULL
) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= wxPyMake_wxObject(result
, 0);
19507 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
= NULL
;
19509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19510 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19511 wxToolBarToolBase
*result
;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self",(char *) "tool", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail
;
19521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19522 if (SWIG_arg_fail(2)) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= wxPyMake_wxObject(result
, 0);
19539 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= NULL
;
19541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19543 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19544 wxToolBarToolBase
*result
;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "pos",(char *) "tool", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19554 if (SWIG_arg_fail(1)) SWIG_fail
;
19556 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19557 if (SWIG_arg_fail(2)) SWIG_fail
;
19559 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19560 if (SWIG_arg_fail(3)) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= wxPyMake_wxObject(result
, 0);
19577 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= NULL
;
19579 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19580 wxControl
*arg2
= (wxControl
*) 0 ;
19581 wxToolBarToolBase
*result
;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self",(char *) "control", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19590 if (SWIG_arg_fail(1)) SWIG_fail
;
19591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19592 if (SWIG_arg_fail(2)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= wxPyMake_wxObject(result
, 0);
19609 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= NULL
;
19611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19613 wxControl
*arg3
= (wxControl
*) 0 ;
19614 wxToolBarToolBase
*result
;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 PyObject
* obj2
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "pos",(char *) "control", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19624 if (SWIG_arg_fail(1)) SWIG_fail
;
19626 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19627 if (SWIG_arg_fail(2)) SWIG_fail
;
19629 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19630 if (SWIG_arg_fail(3)) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= wxPyMake_wxObject(result
, 0);
19647 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
= NULL
;
19649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "id", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail
;
19662 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19663 if (SWIG_arg_fail(2)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= wxPyMake_wxObject(result
, 0);
19681 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
= NULL
;
19683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19684 wxToolBarToolBase
*result
;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19692 if (SWIG_arg_fail(1)) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= wxPyMake_wxObject(result
, 0);
19709 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
= NULL
;
19711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19713 wxToolBarToolBase
*result
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "pos", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19725 if (SWIG_arg_fail(2)) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= wxPyMake_wxObject(result
, 0);
19743 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= NULL
;
19745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19747 wxToolBarToolBase
*result
;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "id", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19759 if (SWIG_arg_fail(2)) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= wxPyMake_wxObject(result
, 0);
19777 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
= NULL
;
19779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self",(char *) "pos", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail
;
19792 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19793 if (SWIG_arg_fail(2)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19811 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
= NULL
;
19813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self",(char *) "id", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail
;
19826 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19827 if (SWIG_arg_fail(2)) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (bool)(arg1
)->DeleteTool(arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19845 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
= NULL
;
19847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19855 if (SWIG_arg_fail(1)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 (arg1
)->ClearTools();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 Py_INCREF(Py_None
); resultobj
= Py_None
;
19870 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= NULL
;
19872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->Realize();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= NULL
;
19900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 PyObject
* obj2
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "id",(char *) "enable", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19912 if (SWIG_arg_fail(1)) SWIG_fail
;
19914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19915 if (SWIG_arg_fail(2)) SWIG_fail
;
19918 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19919 if (SWIG_arg_fail(3)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 (arg1
)->EnableTool(arg2
,arg3
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= NULL
;
19937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 PyObject
* obj2
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "id",(char *) "toggle", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19952 if (SWIG_arg_fail(2)) SWIG_fail
;
19955 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19956 if (SWIG_arg_fail(3)) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 (arg1
)->ToggleTool(arg2
,arg3
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 Py_INCREF(Py_None
); resultobj
= Py_None
;
19972 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= NULL
;
19974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 PyObject
* obj2
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "id",(char *) "toggle", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19986 if (SWIG_arg_fail(1)) SWIG_fail
;
19988 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19989 if (SWIG_arg_fail(2)) SWIG_fail
;
19992 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19993 if (SWIG_arg_fail(3)) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 (arg1
)->SetToggle(arg2
,arg3
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20009 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= NULL
;
20011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "id", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20025 if (SWIG_arg_fail(2)) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= result
;
20041 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
= NULL
;
20043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20045 PyObject
*arg3
= (PyObject
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "id",(char *) "clientData", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20058 if (SWIG_arg_fail(2)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 Py_INCREF(Py_None
); resultobj
= Py_None
;
20075 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= NULL
;
20077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self",(char *) "id", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20088 if (SWIG_arg_fail(1)) SWIG_fail
;
20090 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20091 if (SWIG_arg_fail(2)) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_From_int(static_cast<int >(result
));
20109 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= NULL
;
20111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self",(char *) "id", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail
;
20124 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20125 if (SWIG_arg_fail(2)) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (bool)(arg1
)->GetToolState(arg2
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20143 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= NULL
;
20145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "id", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20156 if (SWIG_arg_fail(1)) SWIG_fail
;
20158 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20159 if (SWIG_arg_fail(2)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20177 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= NULL
;
20179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20181 wxString
*arg3
= 0 ;
20182 bool temp3
= false ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 PyObject
* obj2
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "id",(char *) "helpString", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20192 if (SWIG_arg_fail(1)) SWIG_fail
;
20194 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20195 if (SWIG_arg_fail(2)) SWIG_fail
;
20198 arg3
= wxString_in_helper(obj2
);
20199 if (arg3
== NULL
) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
= NULL
;
20226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "id", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20240 if (SWIG_arg_fail(2)) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (arg1
)->GetToolShortHelp(arg2
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20262 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
= NULL
;
20264 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20266 wxString
*arg3
= 0 ;
20267 bool temp3
= false ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self",(char *) "id",(char *) "helpString", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20277 if (SWIG_arg_fail(1)) SWIG_fail
;
20279 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20280 if (SWIG_arg_fail(2)) SWIG_fail
;
20283 arg3
= wxString_in_helper(obj2
);
20284 if (arg3
== NULL
) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
= NULL
;
20311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "id", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20325 if (SWIG_arg_fail(2)) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (arg1
)->GetToolLongHelp(arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20347 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
= NULL
;
20349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 PyObject
* obj2
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "x",(char *) "y", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20363 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20364 if (SWIG_arg_fail(2)) SWIG_fail
;
20367 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20368 if (SWIG_arg_fail(3)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->SetMargins(arg2
,arg3
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
= NULL
;
20386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "size", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 Py_INCREF(Py_None
); resultobj
= Py_None
;
20416 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= NULL
;
20418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "packing", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail
;
20430 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20431 if (SWIG_arg_fail(2)) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->SetToolPacking(arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20447 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= NULL
;
20449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "separation", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail
;
20461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20462 if (SWIG_arg_fail(2)) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->SetToolSeparation(arg2
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20478 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
= NULL
;
20480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20489 if (SWIG_arg_fail(1)) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (arg1
)->GetToolMargins();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20498 wxSize
* resultptr
;
20499 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20508 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
= NULL
;
20510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20519 if (SWIG_arg_fail(1)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (arg1
)->GetMargins();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 wxSize
* resultptr
;
20529 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20538 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
= NULL
;
20540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20549 if (SWIG_arg_fail(1)) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= (int)(arg1
)->GetToolPacking();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_From_int(static_cast<int >(result
));
20566 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= NULL
;
20568 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20577 if (SWIG_arg_fail(1)) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (int)(arg1
)->GetToolSeparation();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_From_int(static_cast<int >(result
));
20594 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= NULL
;
20596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "nRows", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20609 if (SWIG_arg_fail(2)) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->SetRows(arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
= NULL
;
20627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self",(char *) "rows",(char *) "cols", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail
;
20641 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20642 if (SWIG_arg_fail(2)) SWIG_fail
;
20645 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20646 if (SWIG_arg_fail(3)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 Py_INCREF(Py_None
); resultobj
= Py_None
;
20662 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= NULL
;
20664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (int)(arg1
)->GetMaxRows();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_From_int(static_cast<int >(result
));
20690 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
= NULL
;
20692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (int)(arg1
)->GetMaxCols();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_From_int(static_cast<int >(result
));
20718 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
= NULL
;
20720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "size", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail
;
20734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= NULL
;
20752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (arg1
)->GetToolBitmapSize();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20770 wxSize
* resultptr
;
20771 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20780 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
= NULL
;
20782 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20791 if (SWIG_arg_fail(1)) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (arg1
)->GetToolSize();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 wxSize
* resultptr
;
20801 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20810 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= NULL
;
20812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20815 wxToolBarToolBase
*result
;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 PyObject
* obj2
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self",(char *) "x",(char *) "y", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20825 if (SWIG_arg_fail(1)) SWIG_fail
;
20827 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20828 if (SWIG_arg_fail(2)) SWIG_fail
;
20831 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20832 if (SWIG_arg_fail(3)) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= wxPyMake_wxObject(result
, 0);
20850 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= NULL
;
20852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20854 wxToolBarToolBase
*result
;
20855 PyObject
* obj0
= 0 ;
20856 PyObject
* obj1
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self",(char *) "toolid", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail
;
20865 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20866 if (SWIG_arg_fail(2)) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= wxPyMake_wxObject(result
, 0);
20884 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
= NULL
;
20886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (bool)(arg1
)->IsVertical();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20912 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20917 return Py_BuildValue((char *)"");
20919 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
= NULL
;
20921 wxWindow
*arg1
= (wxWindow
*) 0 ;
20922 int arg2
= (int) -1 ;
20923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20927 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20928 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20929 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20933 bool temp6
= false ;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 PyObject
* obj2
= 0 ;
20937 PyObject
* obj3
= 0 ;
20938 PyObject
* obj4
= 0 ;
20939 PyObject
* obj5
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20946 if (SWIG_arg_fail(1)) SWIG_fail
;
20949 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20950 if (SWIG_arg_fail(2)) SWIG_fail
;
20956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20967 arg5
= static_cast<long >(SWIG_As_long(obj4
));
20968 if (SWIG_arg_fail(5)) SWIG_fail
;
20973 arg6
= wxString_in_helper(obj5
);
20974 if (arg6
== NULL
) SWIG_fail
;
20979 if (!wxPyCheckForApp()) SWIG_fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21001 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
= NULL
;
21004 char *kwnames
[] = {
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21010 if (!wxPyCheckForApp()) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (wxToolBar
*)new wxToolBar();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21024 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= NULL
;
21026 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21027 wxWindow
*arg2
= (wxWindow
*) 0 ;
21028 int arg3
= (int) -1 ;
21029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21033 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21034 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21035 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21039 bool temp7
= false ;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 PyObject
* obj2
= 0 ;
21043 PyObject
* obj3
= 0 ;
21044 PyObject
* obj4
= 0 ;
21045 PyObject
* obj5
= 0 ;
21046 PyObject
* obj6
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail
;
21054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(2)) SWIG_fail
;
21058 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21059 if (SWIG_arg_fail(3)) SWIG_fail
;
21065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21076 arg6
= static_cast<long >(SWIG_As_long(obj5
));
21077 if (SWIG_arg_fail(6)) SWIG_fail
;
21082 arg7
= wxString_in_helper(obj6
);
21083 if (arg7
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21111 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
= NULL
;
21113 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21116 wxToolBarToolBase
*result
;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "x",(char *) "y", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail
;
21128 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21129 if (SWIG_arg_fail(2)) SWIG_fail
;
21132 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21133 if (SWIG_arg_fail(3)) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= wxPyMake_wxObject(result
, 0);
21151 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
= NULL
;
21153 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21154 wxVisualAttributes result
;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "variant", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21163 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
21164 if (SWIG_arg_fail(1)) SWIG_fail
;
21168 if (!wxPyCheckForApp()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21176 wxVisualAttributes
* resultptr
;
21177 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
21178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21186 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21189 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21191 return Py_BuildValue((char *)"");
21193 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21194 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21199 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21200 PyObject
*pyobj
= NULL
;
21204 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21206 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21213 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
= NULL
;
21215 wxColour
const &arg1_defvalue
= wxNullColour
;
21216 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21217 wxColour
const &arg2_defvalue
= wxNullColour
;
21218 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21219 wxFont
const &arg3_defvalue
= wxNullFont
;
21220 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21221 wxListItemAttr
*result
;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 PyObject
* obj2
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21235 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21247 if (SWIG_arg_fail(3)) SWIG_fail
;
21248 if (arg3
== NULL
) {
21249 SWIG_null_ref("wxFont");
21251 if (SWIG_arg_fail(3)) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21268 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= NULL
;
21270 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21271 wxColour
*arg2
= 0 ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self",(char *) "colText", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail
;
21284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
= NULL
;
21302 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21303 wxColour
*arg2
= 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self",(char *) "colBack", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail
;
21316 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 Py_INCREF(Py_None
); resultobj
= Py_None
;
21332 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
= NULL
;
21334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "font", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21347 if (SWIG_arg_fail(2)) SWIG_fail
;
21348 if (arg2
== NULL
) {
21349 SWIG_null_ref("wxFont");
21351 if (SWIG_arg_fail(2)) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 (arg1
)->SetFont((wxFont
const &)*arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 Py_INCREF(Py_None
); resultobj
= Py_None
;
21367 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= NULL
;
21369 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)(arg1
)->HasTextColour();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= NULL
;
21397 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)(arg1
)->HasBackgroundColour();
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21423 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
= NULL
;
21425 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21434 if (SWIG_arg_fail(1)) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (bool)(arg1
)->HasFont();
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21451 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
= NULL
;
21453 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21455 PyObject
* obj0
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (arg1
)->GetTextColour();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 wxColour
* resultptr
;
21472 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21481 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= NULL
;
21483 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (arg1
)->GetBackgroundColour();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 wxColour
* resultptr
;
21502 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21511 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
= NULL
;
21513 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21522 if (SWIG_arg_fail(1)) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (arg1
)->GetFont();
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 wxFont
* resultptr
;
21532 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
21533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21541 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= NULL
;
21543 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 wxListItemAttr_Destroy(arg1
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21569 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21571 return Py_BuildValue((char *)"");
21573 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
= NULL
;
21575 wxListItem
*result
;
21576 char *kwnames
[] = {
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (wxListItem
*)new wxListItem();
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= wxPyMake_wxObject(result
, 1);
21597 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= NULL
;
21599 wxListItem
*arg1
= (wxListItem
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21607 if (SWIG_arg_fail(1)) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 Py_INCREF(Py_None
); resultobj
= Py_None
;
21622 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= NULL
;
21624 wxListItem
*arg1
= (wxListItem
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
= NULL
;
21649 wxListItem
*arg1
= (wxListItem
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21657 if (SWIG_arg_fail(1)) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 (arg1
)->ClearAttributes();
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 Py_INCREF(Py_None
); resultobj
= Py_None
;
21672 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= NULL
;
21674 wxListItem
*arg1
= (wxListItem
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "mask", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail
;
21686 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21687 if (SWIG_arg_fail(2)) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->SetMask(arg2
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21703 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
= NULL
;
21705 wxListItem
*arg1
= (wxListItem
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "id", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21718 if (SWIG_arg_fail(2)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->SetId(arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= NULL
;
21736 wxListItem
*arg1
= (wxListItem
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "col", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21749 if (SWIG_arg_fail(2)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->SetColumn(arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= NULL
;
21767 wxListItem
*arg1
= (wxListItem
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "state", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail
;
21779 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21780 if (SWIG_arg_fail(2)) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->SetState(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= NULL
;
21798 wxListItem
*arg1
= (wxListItem
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "stateMask", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 (arg1
)->SetStateMask(arg2
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= NULL
;
21829 wxListItem
*arg1
= (wxListItem
*) 0 ;
21830 wxString
*arg2
= 0 ;
21831 bool temp2
= false ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "text", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 arg2
= wxString_in_helper(obj1
);
21843 if (arg2
== NULL
) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 (arg1
)->SetText((wxString
const &)*arg2
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
= NULL
;
21870 wxListItem
*arg1
= (wxListItem
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "image", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21880 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21883 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetImage(arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
= NULL
;
21901 wxListItem
*arg1
= (wxListItem
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "data", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21914 if (SWIG_arg_fail(2)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetData(arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
= NULL
;
21932 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "width", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21945 if (SWIG_arg_fail(2)) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->SetWidth(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 Py_INCREF(Py_None
); resultobj
= Py_None
;
21961 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= NULL
;
21963 wxListItem
*arg1
= (wxListItem
*) 0 ;
21964 wxListColumnFormat arg2
;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "align", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail
;
21975 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
21976 if (SWIG_arg_fail(2)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->SetAlign(arg2
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
= NULL
;
21994 wxListItem
*arg1
= (wxListItem
*) 0 ;
21995 wxColour
*arg2
= 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "colText", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= NULL
;
22026 wxListItem
*arg1
= (wxListItem
*) 0 ;
22027 wxColour
*arg2
= 0 ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "colBack", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 Py_INCREF(Py_None
); resultobj
= Py_None
;
22056 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
= NULL
;
22058 wxListItem
*arg1
= (wxListItem
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "font", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(2)) SWIG_fail
;
22072 if (arg2
== NULL
) {
22073 SWIG_null_ref("wxFont");
22075 if (SWIG_arg_fail(2)) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 (arg1
)->SetFont((wxFont
const &)*arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 Py_INCREF(Py_None
); resultobj
= Py_None
;
22091 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
= NULL
;
22093 wxListItem
*arg1
= (wxListItem
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (long)(arg1
)->GetMask();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_From_long(static_cast<long >(result
));
22119 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= NULL
;
22121 wxListItem
*arg1
= (wxListItem
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (long)(arg1
)->GetId();
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_From_long(static_cast<long >(result
));
22147 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= NULL
;
22149 wxListItem
*arg1
= (wxListItem
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (int)(arg1
)->GetColumn();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_From_int(static_cast<int >(result
));
22175 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= NULL
;
22177 wxListItem
*arg1
= (wxListItem
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (long)(arg1
)->GetState();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_From_long(static_cast<long >(result
));
22203 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= NULL
;
22205 wxListItem
*arg1
= (wxListItem
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 wxString
const &_result_ref
= (arg1
)->GetText();
22219 result
= (wxString
*) &_result_ref
;
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22238 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
= NULL
;
22240 wxListItem
*arg1
= (wxListItem
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (int)(arg1
)->GetImage();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_From_int(static_cast<int >(result
));
22266 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
= NULL
;
22268 wxListItem
*arg1
= (wxListItem
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= (long)(arg1
)->GetData();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= SWIG_From_long(static_cast<long >(result
));
22294 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= NULL
;
22296 wxListItem
*arg1
= (wxListItem
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22305 if (SWIG_arg_fail(1)) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (int)(arg1
)->GetWidth();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_From_int(static_cast<int >(result
));
22322 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= NULL
;
22324 wxListItem
*arg1
= (wxListItem
*) 0 ;
22325 wxListColumnFormat result
;
22326 PyObject
* obj0
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22333 if (SWIG_arg_fail(1)) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_From_int((result
));
22348 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= NULL
;
22350 wxListItem
*arg1
= (wxListItem
*) 0 ;
22351 wxListItemAttr
*result
;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22374 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
= NULL
;
22376 wxListItem
*arg1
= (wxListItem
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)(arg1
)->HasAttributes();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= NULL
;
22404 wxListItem
*arg1
= (wxListItem
*) 0 ;
22406 PyObject
* obj0
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 wxColour
* resultptr
;
22423 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22432 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
= NULL
;
22434 wxListItem
*arg1
= (wxListItem
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 wxColour
* resultptr
;
22453 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22462 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
= NULL
;
22464 wxListItem
*arg1
= (wxListItem
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= ((wxListItem
const *)arg1
)->GetFont();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 wxFont
* resultptr
;
22483 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22492 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
= NULL
;
22494 wxListItem
*arg1
= (wxListItem
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "m_mask", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail
;
22506 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22507 if (SWIG_arg_fail(2)) SWIG_fail
;
22509 if (arg1
) (arg1
)->m_mask
= arg2
;
22511 Py_INCREF(Py_None
); resultobj
= Py_None
;
22518 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
= NULL
;
22520 wxListItem
*arg1
= (wxListItem
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22530 result
= (long) ((arg1
)->m_mask
);
22533 resultobj
= SWIG_From_long(static_cast<long >(result
));
22541 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
= NULL
;
22543 wxListItem
*arg1
= (wxListItem
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self",(char *) "m_itemId", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22556 if (SWIG_arg_fail(2)) SWIG_fail
;
22558 if (arg1
) (arg1
)->m_itemId
= arg2
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= NULL
;
22569 wxListItem
*arg1
= (wxListItem
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22579 result
= (long) ((arg1
)->m_itemId
);
22582 resultobj
= SWIG_From_long(static_cast<long >(result
));
22590 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
= NULL
;
22592 wxListItem
*arg1
= (wxListItem
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "m_col", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22604 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22605 if (SWIG_arg_fail(2)) SWIG_fail
;
22607 if (arg1
) (arg1
)->m_col
= arg2
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
= NULL
;
22618 wxListItem
*arg1
= (wxListItem
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22628 result
= (int) ((arg1
)->m_col
);
22631 resultobj
= SWIG_From_int(static_cast<int >(result
));
22639 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
= NULL
;
22641 wxListItem
*arg1
= (wxListItem
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "m_state", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22654 if (SWIG_arg_fail(2)) SWIG_fail
;
22656 if (arg1
) (arg1
)->m_state
= arg2
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22665 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
= NULL
;
22667 wxListItem
*arg1
= (wxListItem
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 result
= (long) ((arg1
)->m_state
);
22680 resultobj
= SWIG_From_long(static_cast<long >(result
));
22688 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
= NULL
;
22690 wxListItem
*arg1
= (wxListItem
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "m_stateMask", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22705 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= NULL
;
22716 wxListItem
*arg1
= (wxListItem
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 result
= (long) ((arg1
)->m_stateMask
);
22729 resultobj
= SWIG_From_long(static_cast<long >(result
));
22737 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
= NULL
;
22739 wxListItem
*arg1
= (wxListItem
*) 0 ;
22740 wxString
*arg2
= (wxString
*) 0 ;
22741 bool temp2
= false ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "m_text", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22752 arg2
= wxString_in_helper(obj1
);
22753 if (arg2
== NULL
) SWIG_fail
;
22756 if (arg1
) (arg1
)->m_text
= *arg2
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22773 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
= NULL
;
22775 wxListItem
*arg1
= (wxListItem
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22785 result
= (wxString
*)& ((arg1
)->m_text
);
22789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22800 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= NULL
;
22802 wxListItem
*arg1
= (wxListItem
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "m_image", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22815 if (SWIG_arg_fail(2)) SWIG_fail
;
22817 if (arg1
) (arg1
)->m_image
= arg2
;
22819 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= NULL
;
22828 wxListItem
*arg1
= (wxListItem
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail
;
22838 result
= (int) ((arg1
)->m_image
);
22841 resultobj
= SWIG_From_int(static_cast<int >(result
));
22849 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
= NULL
;
22851 wxListItem
*arg1
= (wxListItem
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "m_data", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22863 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22864 if (SWIG_arg_fail(2)) SWIG_fail
;
22866 if (arg1
) (arg1
)->m_data
= arg2
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
= NULL
;
22877 wxListItem
*arg1
= (wxListItem
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 result
= (long) ((arg1
)->m_data
);
22890 resultobj
= SWIG_From_long(static_cast<long >(result
));
22898 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
= NULL
;
22900 wxListItem
*arg1
= (wxListItem
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "m_format", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22913 if (SWIG_arg_fail(2)) SWIG_fail
;
22915 if (arg1
) (arg1
)->m_format
= arg2
;
22917 Py_INCREF(Py_None
); resultobj
= Py_None
;
22924 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
= NULL
;
22926 wxListItem
*arg1
= (wxListItem
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22936 result
= (int) ((arg1
)->m_format
);
22939 resultobj
= SWIG_From_int(static_cast<int >(result
));
22947 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
= NULL
;
22949 wxListItem
*arg1
= (wxListItem
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "m_width", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22962 if (SWIG_arg_fail(2)) SWIG_fail
;
22964 if (arg1
) (arg1
)->m_width
= arg2
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
= NULL
;
22975 wxListItem
*arg1
= (wxListItem
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 result
= (int) ((arg1
)->m_width
);
22988 resultobj
= SWIG_From_int(static_cast<int >(result
));
22996 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22999 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23001 return Py_BuildValue((char *)"");
23003 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
= NULL
;
23005 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23006 int arg2
= (int) 0 ;
23007 wxListEvent
*result
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "commandType",(char *) "id", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23017 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
23018 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23024 if (SWIG_arg_fail(2)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23041 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
= NULL
;
23043 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self",(char *) "m_code", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail
;
23055 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23056 if (SWIG_arg_fail(2)) SWIG_fail
;
23058 if (arg1
) (arg1
)->m_code
= arg2
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
= NULL
;
23069 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail
;
23079 result
= (int) ((arg1
)->m_code
);
23082 resultobj
= SWIG_From_int(static_cast<int >(result
));
23090 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
= NULL
;
23092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "m_oldItemIndex", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail
;
23104 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23105 if (SWIG_arg_fail(2)) SWIG_fail
;
23107 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
= NULL
;
23118 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23128 result
= (long) ((arg1
)->m_oldItemIndex
);
23131 resultobj
= SWIG_From_long(static_cast<long >(result
));
23139 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
= NULL
;
23141 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "m_itemIndex", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23153 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23154 if (SWIG_arg_fail(2)) SWIG_fail
;
23156 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
= NULL
;
23167 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23177 result
= (long) ((arg1
)->m_itemIndex
);
23180 resultobj
= SWIG_From_long(static_cast<long >(result
));
23188 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
= NULL
;
23190 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "m_col", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail
;
23202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23203 if (SWIG_arg_fail(2)) SWIG_fail
;
23205 if (arg1
) (arg1
)->m_col
= arg2
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= NULL
;
23216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23226 result
= (int) ((arg1
)->m_col
);
23229 resultobj
= SWIG_From_int(static_cast<int >(result
));
23237 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= NULL
;
23239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23240 wxPoint
*arg2
= (wxPoint
*) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self",(char *) "m_pointDrag", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(2)) SWIG_fail
;
23252 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23254 Py_INCREF(Py_None
); resultobj
= Py_None
;
23261 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= NULL
;
23263 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail
;
23273 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23282 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
= NULL
;
23284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23285 wxListItem
*result
;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23294 result
= (wxListItem
*)& ((arg1
)->m_item
);
23297 resultobj
= wxPyMake_wxObject(result
, 0);
23305 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= NULL
;
23307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23316 if (SWIG_arg_fail(1)) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (int)(arg1
)->GetKeyCode();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_From_int(static_cast<int >(result
));
23333 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
= NULL
;
23335 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (long)(arg1
)->GetIndex();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_From_long(static_cast<long >(result
));
23361 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
= NULL
;
23363 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (int)(arg1
)->GetColumn();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_From_int(static_cast<int >(result
));
23389 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
= NULL
;
23391 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (arg1
)->GetPoint();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 wxPoint
* resultptr
;
23410 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
23411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23419 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= NULL
;
23421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 wxString
const &_result_ref
= (arg1
)->GetLabel();
23435 result
= (wxString
*) &_result_ref
;
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23445 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23454 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= NULL
;
23456 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 wxString
const &_result_ref
= (arg1
)->GetText();
23470 result
= (wxString
*) &_result_ref
;
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23480 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23489 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
= NULL
;
23491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (int)(arg1
)->GetImage();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_From_int(static_cast<int >(result
));
23517 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
= NULL
;
23519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23521 PyObject
* obj0
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (long)(arg1
)->GetData();
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_From_long(static_cast<long >(result
));
23545 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= NULL
;
23547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23549 PyObject
* obj0
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23556 if (SWIG_arg_fail(1)) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (long)(arg1
)->GetMask();
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_From_long(static_cast<long >(result
));
23573 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= NULL
;
23575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23576 wxListItem
*result
;
23577 PyObject
* obj0
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23584 if (SWIG_arg_fail(1)) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23589 result
= (wxListItem
*) &_result_ref
;
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23602 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= NULL
;
23604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (long)(arg1
)->GetCacheFrom();
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_From_long(static_cast<long >(result
));
23630 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= NULL
;
23632 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23634 PyObject
* obj0
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (long)(arg1
)->GetCacheTo();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_From_long(static_cast<long >(result
));
23658 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
= NULL
;
23660 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= NULL
;
23688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "editCancelled", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23701 if (SWIG_arg_fail(2)) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 (arg1
)->SetEditCanceled(arg2
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 Py_INCREF(Py_None
); resultobj
= Py_None
;
23717 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23720 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23722 return Py_BuildValue((char *)"");
23724 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
= NULL
;
23726 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 int arg2
= (int) -1 ;
23728 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23729 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23730 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23731 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23732 long arg5
= (long) wxLC_ICON
;
23733 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23734 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23735 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23737 wxPyListCtrl
*result
;
23740 bool temp7
= false ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 PyObject
* obj2
= 0 ;
23744 PyObject
* obj3
= 0 ;
23745 PyObject
* obj4
= 0 ;
23746 PyObject
* obj5
= 0 ;
23747 PyObject
* obj6
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23758 if (SWIG_arg_fail(2)) SWIG_fail
;
23764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23775 arg5
= static_cast<long >(SWIG_As_long(obj4
));
23776 if (SWIG_arg_fail(5)) SWIG_fail
;
23781 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23782 if (SWIG_arg_fail(6)) SWIG_fail
;
23783 if (arg6
== NULL
) {
23784 SWIG_null_ref("wxValidator");
23786 if (SWIG_arg_fail(6)) SWIG_fail
;
23791 arg7
= wxString_in_helper(obj6
);
23792 if (arg7
== NULL
) SWIG_fail
;
23797 if (!wxPyCheckForApp()) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23819 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= NULL
;
23821 wxPyListCtrl
*result
;
23822 char *kwnames
[] = {
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23828 if (!wxPyCheckForApp()) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23842 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= NULL
;
23844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23845 wxWindow
*arg2
= (wxWindow
*) 0 ;
23846 int arg3
= (int) -1 ;
23847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23851 long arg6
= (long) wxLC_ICON
;
23852 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23853 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23854 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23859 bool temp8
= false ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 PyObject
* obj2
= 0 ;
23863 PyObject
* obj3
= 0 ;
23864 PyObject
* obj4
= 0 ;
23865 PyObject
* obj5
= 0 ;
23866 PyObject
* obj6
= 0 ;
23867 PyObject
* obj7
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail
;
23875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23876 if (SWIG_arg_fail(2)) SWIG_fail
;
23879 arg3
= static_cast<int >(SWIG_As_int(obj2
));
23880 if (SWIG_arg_fail(3)) SWIG_fail
;
23886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23897 arg6
= static_cast<long >(SWIG_As_long(obj5
));
23898 if (SWIG_arg_fail(6)) SWIG_fail
;
23903 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23904 if (SWIG_arg_fail(7)) SWIG_fail
;
23905 if (arg7
== NULL
) {
23906 SWIG_null_ref("wxValidator");
23908 if (SWIG_arg_fail(7)) SWIG_fail
;
23913 arg8
= wxString_in_helper(obj7
);
23914 if (arg8
== NULL
) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23942 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
= NULL
;
23944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23945 PyObject
*arg2
= (PyObject
*) 0 ;
23946 PyObject
*arg3
= (PyObject
*) 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 PyObject
* obj2
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self",(char *) "self",(char *) "_class", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 Py_INCREF(Py_None
); resultobj
= Py_None
;
23973 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
= NULL
;
23975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23976 wxColour
*arg2
= 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "col", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
= NULL
;
24010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24011 wxColour
*arg2
= 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "col", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24022 if (SWIG_arg_fail(1)) SWIG_fail
;
24025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24043 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= NULL
;
24045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24047 wxListItem
*result
;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "col", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail
;
24058 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24059 if (SWIG_arg_fail(2)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= wxPyMake_wxObject(result
, 0);
24077 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= NULL
;
24079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24081 wxListItem
*arg3
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self",(char *) "col",(char *) "item", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24092 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24095 if (SWIG_arg_fail(2)) SWIG_fail
;
24098 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24099 if (SWIG_arg_fail(3)) SWIG_fail
;
24100 if (arg3
== NULL
) {
24101 SWIG_null_ref("wxListItem");
24103 if (SWIG_arg_fail(3)) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24121 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
= NULL
;
24123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "col", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24134 if (SWIG_arg_fail(1)) SWIG_fail
;
24136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24137 if (SWIG_arg_fail(2)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_From_int(static_cast<int >(result
));
24155 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
= NULL
;
24157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 PyObject
* obj2
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "col",(char *) "width", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24173 if (SWIG_arg_fail(2)) SWIG_fail
;
24176 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24177 if (SWIG_arg_fail(3)) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= NULL
;
24197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_From_int(static_cast<int >(result
));
24223 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
= NULL
;
24225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 wxRect
* resultptr
;
24244 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
24245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24253 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
= NULL
;
24255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24257 int arg3
= (int) 0 ;
24258 wxListItem
*result
;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 PyObject
* obj2
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "itemId",(char *) "col", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24270 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24271 if (SWIG_arg_fail(2)) SWIG_fail
;
24275 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24276 if (SWIG_arg_fail(3)) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= wxPyMake_wxObject(result
, 0);
24295 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
= NULL
;
24297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24298 wxListItem
*arg2
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self",(char *) "info", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24308 if (SWIG_arg_fail(1)) SWIG_fail
;
24310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24311 if (SWIG_arg_fail(2)) SWIG_fail
;
24312 if (arg2
== NULL
) {
24313 SWIG_null_ref("wxListItem");
24315 if (SWIG_arg_fail(2)) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (bool)(arg1
)->SetItem(*arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24333 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
= NULL
;
24335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24338 wxString
*arg4
= 0 ;
24339 int arg5
= (int) -1 ;
24341 bool temp4
= false ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 PyObject
* obj2
= 0 ;
24345 PyObject
* obj3
= 0 ;
24346 PyObject
* obj4
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24353 if (SWIG_arg_fail(1)) SWIG_fail
;
24355 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24356 if (SWIG_arg_fail(2)) SWIG_fail
;
24359 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24360 if (SWIG_arg_fail(3)) SWIG_fail
;
24363 arg4
= wxString_in_helper(obj3
);
24364 if (arg4
== NULL
) SWIG_fail
;
24369 arg5
= static_cast<int >(SWIG_As_int(obj4
));
24370 if (SWIG_arg_fail(5)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_From_long(static_cast<long >(result
));
24397 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= NULL
;
24399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 PyObject
* obj2
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24415 if (SWIG_arg_fail(2)) SWIG_fail
;
24418 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24419 if (SWIG_arg_fail(3)) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_From_int(static_cast<int >(result
));
24437 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= NULL
;
24439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 PyObject
* obj2
= 0 ;
24447 PyObject
* obj3
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail
;
24456 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24457 if (SWIG_arg_fail(2)) SWIG_fail
;
24460 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24461 if (SWIG_arg_fail(3)) SWIG_fail
;
24464 arg4
= static_cast<long >(SWIG_As_long(obj3
));
24465 if (SWIG_arg_fail(4)) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24483 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= NULL
;
24485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24488 int arg4
= (int) -1 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 PyObject
* obj2
= 0 ;
24493 PyObject
* obj3
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail
;
24502 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24503 if (SWIG_arg_fail(2)) SWIG_fail
;
24506 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24507 if (SWIG_arg_fail(3)) SWIG_fail
;
24511 arg4
= static_cast<int >(SWIG_As_int(obj3
));
24512 if (SWIG_arg_fail(4)) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24531 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
= NULL
;
24533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "item", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24546 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24547 if (SWIG_arg_fail(2)) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24569 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= NULL
;
24571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24573 wxString
*arg3
= 0 ;
24574 bool temp3
= false ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 PyObject
* obj2
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "item",(char *) "str", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24584 if (SWIG_arg_fail(1)) SWIG_fail
;
24586 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24587 if (SWIG_arg_fail(2)) SWIG_fail
;
24590 arg3
= wxString_in_helper(obj2
);
24591 if (arg3
== NULL
) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 Py_INCREF(Py_None
); resultobj
= Py_None
;
24616 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= NULL
;
24618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "item", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24629 if (SWIG_arg_fail(1)) SWIG_fail
;
24631 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24632 if (SWIG_arg_fail(2)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_From_long(static_cast<long >(result
));
24650 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
= NULL
;
24652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 PyObject
* obj2
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "item",(char *) "data", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24668 if (SWIG_arg_fail(2)) SWIG_fail
;
24671 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24672 if (SWIG_arg_fail(3)) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24690 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= NULL
;
24692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "item", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24703 if (SWIG_arg_fail(1)) SWIG_fail
;
24705 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24706 if (SWIG_arg_fail(2)) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 wxPoint
* resultptr
;
24717 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24726 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
= NULL
;
24728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24730 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self",(char *) "item",(char *) "code", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24741 if (SWIG_arg_fail(1)) SWIG_fail
;
24743 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24744 if (SWIG_arg_fail(2)) SWIG_fail
;
24748 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24749 if (SWIG_arg_fail(3)) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24760 wxRect
* resultptr
;
24761 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
24762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24770 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= NULL
;
24772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24774 wxPoint
*arg3
= 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 PyObject
* obj2
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "item",(char *) "pos", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24789 if (SWIG_arg_fail(2)) SWIG_fail
;
24793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24811 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= NULL
;
24813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_From_int(static_cast<int >(result
));
24839 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= NULL
;
24841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_From_int(static_cast<int >(result
));
24867 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= NULL
;
24869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 wxSize
* resultptr
;
24888 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
24889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24897 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
= NULL
;
24899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24901 bool arg3
= (bool) false ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 PyObject
* obj2
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24914 if (SWIG_arg_fail(2)) SWIG_fail
;
24918 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
24919 if (SWIG_arg_fail(3)) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->SetItemSpacing(arg2
,arg3
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24936 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
= NULL
;
24938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_From_int(static_cast<int >(result
));
24964 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= NULL
;
24966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24968 PyObject
* obj0
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24984 wxColour
* resultptr
;
24985 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
24986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24994 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= NULL
;
24996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24997 wxColour
*arg2
= 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "col", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25007 if (SWIG_arg_fail(1)) SWIG_fail
;
25010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25026 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
= NULL
;
25028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25030 PyObject
* obj0
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "self", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail
;
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_From_long(static_cast<long >(result
));
25054 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= NULL
;
25056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25058 bool arg3
= (bool) true ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "style",(char *) "add", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25071 if (SWIG_arg_fail(2)) SWIG_fail
;
25075 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
25076 if (SWIG_arg_fail(3)) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 (arg1
)->SetSingleStyle(arg2
,arg3
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 Py_INCREF(Py_None
); resultobj
= Py_None
;
25093 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= NULL
;
25095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "style", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25105 if (SWIG_arg_fail(1)) SWIG_fail
;
25107 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25108 if (SWIG_arg_fail(2)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 (arg1
)->SetWindowStyleFlag(arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 Py_INCREF(Py_None
); resultobj
= Py_None
;
25124 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= NULL
;
25126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25128 int arg3
= (int) wxLIST_NEXT_ALL
;
25129 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 PyObject
* obj2
= 0 ;
25134 PyObject
* obj3
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail
;
25143 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25144 if (SWIG_arg_fail(2)) SWIG_fail
;
25148 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25149 if (SWIG_arg_fail(3)) SWIG_fail
;
25154 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25155 if (SWIG_arg_fail(4)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_From_long(static_cast<long >(result
));
25174 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
= NULL
;
25176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25178 wxImageList
*result
;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self",(char *) "which", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25187 if (SWIG_arg_fail(1)) SWIG_fail
;
25189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25190 if (SWIG_arg_fail(2)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= wxPyMake_wxObject(result
, 0);
25208 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
= NULL
;
25210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25211 wxImageList
*arg2
= (wxImageList
*) 0 ;
25213 PyObject
* obj0
= 0 ;
25214 PyObject
* obj1
= 0 ;
25215 PyObject
* obj2
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "imageList",(char *) "which", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25222 if (SWIG_arg_fail(1)) SWIG_fail
;
25223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25224 if (SWIG_arg_fail(2)) SWIG_fail
;
25226 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25227 if (SWIG_arg_fail(3)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 (arg1
)->SetImageList(arg2
,arg3
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 Py_INCREF(Py_None
); resultobj
= Py_None
;
25243 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
= NULL
;
25245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25246 wxImageList
*arg2
= (wxImageList
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 PyObject
* obj2
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "imageList",(char *) "which", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25257 if (SWIG_arg_fail(1)) SWIG_fail
;
25258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25259 if (SWIG_arg_fail(2)) SWIG_fail
;
25261 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25262 if (SWIG_arg_fail(3)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->AssignImageList(arg2
,arg3
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
= NULL
;
25280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25289 if (SWIG_arg_fail(1)) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25306 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
= NULL
;
25308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25334 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= NULL
;
25336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "item", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail
;
25348 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25349 if (SWIG_arg_fail(2)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->RefreshItem(arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= NULL
;
25367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 PyObject
* obj2
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail
;
25381 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25382 if (SWIG_arg_fail(2)) SWIG_fail
;
25385 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25386 if (SWIG_arg_fail(3)) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 (arg1
)->RefreshItems(arg2
,arg3
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 Py_INCREF(Py_None
); resultobj
= Py_None
;
25402 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= NULL
;
25404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25405 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "flag", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25419 if (SWIG_arg_fail(2)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (bool)(arg1
)->Arrange(arg2
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25438 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
= NULL
;
25440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "item", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25453 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25454 if (SWIG_arg_fail(2)) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= (bool)(arg1
)->DeleteItem(arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25472 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
= NULL
;
25474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25476 PyObject
* obj0
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25483 if (SWIG_arg_fail(1)) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= (bool)(arg1
)->DeleteAllItems();
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25500 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
= NULL
;
25502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "col", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25516 if (SWIG_arg_fail(2)) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25534 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
= NULL
;
25536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (bool)(arg1
)->DeleteAllColumns();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25562 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= NULL
;
25564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 char *kwnames
[] = {
25567 (char *) "self", NULL
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->ClearAll();
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25587 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
= NULL
;
25589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "item", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail
;
25601 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25602 if (SWIG_arg_fail(2)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->EditLabel(arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
= NULL
;
25620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "item", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail
;
25633 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25634 if (SWIG_arg_fail(2)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25652 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
= NULL
;
25654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25656 wxString
*arg3
= 0 ;
25657 bool arg4
= (bool) false ;
25659 bool temp3
= false ;
25660 PyObject
* obj0
= 0 ;
25661 PyObject
* obj1
= 0 ;
25662 PyObject
* obj2
= 0 ;
25663 PyObject
* obj3
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25670 if (SWIG_arg_fail(1)) SWIG_fail
;
25672 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25673 if (SWIG_arg_fail(2)) SWIG_fail
;
25676 arg3
= wxString_in_helper(obj2
);
25677 if (arg3
== NULL
) SWIG_fail
;
25682 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
25683 if (SWIG_arg_fail(4)) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_From_long(static_cast<long >(result
));
25710 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
= NULL
;
25712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "start",(char *) "data", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail
;
25727 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25728 if (SWIG_arg_fail(2)) SWIG_fail
;
25731 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25732 if (SWIG_arg_fail(3)) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_From_long(static_cast<long >(result
));
25750 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
= NULL
;
25752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25754 wxPoint
*arg3
= 0 ;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 PyObject
* obj2
= 0 ;
25761 PyObject
* obj3
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25768 if (SWIG_arg_fail(1)) SWIG_fail
;
25770 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25771 if (SWIG_arg_fail(2)) SWIG_fail
;
25775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25778 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25779 if (SWIG_arg_fail(4)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= SWIG_From_long(static_cast<long >(result
));
25797 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= NULL
;
25799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25800 wxPoint
*arg2
= 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "point", NULL
25812 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25815 if (SWIG_arg_fail(1)) SWIG_fail
;
25818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_From_long(static_cast<long >(result
));
25830 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25831 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25838 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
= NULL
;
25840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25841 wxListItem
*arg2
= 0 ;
25843 PyObject
* obj0
= 0 ;
25844 PyObject
* obj1
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "info", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25851 if (SWIG_arg_fail(1)) SWIG_fail
;
25853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25854 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 if (arg2
== NULL
) {
25856 SWIG_null_ref("wxListItem");
25858 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (long)(arg1
)->InsertItem(*arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_From_long(static_cast<long >(result
));
25876 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= NULL
;
25878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25880 wxString
*arg3
= 0 ;
25881 int arg4
= (int) -1 ;
25883 bool temp3
= false ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 PyObject
* obj3
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25896 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25897 if (SWIG_arg_fail(2)) SWIG_fail
;
25900 arg3
= wxString_in_helper(obj2
);
25901 if (arg3
== NULL
) SWIG_fail
;
25906 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25907 if (SWIG_arg_fail(4)) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_From_long(static_cast<long >(result
));
25934 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= NULL
;
25936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 PyObject
* obj2
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25952 if (SWIG_arg_fail(2)) SWIG_fail
;
25955 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25956 if (SWIG_arg_fail(3)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_From_long(static_cast<long >(result
));
25974 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
= NULL
;
25976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25978 wxString
*arg3
= 0 ;
25981 bool temp3
= false ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 PyObject
* obj2
= 0 ;
25985 PyObject
* obj3
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25994 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25995 if (SWIG_arg_fail(2)) SWIG_fail
;
25998 arg3
= wxString_in_helper(obj2
);
25999 if (arg3
== NULL
) SWIG_fail
;
26003 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26004 if (SWIG_arg_fail(4)) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_From_long(static_cast<long >(result
));
26030 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
= NULL
;
26032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26034 wxListItem
*arg3
= 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 PyObject
* obj2
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "col",(char *) "info", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail
;
26047 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26048 if (SWIG_arg_fail(2)) SWIG_fail
;
26051 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(3)) SWIG_fail
;
26053 if (arg3
== NULL
) {
26054 SWIG_null_ref("wxListItem");
26056 if (SWIG_arg_fail(3)) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26066 resultobj
= SWIG_From_long(static_cast<long >(result
));
26074 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
= NULL
;
26076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26078 wxString
*arg3
= 0 ;
26079 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26080 int arg5
= (int) -1 ;
26082 bool temp3
= false ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 PyObject
* obj3
= 0 ;
26087 PyObject
* obj4
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26094 if (SWIG_arg_fail(1)) SWIG_fail
;
26096 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26097 if (SWIG_arg_fail(2)) SWIG_fail
;
26100 arg3
= wxString_in_helper(obj2
);
26101 if (arg3
== NULL
) SWIG_fail
;
26106 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26107 if (SWIG_arg_fail(4)) SWIG_fail
;
26112 arg5
= static_cast<int >(SWIG_As_int(obj4
));
26113 if (SWIG_arg_fail(5)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_From_long(static_cast<long >(result
));
26140 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
= NULL
;
26142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char *kwnames
[] = {
26147 (char *) "self",(char *) "count", NULL
26150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26152 if (SWIG_arg_fail(1)) SWIG_fail
;
26154 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26155 if (SWIG_arg_fail(2)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 (arg1
)->SetItemCount(arg2
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
= NULL
;
26173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 PyObject
* obj2
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "dx",(char *) "dy", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail
;
26188 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26189 if (SWIG_arg_fail(2)) SWIG_fail
;
26192 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26193 if (SWIG_arg_fail(3)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26211 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
= NULL
;
26213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26215 wxColour
*arg3
= 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 PyObject
* obj2
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "item",(char *) "col", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail
;
26228 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26229 if (SWIG_arg_fail(2)) SWIG_fail
;
26233 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
= NULL
;
26251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "item", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26265 if (SWIG_arg_fail(2)) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26275 wxColour
* resultptr
;
26276 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26285 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
= NULL
;
26287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26289 wxColour
*arg3
= 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 PyObject
* obj2
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self",(char *) "item",(char *) "col", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26300 if (SWIG_arg_fail(1)) SWIG_fail
;
26302 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26303 if (SWIG_arg_fail(2)) SWIG_fail
;
26307 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26316 Py_INCREF(Py_None
); resultobj
= Py_None
;
26323 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26324 PyObject
*resultobj
= NULL
;
26325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char *kwnames
[] = {
26331 (char *) "self",(char *) "item", NULL
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26336 if (SWIG_arg_fail(1)) SWIG_fail
;
26338 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26339 if (SWIG_arg_fail(2)) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 wxColour
* resultptr
;
26350 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26359 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
= NULL
;
26361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 PyObject
* obj2
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self",(char *) "item",(char *) "f", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail
;
26375 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26376 if (SWIG_arg_fail(2)) SWIG_fail
;
26379 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
26380 if (SWIG_arg_fail(3)) SWIG_fail
;
26381 if (arg3
== NULL
) {
26382 SWIG_null_ref("wxFont");
26384 if (SWIG_arg_fail(3)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 Py_INCREF(Py_None
); resultobj
= Py_None
;
26400 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= NULL
;
26402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "item", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26416 if (SWIG_arg_fail(2)) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 wxFont
* resultptr
;
26427 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
26428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26436 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
= NULL
;
26438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26439 PyObject
*arg2
= (PyObject
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "func", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26467 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
= NULL
;
26469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= wxPyMake_wxObject(result
, 0);
26495 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
= NULL
;
26497 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26498 wxVisualAttributes result
;
26499 PyObject
* obj0
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "variant", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26507 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26512 if (!wxPyCheckForApp()) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 wxVisualAttributes
* resultptr
;
26521 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
26522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26530 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26533 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26535 return Py_BuildValue((char *)"");
26537 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
= NULL
;
26539 wxWindow
*arg1
= (wxWindow
*) 0 ;
26540 int arg2
= (int) -1 ;
26541 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26542 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26543 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26544 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26545 long arg5
= (long) wxLC_REPORT
;
26546 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26547 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26548 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26550 wxListView
*result
;
26553 bool temp7
= false ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 PyObject
* obj2
= 0 ;
26557 PyObject
* obj3
= 0 ;
26558 PyObject
* obj4
= 0 ;
26559 PyObject
* obj5
= 0 ;
26560 PyObject
* obj6
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail
;
26570 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26571 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26583 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26588 arg5
= static_cast<long >(SWIG_As_long(obj4
));
26589 if (SWIG_arg_fail(5)) SWIG_fail
;
26594 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26595 if (SWIG_arg_fail(6)) SWIG_fail
;
26596 if (arg6
== NULL
) {
26597 SWIG_null_ref("wxValidator");
26599 if (SWIG_arg_fail(6)) SWIG_fail
;
26604 arg7
= wxString_in_helper(obj6
);
26605 if (arg7
== NULL
) SWIG_fail
;
26610 if (!wxPyCheckForApp()) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26632 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= NULL
;
26634 wxListView
*result
;
26635 char *kwnames
[] = {
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26641 if (!wxPyCheckForApp()) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (wxListView
*)new wxListView();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26655 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
= NULL
;
26657 wxListView
*arg1
= (wxListView
*) 0 ;
26658 wxWindow
*arg2
= (wxWindow
*) 0 ;
26659 int arg3
= (int) -1 ;
26660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26664 long arg6
= (long) wxLC_REPORT
;
26665 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26666 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26667 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26668 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26672 bool temp8
= false ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 PyObject
* obj3
= 0 ;
26677 PyObject
* obj4
= 0 ;
26678 PyObject
* obj5
= 0 ;
26679 PyObject
* obj6
= 0 ;
26680 PyObject
* obj7
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26687 if (SWIG_arg_fail(1)) SWIG_fail
;
26688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(2)) SWIG_fail
;
26692 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26693 if (SWIG_arg_fail(3)) SWIG_fail
;
26699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26710 arg6
= static_cast<long >(SWIG_As_long(obj5
));
26711 if (SWIG_arg_fail(6)) SWIG_fail
;
26716 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(7)) SWIG_fail
;
26718 if (arg7
== NULL
) {
26719 SWIG_null_ref("wxValidator");
26721 if (SWIG_arg_fail(7)) SWIG_fail
;
26726 arg8
= wxString_in_helper(obj7
);
26727 if (arg8
== NULL
) SWIG_fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= NULL
;
26757 wxListView
*arg1
= (wxListView
*) 0 ;
26759 bool arg3
= (bool) true ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "n",(char *) "on", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail
;
26771 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26772 if (SWIG_arg_fail(2)) SWIG_fail
;
26776 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26777 if (SWIG_arg_fail(3)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 (arg1
)->Select(arg2
,arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 Py_INCREF(Py_None
); resultobj
= Py_None
;
26794 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
= NULL
;
26796 wxListView
*arg1
= (wxListView
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "index", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail
;
26808 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26809 if (SWIG_arg_fail(2)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 (arg1
)->Focus(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 Py_INCREF(Py_None
); resultobj
= Py_None
;
26825 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
= NULL
;
26827 wxListView
*arg1
= (wxListView
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail
;
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_From_long(static_cast<long >(result
));
26853 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= NULL
;
26855 wxListView
*arg1
= (wxListView
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "item", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail
;
26868 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26869 if (SWIG_arg_fail(2)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_From_long(static_cast<long >(result
));
26887 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
= NULL
;
26889 wxListView
*arg1
= (wxListView
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_From_long(static_cast<long >(result
));
26915 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
= NULL
;
26917 wxListView
*arg1
= (wxListView
*) 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "index", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26931 if (SWIG_arg_fail(2)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)(arg1
)->IsSelected(arg2
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26949 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
= NULL
;
26951 wxListView
*arg1
= (wxListView
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 PyObject
* obj2
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self",(char *) "col",(char *) "image", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail
;
26965 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26966 if (SWIG_arg_fail(2)) SWIG_fail
;
26969 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26970 if (SWIG_arg_fail(3)) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->SetColumnImage(arg2
,arg3
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 Py_INCREF(Py_None
); resultobj
= Py_None
;
26986 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
= NULL
;
26988 wxListView
*arg1
= (wxListView
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "col", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27000 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27001 if (SWIG_arg_fail(2)) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->ClearColumnImage(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 Py_INCREF(Py_None
); resultobj
= Py_None
;
27017 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27020 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27022 return Py_BuildValue((char *)"");
27024 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27025 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27030 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27031 PyObject
*pyobj
= NULL
;
27035 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27037 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27044 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
= NULL
;
27046 wxTreeItemId
*result
;
27047 char *kwnames
[] = {
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (wxTreeItemId
*)new wxTreeItemId();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27066 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
= NULL
;
27068 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 char *kwnames
[] = {
27071 (char *) "self", NULL
27074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27076 if (SWIG_arg_fail(1)) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 Py_INCREF(Py_None
); resultobj
= Py_None
;
27091 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
= NULL
;
27093 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27119 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
= NULL
;
27121 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27122 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self",(char *) "other", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(2)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27151 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
= NULL
;
27153 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27154 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "other", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27164 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(2)) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27183 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= NULL
;
27185 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27186 void *arg2
= (void *) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "m_pItem", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27195 if (SWIG_arg_fail(1)) SWIG_fail
;
27197 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27198 SWIG_arg_fail(2);SWIG_fail
;
27201 if (arg1
) (arg1
)->m_pItem
= arg2
;
27203 Py_INCREF(Py_None
); resultobj
= Py_None
;
27210 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27211 PyObject
*resultobj
= NULL
;
27212 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27222 result
= (void *) ((arg1
)->m_pItem
);
27224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27231 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27236 return Py_BuildValue((char *)"");
27238 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
= NULL
;
27240 PyObject
*arg1
= (PyObject
*) NULL
;
27241 wxPyTreeItemData
*result
;
27242 PyObject
* obj0
= 0 ;
27243 char *kwnames
[] = {
27244 (char *) "obj", NULL
27247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27265 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
= NULL
;
27267 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (PyObject
*)(arg1
)->GetData();
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= result
;
27291 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
= NULL
;
27293 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27294 PyObject
*arg2
= (PyObject
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "obj", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 (arg1
)->SetData(arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 Py_INCREF(Py_None
); resultobj
= Py_None
;
27319 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
= NULL
;
27321 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27322 wxTreeItemId
*result
;
27323 PyObject
* obj0
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27335 result
= (wxTreeItemId
*) &_result_ref
;
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27348 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
= NULL
;
27350 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27351 wxTreeItemId
*arg2
= 0 ;
27352 PyObject
* obj0
= 0 ;
27353 PyObject
* obj1
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "id", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27363 if (SWIG_arg_fail(2)) SWIG_fail
;
27364 if (arg2
== NULL
) {
27365 SWIG_null_ref("wxTreeItemId");
27367 if (SWIG_arg_fail(2)) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
= NULL
;
27385 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 wxPyTreeItemData_Destroy(arg1
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 Py_INCREF(Py_None
); resultobj
= Py_None
;
27408 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27411 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27413 return Py_BuildValue((char *)"");
27415 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
= NULL
;
27417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27418 int arg2
= (int) 0 ;
27419 wxTreeEvent
*result
;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "commandType",(char *) "id", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27429 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
27430 if (SWIG_arg_fail(1)) SWIG_fail
;
27435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27436 if (SWIG_arg_fail(2)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27453 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
= NULL
;
27455 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27456 wxTreeItemId result
;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 wxTreeItemId
* resultptr
;
27474 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
27475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27483 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
= NULL
;
27485 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27486 wxTreeItemId
*arg2
= 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "item", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27495 if (SWIG_arg_fail(1)) SWIG_fail
;
27497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27498 if (SWIG_arg_fail(2)) SWIG_fail
;
27499 if (arg2
== NULL
) {
27500 SWIG_null_ref("wxTreeItemId");
27502 if (SWIG_arg_fail(2)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= NULL
;
27520 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27521 wxTreeItemId result
;
27522 PyObject
* obj0
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27538 wxTreeItemId
* resultptr
;
27539 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
27540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27548 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= NULL
;
27550 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27551 wxTreeItemId
*arg2
= 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "item", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27563 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 if (arg2
== NULL
) {
27565 SWIG_null_ref("wxTreeItemId");
27567 if (SWIG_arg_fail(2)) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 Py_INCREF(Py_None
); resultobj
= Py_None
;
27583 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
= NULL
;
27585 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 wxPoint
* resultptr
;
27604 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
27605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27613 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
= NULL
;
27615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27616 wxPoint
*arg2
= 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "pt", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail
;
27629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
= NULL
;
27647 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27648 wxKeyEvent
*result
;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27656 if (SWIG_arg_fail(1)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27661 result
= (wxKeyEvent
*) &_result_ref
;
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27674 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
= NULL
;
27676 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_From_int(static_cast<int >(result
));
27702 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
= NULL
;
27704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27705 wxKeyEvent
*arg2
= 0 ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "evt", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27714 if (SWIG_arg_fail(1)) SWIG_fail
;
27716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27717 if (SWIG_arg_fail(2)) SWIG_fail
;
27718 if (arg2
== NULL
) {
27719 SWIG_null_ref("wxKeyEvent");
27721 if (SWIG_arg_fail(2)) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27737 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
= NULL
;
27739 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27741 PyObject
* obj0
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27748 if (SWIG_arg_fail(1)) SWIG_fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27753 result
= (wxString
*) &_result_ref
;
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27763 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27772 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
= NULL
;
27774 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27775 wxString
*arg2
= 0 ;
27776 bool temp2
= false ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "label", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27787 arg2
= wxString_in_helper(obj1
);
27788 if (arg2
== NULL
) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->SetLabel((wxString
const &)*arg2
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= NULL
;
27815 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27841 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
= NULL
;
27843 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "editCancelled", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27856 if (SWIG_arg_fail(2)) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->SetEditCanceled(arg2
);
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 Py_INCREF(Py_None
); resultobj
= Py_None
;
27872 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
= NULL
;
27874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27875 wxString
*arg2
= 0 ;
27876 bool temp2
= false ;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self",(char *) "toolTip", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27885 if (SWIG_arg_fail(1)) SWIG_fail
;
27887 arg2
= wxString_in_helper(obj1
);
27888 if (arg2
== NULL
) SWIG_fail
;
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
= NULL
;
27915 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (arg1
)->GetToolTip();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27945 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27948 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27950 return Py_BuildValue((char *)"");
27952 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
= NULL
;
27954 wxWindow
*arg1
= (wxWindow
*) 0 ;
27955 int arg2
= (int) -1 ;
27956 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27957 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27958 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27959 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27960 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27961 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27962 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27963 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27965 wxPyTreeCtrl
*result
;
27968 bool temp7
= false ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 PyObject
* obj2
= 0 ;
27972 PyObject
* obj3
= 0 ;
27973 PyObject
* obj4
= 0 ;
27974 PyObject
* obj5
= 0 ;
27975 PyObject
* obj6
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(1)) SWIG_fail
;
27985 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27986 if (SWIG_arg_fail(2)) SWIG_fail
;
27992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27998 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28003 arg5
= static_cast<long >(SWIG_As_long(obj4
));
28004 if (SWIG_arg_fail(5)) SWIG_fail
;
28009 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28010 if (SWIG_arg_fail(6)) SWIG_fail
;
28011 if (arg6
== NULL
) {
28012 SWIG_null_ref("wxValidator");
28014 if (SWIG_arg_fail(6)) SWIG_fail
;
28019 arg7
= wxString_in_helper(obj6
);
28020 if (arg7
== NULL
) SWIG_fail
;
28025 if (!wxPyCheckForApp()) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28047 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
= NULL
;
28049 wxPyTreeCtrl
*result
;
28050 char *kwnames
[] = {
28054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28056 if (!wxPyCheckForApp()) SWIG_fail
;
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28070 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
= NULL
;
28072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28073 wxWindow
*arg2
= (wxWindow
*) 0 ;
28074 int arg3
= (int) -1 ;
28075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28079 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28082 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28087 bool temp8
= false ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 PyObject
* obj2
= 0 ;
28091 PyObject
* obj3
= 0 ;
28092 PyObject
* obj4
= 0 ;
28093 PyObject
* obj5
= 0 ;
28094 PyObject
* obj6
= 0 ;
28095 PyObject
* obj7
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail
;
28103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28104 if (SWIG_arg_fail(2)) SWIG_fail
;
28107 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28108 if (SWIG_arg_fail(3)) SWIG_fail
;
28114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28125 arg6
= static_cast<long >(SWIG_As_long(obj5
));
28126 if (SWIG_arg_fail(6)) SWIG_fail
;
28131 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28132 if (SWIG_arg_fail(7)) SWIG_fail
;
28133 if (arg7
== NULL
) {
28134 SWIG_null_ref("wxValidator");
28136 if (SWIG_arg_fail(7)) SWIG_fail
;
28141 arg8
= wxString_in_helper(obj7
);
28142 if (arg8
== NULL
) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28170 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
= NULL
;
28172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28173 PyObject
*arg2
= (PyObject
*) 0 ;
28174 PyObject
*arg3
= (PyObject
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 PyObject
* obj2
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self",(char *) "self",(char *) "_class", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28184 if (SWIG_arg_fail(1)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 Py_INCREF(Py_None
); resultobj
= Py_None
;
28201 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= NULL
;
28203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28212 if (SWIG_arg_fail(1)) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28229 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
= NULL
;
28231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28232 unsigned int result
;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28240 if (SWIG_arg_fail(1)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
28257 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= NULL
;
28259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28260 unsigned int arg2
;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self",(char *) "indent", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
28272 if (SWIG_arg_fail(2)) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->SetIndent(arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
= NULL
;
28290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28291 unsigned int result
;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
28316 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= NULL
;
28318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28319 unsigned int arg2
;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 char *kwnames
[] = {
28323 (char *) "self",(char *) "spacing", NULL
28326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28328 if (SWIG_arg_fail(1)) SWIG_fail
;
28330 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
28331 if (SWIG_arg_fail(2)) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->SetSpacing(arg2
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
= NULL
;
28349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28350 wxImageList
*result
;
28351 PyObject
* obj0
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= wxPyMake_wxObject(result
, 0);
28375 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
= NULL
;
28377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28378 wxImageList
*result
;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28386 if (SWIG_arg_fail(1)) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= wxPyMake_wxObject(result
, 0);
28403 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
= NULL
;
28405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28406 wxImageList
*arg2
= (wxImageList
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self",(char *) "imageList", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28415 if (SWIG_arg_fail(1)) SWIG_fail
;
28416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28417 if (SWIG_arg_fail(2)) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 (arg1
)->SetImageList(arg2
);
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28425 Py_INCREF(Py_None
); resultobj
= Py_None
;
28432 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
= NULL
;
28434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28435 wxImageList
*arg2
= (wxImageList
*) 0 ;
28436 PyObject
* obj0
= 0 ;
28437 PyObject
* obj1
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self",(char *) "imageList", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28444 if (SWIG_arg_fail(1)) SWIG_fail
;
28445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28446 if (SWIG_arg_fail(2)) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 (arg1
)->SetStateImageList(arg2
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 Py_INCREF(Py_None
); resultobj
= Py_None
;
28461 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= NULL
;
28463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28464 wxImageList
*arg2
= (wxImageList
*) 0 ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 char *kwnames
[] = {
28468 (char *) "self",(char *) "imageList", NULL
28471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28473 if (SWIG_arg_fail(1)) SWIG_fail
;
28474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28475 if (SWIG_arg_fail(2)) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 (arg1
)->AssignImageList(arg2
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 Py_INCREF(Py_None
); resultobj
= Py_None
;
28490 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
= NULL
;
28492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28493 wxImageList
*arg2
= (wxImageList
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self",(char *) "imageList", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28502 if (SWIG_arg_fail(1)) SWIG_fail
;
28503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28504 if (SWIG_arg_fail(2)) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 (arg1
)->AssignStateImageList(arg2
);
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 Py_INCREF(Py_None
); resultobj
= Py_None
;
28519 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
= NULL
;
28521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28522 wxTreeItemId
*arg2
= 0 ;
28524 PyObject
* obj0
= 0 ;
28525 PyObject
* obj1
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "self",(char *) "item", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28532 if (SWIG_arg_fail(1)) SWIG_fail
;
28534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail
;
28536 if (arg2
== NULL
) {
28537 SWIG_null_ref("wxTreeItemId");
28539 if (SWIG_arg_fail(2)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28561 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
= NULL
;
28563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28564 wxTreeItemId
*arg2
= 0 ;
28565 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 PyObject
* obj2
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "item",(char *) "which", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail
;
28578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28579 if (SWIG_arg_fail(2)) SWIG_fail
;
28580 if (arg2
== NULL
) {
28581 SWIG_null_ref("wxTreeItemId");
28583 if (SWIG_arg_fail(2)) SWIG_fail
;
28587 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
28588 if (SWIG_arg_fail(3)) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_From_int(static_cast<int >(result
));
28607 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
= NULL
;
28609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28610 wxTreeItemId
*arg2
= 0 ;
28611 wxPyTreeItemData
*result
;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "item", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(2)) SWIG_fail
;
28624 if (arg2
== NULL
) {
28625 SWIG_null_ref("wxTreeItemId");
28627 if (SWIG_arg_fail(2)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28643 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
= NULL
;
28645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28646 wxTreeItemId
*arg2
= 0 ;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self",(char *) "item", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(2)) SWIG_fail
;
28660 if (arg2
== NULL
) {
28661 SWIG_null_ref("wxTreeItemId");
28663 if (SWIG_arg_fail(2)) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= result
;
28679 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= NULL
;
28681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28682 wxTreeItemId
*arg2
= 0 ;
28684 PyObject
* obj0
= 0 ;
28685 PyObject
* obj1
= 0 ;
28686 char *kwnames
[] = {
28687 (char *) "self",(char *) "item", NULL
28690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28692 if (SWIG_arg_fail(1)) SWIG_fail
;
28694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28695 if (SWIG_arg_fail(2)) SWIG_fail
;
28696 if (arg2
== NULL
) {
28697 SWIG_null_ref("wxTreeItemId");
28699 if (SWIG_arg_fail(2)) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 wxColour
* resultptr
;
28710 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
28711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28719 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
= NULL
;
28721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28722 wxTreeItemId
*arg2
= 0 ;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self",(char *) "item", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail
;
28734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail
;
28736 if (arg2
== NULL
) {
28737 SWIG_null_ref("wxTreeItemId");
28739 if (SWIG_arg_fail(2)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28749 wxColour
* resultptr
;
28750 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
28751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28759 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
= NULL
;
28761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28762 wxTreeItemId
*arg2
= 0 ;
28764 PyObject
* obj0
= 0 ;
28765 PyObject
* obj1
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self",(char *) "item", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28772 if (SWIG_arg_fail(1)) SWIG_fail
;
28774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(2)) SWIG_fail
;
28776 if (arg2
== NULL
) {
28777 SWIG_null_ref("wxTreeItemId");
28779 if (SWIG_arg_fail(2)) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28789 wxFont
* resultptr
;
28790 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
28791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28799 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
= NULL
;
28801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28802 wxTreeItemId
*arg2
= 0 ;
28803 wxString
*arg3
= 0 ;
28804 bool temp3
= false ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 PyObject
* obj2
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "item",(char *) "text", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28817 if (SWIG_arg_fail(2)) SWIG_fail
;
28818 if (arg2
== NULL
) {
28819 SWIG_null_ref("wxTreeItemId");
28821 if (SWIG_arg_fail(2)) SWIG_fail
;
28824 arg3
= wxString_in_helper(obj2
);
28825 if (arg3
== NULL
) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 Py_INCREF(Py_None
); resultobj
= Py_None
;
28850 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= NULL
;
28852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28853 wxTreeItemId
*arg2
= 0 ;
28855 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 PyObject
* obj3
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28866 if (SWIG_arg_fail(1)) SWIG_fail
;
28868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28869 if (SWIG_arg_fail(2)) SWIG_fail
;
28870 if (arg2
== NULL
) {
28871 SWIG_null_ref("wxTreeItemId");
28873 if (SWIG_arg_fail(2)) SWIG_fail
;
28876 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28877 if (SWIG_arg_fail(3)) SWIG_fail
;
28881 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
28882 if (SWIG_arg_fail(4)) SWIG_fail
;
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 Py_INCREF(Py_None
); resultobj
= Py_None
;
28899 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
= NULL
;
28901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28902 wxTreeItemId
*arg2
= 0 ;
28903 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 PyObject
* obj2
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self",(char *) "item",(char *) "data", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28913 if (SWIG_arg_fail(1)) SWIG_fail
;
28915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28916 if (SWIG_arg_fail(2)) SWIG_fail
;
28917 if (arg2
== NULL
) {
28918 SWIG_null_ref("wxTreeItemId");
28920 if (SWIG_arg_fail(2)) SWIG_fail
;
28922 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(3)) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 Py_INCREF(Py_None
); resultobj
= Py_None
;
28938 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
= NULL
;
28940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28941 wxTreeItemId
*arg2
= 0 ;
28942 PyObject
*arg3
= (PyObject
*) 0 ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 PyObject
* obj2
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self",(char *) "item",(char *) "obj", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28952 if (SWIG_arg_fail(1)) SWIG_fail
;
28954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28955 if (SWIG_arg_fail(2)) SWIG_fail
;
28956 if (arg2
== NULL
) {
28957 SWIG_null_ref("wxTreeItemId");
28959 if (SWIG_arg_fail(2)) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 Py_INCREF(Py_None
); resultobj
= Py_None
;
28976 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
= NULL
;
28978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28979 wxTreeItemId
*arg2
= 0 ;
28980 bool arg3
= (bool) true ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "item",(char *) "has", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail
;
28992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28993 if (SWIG_arg_fail(2)) SWIG_fail
;
28994 if (arg2
== NULL
) {
28995 SWIG_null_ref("wxTreeItemId");
28997 if (SWIG_arg_fail(2)) SWIG_fail
;
29001 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29002 if (SWIG_arg_fail(3)) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 Py_INCREF(Py_None
); resultobj
= Py_None
;
29019 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
= NULL
;
29021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29022 wxTreeItemId
*arg2
= 0 ;
29023 bool arg3
= (bool) true ;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 PyObject
* obj2
= 0 ;
29027 char *kwnames
[] = {
29028 (char *) "self",(char *) "item",(char *) "bold", NULL
29031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29033 if (SWIG_arg_fail(1)) SWIG_fail
;
29035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29036 if (SWIG_arg_fail(2)) SWIG_fail
;
29037 if (arg2
== NULL
) {
29038 SWIG_null_ref("wxTreeItemId");
29040 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29045 if (SWIG_arg_fail(3)) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 Py_INCREF(Py_None
); resultobj
= Py_None
;
29062 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
= NULL
;
29064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29065 wxTreeItemId
*arg2
= 0 ;
29066 bool arg3
= (bool) true ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 PyObject
* obj2
= 0 ;
29070 char *kwnames
[] = {
29071 (char *) "self",(char *) "item",(char *) "highlight", NULL
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29076 if (SWIG_arg_fail(1)) SWIG_fail
;
29078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29079 if (SWIG_arg_fail(2)) SWIG_fail
;
29080 if (arg2
== NULL
) {
29081 SWIG_null_ref("wxTreeItemId");
29083 if (SWIG_arg_fail(2)) SWIG_fail
;
29087 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29088 if (SWIG_arg_fail(3)) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 Py_INCREF(Py_None
); resultobj
= Py_None
;
29105 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
= NULL
;
29107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29108 wxTreeItemId
*arg2
= 0 ;
29109 wxColour
*arg3
= 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 PyObject
* obj2
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self",(char *) "item",(char *) "col", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail
;
29122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29123 if (SWIG_arg_fail(2)) SWIG_fail
;
29124 if (arg2
== NULL
) {
29125 SWIG_null_ref("wxTreeItemId");
29127 if (SWIG_arg_fail(2)) SWIG_fail
;
29131 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 Py_INCREF(Py_None
); resultobj
= Py_None
;
29147 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
= NULL
;
29149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29150 wxTreeItemId
*arg2
= 0 ;
29151 wxColour
*arg3
= 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 PyObject
* obj2
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self",(char *) "item",(char *) "col", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail
;
29164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29165 if (SWIG_arg_fail(2)) SWIG_fail
;
29166 if (arg2
== NULL
) {
29167 SWIG_null_ref("wxTreeItemId");
29169 if (SWIG_arg_fail(2)) SWIG_fail
;
29173 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 Py_INCREF(Py_None
); resultobj
= Py_None
;
29189 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= NULL
;
29191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29192 wxTreeItemId
*arg2
= 0 ;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 PyObject
* obj2
= 0 ;
29197 char *kwnames
[] = {
29198 (char *) "self",(char *) "item",(char *) "font", NULL
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail
;
29205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29206 if (SWIG_arg_fail(2)) SWIG_fail
;
29207 if (arg2
== NULL
) {
29208 SWIG_null_ref("wxTreeItemId");
29210 if (SWIG_arg_fail(2)) SWIG_fail
;
29213 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29214 if (SWIG_arg_fail(3)) SWIG_fail
;
29215 if (arg3
== NULL
) {
29216 SWIG_null_ref("wxFont");
29218 if (SWIG_arg_fail(3)) SWIG_fail
;
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29227 Py_INCREF(Py_None
); resultobj
= Py_None
;
29234 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
= NULL
;
29236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29237 wxTreeItemId
*arg2
= 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self",(char *) "item", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29247 if (SWIG_arg_fail(1)) SWIG_fail
;
29249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29250 if (SWIG_arg_fail(2)) SWIG_fail
;
29251 if (arg2
== NULL
) {
29252 SWIG_null_ref("wxTreeItemId");
29254 if (SWIG_arg_fail(2)) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29272 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
= NULL
;
29274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29275 wxTreeItemId
*arg2
= 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "item", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29285 if (SWIG_arg_fail(1)) SWIG_fail
;
29287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29288 if (SWIG_arg_fail(2)) SWIG_fail
;
29289 if (arg2
== NULL
) {
29290 SWIG_null_ref("wxTreeItemId");
29292 if (SWIG_arg_fail(2)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29310 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
= NULL
;
29312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29313 wxTreeItemId
*arg2
= 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self",(char *) "item", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail
;
29325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29326 if (SWIG_arg_fail(2)) SWIG_fail
;
29327 if (arg2
== NULL
) {
29328 SWIG_null_ref("wxTreeItemId");
29330 if (SWIG_arg_fail(2)) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29348 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
= NULL
;
29350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29351 wxTreeItemId
*arg2
= 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "item", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29364 if (SWIG_arg_fail(2)) SWIG_fail
;
29365 if (arg2
== NULL
) {
29366 SWIG_null_ref("wxTreeItemId");
29368 if (SWIG_arg_fail(2)) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
= NULL
;
29388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29389 wxTreeItemId
*arg2
= 0 ;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self",(char *) "item", NULL
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29399 if (SWIG_arg_fail(1)) SWIG_fail
;
29401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(2)) SWIG_fail
;
29403 if (arg2
== NULL
) {
29404 SWIG_null_ref("wxTreeItemId");
29406 if (SWIG_arg_fail(2)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
= NULL
;
29426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29427 wxTreeItemId
*arg2
= 0 ;
29428 bool arg3
= (bool) true ;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 PyObject
* obj2
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self",(char *) "item",(char *) "recursively", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29439 if (SWIG_arg_fail(1)) SWIG_fail
;
29441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29442 if (SWIG_arg_fail(2)) SWIG_fail
;
29443 if (arg2
== NULL
) {
29444 SWIG_null_ref("wxTreeItemId");
29446 if (SWIG_arg_fail(2)) SWIG_fail
;
29450 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29451 if (SWIG_arg_fail(3)) SWIG_fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29462 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29470 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
= NULL
;
29472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29473 wxTreeItemId result
;
29474 PyObject
* obj0
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29490 wxTreeItemId
* resultptr
;
29491 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29500 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= NULL
;
29502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29503 wxTreeItemId result
;
29504 PyObject
* obj0
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29511 if (SWIG_arg_fail(1)) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29520 wxTreeItemId
* resultptr
;
29521 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29530 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
= NULL
;
29532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29534 PyObject
* obj0
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= result
;
29556 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
= NULL
;
29558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29559 wxTreeItemId
*arg2
= 0 ;
29560 wxTreeItemId result
;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self",(char *) "item", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail
;
29571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29572 if (SWIG_arg_fail(2)) SWIG_fail
;
29573 if (arg2
== NULL
) {
29574 SWIG_null_ref("wxTreeItemId");
29576 if (SWIG_arg_fail(2)) SWIG_fail
;
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29586 wxTreeItemId
* resultptr
;
29587 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29596 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
= NULL
;
29598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29599 wxTreeItemId
*arg2
= 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "item", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29612 if (SWIG_arg_fail(2)) SWIG_fail
;
29613 if (arg2
== NULL
) {
29614 SWIG_null_ref("wxTreeItemId");
29616 if (SWIG_arg_fail(2)) SWIG_fail
;
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= result
;
29632 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
= NULL
;
29634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29635 wxTreeItemId
*arg2
= 0 ;
29636 void *arg3
= (void *) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self",(char *) "item",(char *) "cookie", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29647 if (SWIG_arg_fail(1)) SWIG_fail
;
29649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29650 if (SWIG_arg_fail(2)) SWIG_fail
;
29651 if (arg2
== NULL
) {
29652 SWIG_null_ref("wxTreeItemId");
29654 if (SWIG_arg_fail(2)) SWIG_fail
;
29657 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29658 SWIG_arg_fail(3);SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= result
;
29675 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= NULL
;
29677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29678 wxTreeItemId
*arg2
= 0 ;
29679 wxTreeItemId result
;
29680 PyObject
* obj0
= 0 ;
29681 PyObject
* obj1
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self",(char *) "item", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29688 if (SWIG_arg_fail(1)) SWIG_fail
;
29690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29691 if (SWIG_arg_fail(2)) SWIG_fail
;
29692 if (arg2
== NULL
) {
29693 SWIG_null_ref("wxTreeItemId");
29695 if (SWIG_arg_fail(2)) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 wxTreeItemId
* resultptr
;
29706 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29715 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
= NULL
;
29717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29718 wxTreeItemId
*arg2
= 0 ;
29719 wxTreeItemId result
;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self",(char *) "item", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29731 if (SWIG_arg_fail(2)) SWIG_fail
;
29732 if (arg2
== NULL
) {
29733 SWIG_null_ref("wxTreeItemId");
29735 if (SWIG_arg_fail(2)) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 wxTreeItemId
* resultptr
;
29746 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29755 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= NULL
;
29757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29758 wxTreeItemId
*arg2
= 0 ;
29759 wxTreeItemId result
;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self",(char *) "item", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29768 if (SWIG_arg_fail(1)) SWIG_fail
;
29770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29771 if (SWIG_arg_fail(2)) SWIG_fail
;
29772 if (arg2
== NULL
) {
29773 SWIG_null_ref("wxTreeItemId");
29775 if (SWIG_arg_fail(2)) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 wxTreeItemId
* resultptr
;
29786 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29795 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= NULL
;
29797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29798 wxTreeItemId result
;
29799 PyObject
* obj0
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29806 if (SWIG_arg_fail(1)) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29815 wxTreeItemId
* resultptr
;
29816 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29825 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
= NULL
;
29827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29828 wxTreeItemId
*arg2
= 0 ;
29829 wxTreeItemId result
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self",(char *) "item", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29838 if (SWIG_arg_fail(1)) SWIG_fail
;
29840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29841 if (SWIG_arg_fail(2)) SWIG_fail
;
29842 if (arg2
== NULL
) {
29843 SWIG_null_ref("wxTreeItemId");
29845 if (SWIG_arg_fail(2)) SWIG_fail
;
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29855 wxTreeItemId
* resultptr
;
29856 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29865 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= NULL
;
29867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29868 wxTreeItemId
*arg2
= 0 ;
29869 wxTreeItemId result
;
29870 PyObject
* obj0
= 0 ;
29871 PyObject
* obj1
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self",(char *) "item", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(1)) SWIG_fail
;
29880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29881 if (SWIG_arg_fail(2)) SWIG_fail
;
29882 if (arg2
== NULL
) {
29883 SWIG_null_ref("wxTreeItemId");
29885 if (SWIG_arg_fail(2)) SWIG_fail
;
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29891 wxPyEndAllowThreads(__tstate
);
29892 if (PyErr_Occurred()) SWIG_fail
;
29895 wxTreeItemId
* resultptr
;
29896 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29905 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29906 PyObject
*resultobj
= NULL
;
29907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29908 wxString
*arg2
= 0 ;
29909 int arg3
= (int) -1 ;
29910 int arg4
= (int) -1 ;
29911 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29912 wxTreeItemId result
;
29913 bool temp2
= false ;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 PyObject
* obj2
= 0 ;
29917 PyObject
* obj3
= 0 ;
29918 PyObject
* obj4
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail
;
29927 arg2
= wxString_in_helper(obj1
);
29928 if (arg2
== NULL
) SWIG_fail
;
29933 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29934 if (SWIG_arg_fail(3)) SWIG_fail
;
29939 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29940 if (SWIG_arg_fail(4)) SWIG_fail
;
29944 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29945 if (SWIG_arg_fail(5)) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 wxTreeItemId
* resultptr
;
29956 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29973 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
= NULL
;
29975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29976 wxTreeItemId
*arg2
= 0 ;
29977 wxString
*arg3
= 0 ;
29978 int arg4
= (int) -1 ;
29979 int arg5
= (int) -1 ;
29980 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29981 wxTreeItemId result
;
29982 bool temp3
= false ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 PyObject
* obj2
= 0 ;
29986 PyObject
* obj3
= 0 ;
29987 PyObject
* obj4
= 0 ;
29988 PyObject
* obj5
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29995 if (SWIG_arg_fail(1)) SWIG_fail
;
29997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29998 if (SWIG_arg_fail(2)) SWIG_fail
;
29999 if (arg2
== NULL
) {
30000 SWIG_null_ref("wxTreeItemId");
30002 if (SWIG_arg_fail(2)) SWIG_fail
;
30005 arg3
= wxString_in_helper(obj2
);
30006 if (arg3
== NULL
) SWIG_fail
;
30011 arg4
= static_cast<int >(SWIG_As_int(obj3
));
30012 if (SWIG_arg_fail(4)) SWIG_fail
;
30017 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30018 if (SWIG_arg_fail(5)) SWIG_fail
;
30022 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30023 if (SWIG_arg_fail(6)) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 wxTreeItemId
* resultptr
;
30034 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30051 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
= NULL
;
30053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30054 wxTreeItemId
*arg2
= 0 ;
30055 wxTreeItemId
*arg3
= 0 ;
30056 wxString
*arg4
= 0 ;
30057 int arg5
= (int) -1 ;
30058 int arg6
= (int) -1 ;
30059 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30060 wxTreeItemId result
;
30061 bool temp4
= false ;
30062 PyObject
* obj0
= 0 ;
30063 PyObject
* obj1
= 0 ;
30064 PyObject
* obj2
= 0 ;
30065 PyObject
* obj3
= 0 ;
30066 PyObject
* obj4
= 0 ;
30067 PyObject
* obj5
= 0 ;
30068 PyObject
* obj6
= 0 ;
30069 char *kwnames
[] = {
30070 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30075 if (SWIG_arg_fail(1)) SWIG_fail
;
30077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30078 if (SWIG_arg_fail(2)) SWIG_fail
;
30079 if (arg2
== NULL
) {
30080 SWIG_null_ref("wxTreeItemId");
30082 if (SWIG_arg_fail(2)) SWIG_fail
;
30085 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(3)) SWIG_fail
;
30087 if (arg3
== NULL
) {
30088 SWIG_null_ref("wxTreeItemId");
30090 if (SWIG_arg_fail(3)) SWIG_fail
;
30093 arg4
= wxString_in_helper(obj3
);
30094 if (arg4
== NULL
) SWIG_fail
;
30099 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30100 if (SWIG_arg_fail(5)) SWIG_fail
;
30105 arg6
= static_cast<int >(SWIG_As_int(obj5
));
30106 if (SWIG_arg_fail(6)) SWIG_fail
;
30110 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30111 if (SWIG_arg_fail(7)) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30121 wxTreeItemId
* resultptr
;
30122 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30139 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
= NULL
;
30141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30142 wxTreeItemId
*arg2
= 0 ;
30144 wxString
*arg4
= 0 ;
30145 int arg5
= (int) -1 ;
30146 int arg6
= (int) -1 ;
30147 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30148 wxTreeItemId result
;
30149 bool temp4
= false ;
30150 PyObject
* obj0
= 0 ;
30151 PyObject
* obj1
= 0 ;
30152 PyObject
* obj2
= 0 ;
30153 PyObject
* obj3
= 0 ;
30154 PyObject
* obj4
= 0 ;
30155 PyObject
* obj5
= 0 ;
30156 PyObject
* obj6
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30163 if (SWIG_arg_fail(1)) SWIG_fail
;
30165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(2)) SWIG_fail
;
30167 if (arg2
== NULL
) {
30168 SWIG_null_ref("wxTreeItemId");
30170 if (SWIG_arg_fail(2)) SWIG_fail
;
30173 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
30174 if (SWIG_arg_fail(3)) SWIG_fail
;
30177 arg4
= wxString_in_helper(obj3
);
30178 if (arg4
== NULL
) SWIG_fail
;
30183 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30184 if (SWIG_arg_fail(5)) SWIG_fail
;
30189 arg6
= static_cast<int >(SWIG_As_int(obj5
));
30190 if (SWIG_arg_fail(6)) SWIG_fail
;
30194 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30195 if (SWIG_arg_fail(7)) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30205 wxTreeItemId
* resultptr
;
30206 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30223 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
= NULL
;
30225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30226 wxTreeItemId
*arg2
= 0 ;
30227 wxString
*arg3
= 0 ;
30228 int arg4
= (int) -1 ;
30229 int arg5
= (int) -1 ;
30230 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30231 wxTreeItemId result
;
30232 bool temp3
= false ;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 PyObject
* obj2
= 0 ;
30236 PyObject
* obj3
= 0 ;
30237 PyObject
* obj4
= 0 ;
30238 PyObject
* obj5
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail
;
30247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30248 if (SWIG_arg_fail(2)) SWIG_fail
;
30249 if (arg2
== NULL
) {
30250 SWIG_null_ref("wxTreeItemId");
30252 if (SWIG_arg_fail(2)) SWIG_fail
;
30255 arg3
= wxString_in_helper(obj2
);
30256 if (arg3
== NULL
) SWIG_fail
;
30261 arg4
= static_cast<int >(SWIG_As_int(obj3
));
30262 if (SWIG_arg_fail(4)) SWIG_fail
;
30267 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30268 if (SWIG_arg_fail(5)) SWIG_fail
;
30272 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30273 if (SWIG_arg_fail(6)) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30283 wxTreeItemId
* resultptr
;
30284 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30301 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= NULL
;
30303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30304 wxTreeItemId
*arg2
= 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char *kwnames
[] = {
30308 (char *) "self",(char *) "item", NULL
30311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30313 if (SWIG_arg_fail(1)) SWIG_fail
;
30315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30316 if (SWIG_arg_fail(2)) SWIG_fail
;
30317 if (arg2
== NULL
) {
30318 SWIG_null_ref("wxTreeItemId");
30320 if (SWIG_arg_fail(2)) SWIG_fail
;
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 Py_INCREF(Py_None
); resultobj
= Py_None
;
30336 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
= NULL
;
30338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30339 wxTreeItemId
*arg2
= 0 ;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 char *kwnames
[] = {
30343 (char *) "self",(char *) "item", NULL
30346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30351 if (SWIG_arg_fail(2)) SWIG_fail
;
30352 if (arg2
== NULL
) {
30353 SWIG_null_ref("wxTreeItemId");
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 Py_INCREF(Py_None
); resultobj
= Py_None
;
30371 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
= NULL
;
30373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30374 PyObject
* obj0
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(1)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 (arg1
)->DeleteAllItems();
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30396 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
= NULL
;
30398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30399 wxTreeItemId
*arg2
= 0 ;
30400 PyObject
* obj0
= 0 ;
30401 PyObject
* obj1
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self",(char *) "item", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30408 if (SWIG_arg_fail(1)) SWIG_fail
;
30410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30411 if (SWIG_arg_fail(2)) SWIG_fail
;
30412 if (arg2
== NULL
) {
30413 SWIG_null_ref("wxTreeItemId");
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 Py_INCREF(Py_None
); resultobj
= Py_None
;
30431 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
= NULL
;
30433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30434 wxTreeItemId
*arg2
= 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self",(char *) "item", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) 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
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 Py_INCREF(Py_None
); resultobj
= Py_None
;
30466 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
= NULL
;
30468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30469 wxTreeItemId
*arg2
= 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 char *kwnames
[] = {
30473 (char *) "self",(char *) "item", NULL
30476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30478 if (SWIG_arg_fail(1)) SWIG_fail
;
30480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(2)) SWIG_fail
;
30482 if (arg2
== NULL
) {
30483 SWIG_null_ref("wxTreeItemId");
30485 if (SWIG_arg_fail(2)) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 Py_INCREF(Py_None
); resultobj
= Py_None
;
30501 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
= NULL
;
30503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30504 wxTreeItemId
*arg2
= 0 ;
30505 PyObject
* obj0
= 0 ;
30506 PyObject
* obj1
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "item", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail
;
30515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30516 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 if (arg2
== NULL
) {
30518 SWIG_null_ref("wxTreeItemId");
30520 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 Py_INCREF(Py_None
); resultobj
= Py_None
;
30536 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
= NULL
;
30538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30546 if (SWIG_arg_fail(1)) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->Unselect();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30561 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
= NULL
;
30563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30564 wxTreeItemId
*arg2
= 0 ;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 char *kwnames
[] = {
30568 (char *) "self",(char *) "item", NULL
30571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30573 if (SWIG_arg_fail(1)) SWIG_fail
;
30575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30576 if (SWIG_arg_fail(2)) SWIG_fail
;
30577 if (arg2
== NULL
) {
30578 SWIG_null_ref("wxTreeItemId");
30580 if (SWIG_arg_fail(2)) SWIG_fail
;
30583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30584 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 Py_INCREF(Py_None
); resultobj
= Py_None
;
30596 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= NULL
;
30598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "self", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30606 if (SWIG_arg_fail(1)) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 (arg1
)->UnselectAll();
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 Py_INCREF(Py_None
); resultobj
= Py_None
;
30621 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
= NULL
;
30623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30624 wxTreeItemId
*arg2
= 0 ;
30625 bool arg3
= (bool) true ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 PyObject
* obj2
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self",(char *) "item",(char *) "select", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail
;
30637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(2)) SWIG_fail
;
30639 if (arg2
== NULL
) {
30640 SWIG_null_ref("wxTreeItemId");
30642 if (SWIG_arg_fail(2)) SWIG_fail
;
30646 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30647 if (SWIG_arg_fail(3)) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 Py_INCREF(Py_None
); resultobj
= Py_None
;
30664 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= NULL
;
30666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30667 wxTreeItemId
*arg2
= 0 ;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self",(char *) "item", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30676 if (SWIG_arg_fail(1)) SWIG_fail
;
30678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(2)) SWIG_fail
;
30680 if (arg2
== NULL
) {
30681 SWIG_null_ref("wxTreeItemId");
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 Py_INCREF(Py_None
); resultobj
= Py_None
;
30699 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
= NULL
;
30701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30702 wxTreeItemId
*arg2
= 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self",(char *) "item", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail
;
30713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(2)) SWIG_fail
;
30715 if (arg2
== NULL
) {
30716 SWIG_null_ref("wxTreeItemId");
30718 if (SWIG_arg_fail(2)) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 Py_INCREF(Py_None
); resultobj
= Py_None
;
30734 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
= NULL
;
30736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30737 wxTreeItemId
*arg2
= 0 ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "item", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30746 if (SWIG_arg_fail(1)) SWIG_fail
;
30748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30749 if (SWIG_arg_fail(2)) SWIG_fail
;
30750 if (arg2
== NULL
) {
30751 SWIG_null_ref("wxTreeItemId");
30753 if (SWIG_arg_fail(2)) SWIG_fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 Py_INCREF(Py_None
); resultobj
= Py_None
;
30769 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30770 PyObject
*resultobj
= NULL
;
30771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30772 wxTreeItemId
*arg2
= 0 ;
30773 PyObject
* obj0
= 0 ;
30774 PyObject
* obj1
= 0 ;
30775 char *kwnames
[] = {
30776 (char *) "self",(char *) "item", NULL
30779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30781 if (SWIG_arg_fail(1)) SWIG_fail
;
30783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30784 if (SWIG_arg_fail(2)) SWIG_fail
;
30785 if (arg2
== NULL
) {
30786 SWIG_null_ref("wxTreeItemId");
30788 if (SWIG_arg_fail(2)) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
= NULL
;
30806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30807 wxTextCtrl
*result
;
30808 PyObject
* obj0
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= wxPyMake_wxObject(result
, 0);
30832 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= NULL
;
30834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30835 wxTreeItemId
*arg2
= 0 ;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 char *kwnames
[] = {
30839 (char *) "self",(char *) "item", NULL
30842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30844 if (SWIG_arg_fail(1)) SWIG_fail
;
30846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30847 if (SWIG_arg_fail(2)) SWIG_fail
;
30848 if (arg2
== NULL
) {
30849 SWIG_null_ref("wxTreeItemId");
30851 if (SWIG_arg_fail(2)) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 Py_INCREF(Py_None
); resultobj
= Py_None
;
30867 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
= NULL
;
30869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30870 wxPoint
*arg2
= 0 ;
30872 wxTreeItemId result
;
30876 PyObject
* obj0
= 0 ;
30877 PyObject
* obj1
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "point", NULL
30882 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30885 if (SWIG_arg_fail(1)) SWIG_fail
;
30888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30898 wxTreeItemId
* resultptr
;
30899 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30902 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30903 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30910 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
= NULL
;
30912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30913 wxTreeItemId
*arg2
= 0 ;
30914 bool arg3
= (bool) false ;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 PyObject
* obj2
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail
;
30927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30928 if (SWIG_arg_fail(2)) SWIG_fail
;
30929 if (arg2
== NULL
) {
30930 SWIG_null_ref("wxTreeItemId");
30932 if (SWIG_arg_fail(2)) SWIG_fail
;
30936 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30937 if (SWIG_arg_fail(3)) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 resultobj
= result
;
30954 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
= NULL
;
30956 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30957 wxVisualAttributes result
;
30958 PyObject
* obj0
= 0 ;
30959 char *kwnames
[] = {
30960 (char *) "variant", NULL
30963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30966 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
30967 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 if (!wxPyCheckForApp()) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 wxVisualAttributes
* resultptr
;
30980 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
30981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30989 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30992 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30994 return Py_BuildValue((char *)"");
30996 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30997 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31002 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31003 PyObject
*pyobj
= NULL
;
31007 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31009 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31016 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
= NULL
;
31018 wxWindow
*arg1
= (wxWindow
*) 0 ;
31019 int arg2
= (int) (int)-1 ;
31020 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31021 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31022 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31023 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31024 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31025 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31026 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31027 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31028 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31029 int arg8
= (int) 0 ;
31030 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31031 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31032 wxGenericDirCtrl
*result
;
31033 bool temp3
= false ;
31036 bool temp7
= false ;
31037 bool temp9
= false ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 PyObject
* obj2
= 0 ;
31041 PyObject
* obj3
= 0 ;
31042 PyObject
* obj4
= 0 ;
31043 PyObject
* obj5
= 0 ;
31044 PyObject
* obj6
= 0 ;
31045 PyObject
* obj7
= 0 ;
31046 PyObject
* obj8
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31053 if (SWIG_arg_fail(1)) SWIG_fail
;
31056 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
31057 if (SWIG_arg_fail(2)) SWIG_fail
;
31062 arg3
= wxString_in_helper(obj2
);
31063 if (arg3
== NULL
) SWIG_fail
;
31070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31081 arg6
= static_cast<long >(SWIG_As_long(obj5
));
31082 if (SWIG_arg_fail(6)) SWIG_fail
;
31087 arg7
= wxString_in_helper(obj6
);
31088 if (arg7
== NULL
) SWIG_fail
;
31094 arg8
= static_cast<int >(SWIG_As_int(obj7
));
31095 if (SWIG_arg_fail(8)) SWIG_fail
;
31100 arg9
= wxString_in_helper(obj8
);
31101 if (arg9
== NULL
) SWIG_fail
;
31106 if (!wxPyCheckForApp()) SWIG_fail
;
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31144 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= NULL
;
31146 wxGenericDirCtrl
*result
;
31147 char *kwnames
[] = {
31151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31153 if (!wxPyCheckForApp()) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31167 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= NULL
;
31169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31170 wxWindow
*arg2
= (wxWindow
*) 0 ;
31171 int arg3
= (int) (int)-1 ;
31172 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31173 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31174 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31175 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31176 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31177 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31178 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31179 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31180 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31181 int arg9
= (int) 0 ;
31182 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31183 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31185 bool temp4
= false ;
31188 bool temp8
= false ;
31189 bool temp10
= false ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 PyObject
* obj3
= 0 ;
31194 PyObject
* obj4
= 0 ;
31195 PyObject
* obj5
= 0 ;
31196 PyObject
* obj6
= 0 ;
31197 PyObject
* obj7
= 0 ;
31198 PyObject
* obj8
= 0 ;
31199 PyObject
* obj9
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail
;
31207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31208 if (SWIG_arg_fail(2)) SWIG_fail
;
31211 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
31212 if (SWIG_arg_fail(3)) SWIG_fail
;
31217 arg4
= wxString_in_helper(obj3
);
31218 if (arg4
== NULL
) SWIG_fail
;
31225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31231 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31236 arg7
= static_cast<long >(SWIG_As_long(obj6
));
31237 if (SWIG_arg_fail(7)) SWIG_fail
;
31242 arg8
= wxString_in_helper(obj7
);
31243 if (arg8
== NULL
) SWIG_fail
;
31249 arg9
= static_cast<int >(SWIG_As_int(obj8
));
31250 if (SWIG_arg_fail(9)) SWIG_fail
;
31255 arg10
= wxString_in_helper(obj9
);
31256 if (arg10
== NULL
) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31300 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
= NULL
;
31302 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31303 wxString
*arg2
= 0 ;
31305 bool temp2
= false ;
31306 PyObject
* obj0
= 0 ;
31307 PyObject
* obj1
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self",(char *) "path", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31316 arg2
= wxString_in_helper(obj1
);
31317 if (arg2
== NULL
) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31344 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
= NULL
;
31346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31348 PyObject
* obj0
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31355 if (SWIG_arg_fail(1)) SWIG_fail
;
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31376 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= NULL
;
31378 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31379 wxString
*arg2
= 0 ;
31380 bool temp2
= false ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self",(char *) "path", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail
;
31391 arg2
= wxString_in_helper(obj1
);
31392 if (arg2
== NULL
) SWIG_fail
;
31396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31397 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 Py_INCREF(Py_None
); resultobj
= Py_None
;
31417 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
= NULL
;
31419 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31421 PyObject
* obj0
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31449 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
= NULL
;
31451 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31481 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
= NULL
;
31483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31484 wxString
*arg2
= 0 ;
31485 bool temp2
= false ;
31486 PyObject
* obj0
= 0 ;
31487 PyObject
* obj1
= 0 ;
31488 char *kwnames
[] = {
31489 (char *) "self",(char *) "path", NULL
31492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31494 if (SWIG_arg_fail(1)) SWIG_fail
;
31496 arg2
= wxString_in_helper(obj1
);
31497 if (arg2
== NULL
) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 (arg1
)->SetPath((wxString
const &)*arg2
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 Py_INCREF(Py_None
); resultobj
= Py_None
;
31522 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= NULL
;
31524 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31526 PyObject
* obj0
= 0 ;
31527 PyObject
* obj1
= 0 ;
31528 char *kwnames
[] = {
31529 (char *) "self",(char *) "show", NULL
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31534 if (SWIG_arg_fail(1)) SWIG_fail
;
31536 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31537 if (SWIG_arg_fail(2)) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->ShowHidden(arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= NULL
;
31555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (bool)(arg1
)->GetShowHidden();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31581 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
= NULL
;
31583 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31585 PyObject
* obj0
= 0 ;
31586 char *kwnames
[] = {
31587 (char *) "self", NULL
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31592 if (SWIG_arg_fail(1)) SWIG_fail
;
31594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31613 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= NULL
;
31615 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31616 wxString
*arg2
= 0 ;
31617 bool temp2
= false ;
31618 PyObject
* obj0
= 0 ;
31619 PyObject
* obj1
= 0 ;
31620 char *kwnames
[] = {
31621 (char *) "self",(char *) "filter", NULL
31624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31626 if (SWIG_arg_fail(1)) SWIG_fail
;
31628 arg2
= wxString_in_helper(obj1
);
31629 if (arg2
== NULL
) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetFilter((wxString
const &)*arg2
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31654 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
= NULL
;
31656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31658 PyObject
* obj0
= 0 ;
31659 char *kwnames
[] = {
31660 (char *) "self", NULL
31663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31665 if (SWIG_arg_fail(1)) SWIG_fail
;
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31670 wxPyEndAllowThreads(__tstate
);
31671 if (PyErr_Occurred()) SWIG_fail
;
31674 resultobj
= SWIG_From_int(static_cast<int >(result
));
31682 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
= NULL
;
31684 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 char *kwnames
[] = {
31689 (char *) "self",(char *) "n", NULL
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31697 if (SWIG_arg_fail(2)) SWIG_fail
;
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->SetFilterIndex(arg2
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31706 Py_INCREF(Py_None
); resultobj
= Py_None
;
31713 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
= NULL
;
31715 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31716 wxTreeItemId result
;
31717 PyObject
* obj0
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 result
= (arg1
)->GetRootId();
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31733 wxTreeItemId
* resultptr
;
31734 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31743 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31744 PyObject
*resultobj
= NULL
;
31745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31746 wxPyTreeCtrl
*result
;
31747 PyObject
* obj0
= 0 ;
31748 char *kwnames
[] = {
31749 (char *) "self", NULL
31752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31754 if (SWIG_arg_fail(1)) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31763 resultobj
= wxPyMake_wxObject(result
, 0);
31771 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
= NULL
;
31773 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31774 wxDirFilterListCtrl
*result
;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31782 if (SWIG_arg_fail(1)) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31797 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
= NULL
;
31799 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31800 wxTreeItemId arg2
;
31801 wxString
*arg3
= 0 ;
31803 wxTreeItemId result
;
31804 bool temp3
= false ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 char *kwnames
[] = {
31811 (char *) "self",(char *) "parentId",(char *) "path", NULL
31814 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31817 if (SWIG_arg_fail(1)) SWIG_fail
;
31819 wxTreeItemId
* argp
;
31820 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31821 if (SWIG_arg_fail(2)) SWIG_fail
;
31822 if (argp
== NULL
) {
31823 SWIG_null_ref("wxTreeItemId");
31825 if (SWIG_arg_fail(2)) SWIG_fail
;
31829 arg3
= wxString_in_helper(obj2
);
31830 if (arg3
== NULL
) SWIG_fail
;
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31841 wxTreeItemId
* resultptr
;
31842 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31845 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31846 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31861 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= NULL
;
31863 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31864 PyObject
* obj0
= 0 ;
31865 char *kwnames
[] = {
31866 (char *) "self", NULL
31869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 (arg1
)->DoResize();
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 Py_INCREF(Py_None
); resultobj
= Py_None
;
31886 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
= NULL
;
31888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31889 PyObject
* obj0
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31896 if (SWIG_arg_fail(1)) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->ReCreateTree();
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 Py_INCREF(Py_None
); resultobj
= Py_None
;
31911 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31914 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31916 return Py_BuildValue((char *)"");
31918 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= NULL
;
31920 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31921 int arg2
= (int) (int)-1 ;
31922 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31923 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31924 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31925 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31926 long arg5
= (long) 0 ;
31927 wxDirFilterListCtrl
*result
;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 PyObject
* obj2
= 0 ;
31933 PyObject
* obj3
= 0 ;
31934 PyObject
* obj4
= 0 ;
31935 char *kwnames
[] = {
31936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31941 if (SWIG_arg_fail(1)) SWIG_fail
;
31944 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
31945 if (SWIG_arg_fail(2)) SWIG_fail
;
31951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31962 arg5
= static_cast<long >(SWIG_As_long(obj4
));
31963 if (SWIG_arg_fail(5)) SWIG_fail
;
31967 if (!wxPyCheckForApp()) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31981 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
= NULL
;
31983 wxDirFilterListCtrl
*result
;
31984 char *kwnames
[] = {
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31990 if (!wxPyCheckForApp()) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32004 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
= NULL
;
32006 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32007 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32008 int arg3
= (int) (int)-1 ;
32009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32013 long arg6
= (long) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 PyObject
* obj2
= 0 ;
32020 PyObject
* obj3
= 0 ;
32021 PyObject
* obj4
= 0 ;
32022 PyObject
* obj5
= 0 ;
32023 char *kwnames
[] = {
32024 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32029 if (SWIG_arg_fail(1)) SWIG_fail
;
32030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32031 if (SWIG_arg_fail(2)) SWIG_fail
;
32034 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32035 if (SWIG_arg_fail(3)) SWIG_fail
;
32041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32052 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32053 if (SWIG_arg_fail(6)) SWIG_fail
;
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32072 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
= NULL
;
32074 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32075 wxString
*arg2
= 0 ;
32077 bool temp2
= false ;
32078 PyObject
* obj0
= 0 ;
32079 PyObject
* obj1
= 0 ;
32080 PyObject
* obj2
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32087 if (SWIG_arg_fail(1)) SWIG_fail
;
32089 arg2
= wxString_in_helper(obj1
);
32090 if (arg2
== NULL
) SWIG_fail
;
32094 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32095 if (SWIG_arg_fail(3)) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 Py_INCREF(Py_None
); resultobj
= Py_None
;
32119 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32122 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32124 return Py_BuildValue((char *)"");
32126 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32127 PyObject
*resultobj
= NULL
;
32128 wxWindow
*arg1
= (wxWindow
*) 0 ;
32129 int arg2
= (int) (int)-1 ;
32130 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32131 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32132 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32133 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32134 long arg5
= (long) 0 ;
32135 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32136 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32137 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32139 wxPyControl
*result
;
32142 bool temp7
= false ;
32143 PyObject
* obj0
= 0 ;
32144 PyObject
* obj1
= 0 ;
32145 PyObject
* obj2
= 0 ;
32146 PyObject
* obj3
= 0 ;
32147 PyObject
* obj4
= 0 ;
32148 PyObject
* obj5
= 0 ;
32149 PyObject
* obj6
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32156 if (SWIG_arg_fail(1)) SWIG_fail
;
32159 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32160 if (SWIG_arg_fail(2)) SWIG_fail
;
32166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32172 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32177 arg5
= static_cast<long >(SWIG_As_long(obj4
));
32178 if (SWIG_arg_fail(5)) SWIG_fail
;
32183 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32184 if (SWIG_arg_fail(6)) SWIG_fail
;
32185 if (arg6
== NULL
) {
32186 SWIG_null_ref("wxValidator");
32188 if (SWIG_arg_fail(6)) SWIG_fail
;
32193 arg7
= wxString_in_helper(obj6
);
32194 if (arg7
== NULL
) SWIG_fail
;
32199 if (!wxPyCheckForApp()) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32221 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
= NULL
;
32223 wxPyControl
*result
;
32224 char *kwnames
[] = {
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32230 if (!wxPyCheckForApp()) SWIG_fail
;
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 result
= (wxPyControl
*)new wxPyControl();
32234 wxPyEndAllowThreads(__tstate
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32244 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
= NULL
;
32246 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32247 PyObject
*arg2
= (PyObject
*) 0 ;
32248 PyObject
*arg3
= (PyObject
*) 0 ;
32249 PyObject
* obj0
= 0 ;
32250 PyObject
* obj1
= 0 ;
32251 PyObject
* obj2
= 0 ;
32252 char *kwnames
[] = {
32253 (char *) "self",(char *) "self",(char *) "_class", NULL
32256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32258 if (SWIG_arg_fail(1)) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 Py_INCREF(Py_None
); resultobj
= Py_None
;
32275 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
= NULL
;
32277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 char *kwnames
[] = {
32283 (char *) "self",(char *) "size", NULL
32286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32288 if (SWIG_arg_fail(1)) SWIG_fail
;
32291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 Py_INCREF(Py_None
); resultobj
= Py_None
;
32307 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= NULL
;
32309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32310 wxDC
*arg2
= (wxDC
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "dc", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail
;
32321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32322 if (SWIG_arg_fail(2)) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32339 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
= NULL
;
32341 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32346 PyObject
* obj0
= 0 ;
32347 PyObject
* obj1
= 0 ;
32348 PyObject
* obj2
= 0 ;
32349 PyObject
* obj3
= 0 ;
32350 PyObject
* obj4
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32357 if (SWIG_arg_fail(1)) SWIG_fail
;
32359 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32360 if (SWIG_arg_fail(2)) SWIG_fail
;
32363 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32364 if (SWIG_arg_fail(3)) SWIG_fail
;
32367 arg4
= static_cast<int >(SWIG_As_int(obj3
));
32368 if (SWIG_arg_fail(4)) SWIG_fail
;
32371 arg5
= static_cast<int >(SWIG_As_int(obj4
));
32372 if (SWIG_arg_fail(5)) SWIG_fail
;
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 Py_INCREF(Py_None
); resultobj
= Py_None
;
32388 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
= NULL
;
32390 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32395 int arg6
= (int) wxSIZE_AUTO
;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 PyObject
* obj2
= 0 ;
32399 PyObject
* obj3
= 0 ;
32400 PyObject
* obj4
= 0 ;
32401 PyObject
* obj5
= 0 ;
32402 char *kwnames
[] = {
32403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32408 if (SWIG_arg_fail(1)) SWIG_fail
;
32410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32414 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32415 if (SWIG_arg_fail(3)) SWIG_fail
;
32418 arg4
= static_cast<int >(SWIG_As_int(obj3
));
32419 if (SWIG_arg_fail(4)) SWIG_fail
;
32422 arg5
= static_cast<int >(SWIG_As_int(obj4
));
32423 if (SWIG_arg_fail(5)) SWIG_fail
;
32427 arg6
= static_cast<int >(SWIG_As_int(obj5
));
32428 if (SWIG_arg_fail(6)) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 Py_INCREF(Py_None
); resultobj
= Py_None
;
32445 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
= NULL
;
32447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 PyObject
* obj2
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "width",(char *) "height", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail
;
32461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32462 if (SWIG_arg_fail(2)) SWIG_fail
;
32465 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32466 if (SWIG_arg_fail(3)) SWIG_fail
;
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 Py_INCREF(Py_None
); resultobj
= Py_None
;
32482 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= NULL
;
32484 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 PyObject
* obj1
= 0 ;
32489 PyObject
* obj2
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self",(char *) "x",(char *) "y", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32496 if (SWIG_arg_fail(1)) SWIG_fail
;
32498 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32499 if (SWIG_arg_fail(2)) SWIG_fail
;
32502 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32503 if (SWIG_arg_fail(3)) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32512 Py_INCREF(Py_None
); resultobj
= Py_None
;
32519 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32520 PyObject
*resultobj
= NULL
;
32521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32522 int *arg2
= (int *) 0 ;
32523 int *arg3
= (int *) 0 ;
32528 PyObject
* obj0
= 0 ;
32529 char *kwnames
[] = {
32530 (char *) "self", NULL
32533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32537 if (SWIG_arg_fail(1)) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 Py_INCREF(Py_None
); resultobj
= Py_None
;
32546 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32547 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32549 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32556 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= NULL
;
32558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32559 int *arg2
= (int *) 0 ;
32560 int *arg3
= (int *) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 char *kwnames
[] = {
32567 (char *) "self", NULL
32570 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32571 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32574 if (SWIG_arg_fail(1)) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32582 Py_INCREF(Py_None
); resultobj
= Py_None
;
32583 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32584 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32585 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32586 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32593 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
= NULL
;
32595 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32596 int *arg2
= (int *) 0 ;
32597 int *arg3
= (int *) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "self", NULL
32607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 Py_INCREF(Py_None
); resultobj
= Py_None
;
32620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32630 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
= NULL
;
32632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32634 PyObject
* obj0
= 0 ;
32635 char *kwnames
[] = {
32636 (char *) "self", NULL
32639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32641 if (SWIG_arg_fail(1)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32650 wxSize
* resultptr
;
32651 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
32652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32660 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
= NULL
;
32662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 char *kwnames
[] = {
32666 (char *) "self", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail
;
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32680 wxSize
* resultptr
;
32681 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
32682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32690 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
= NULL
;
32692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32693 PyObject
* obj0
= 0 ;
32694 char *kwnames
[] = {
32695 (char *) "self", NULL
32698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32700 if (SWIG_arg_fail(1)) SWIG_fail
;
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 (arg1
)->base_InitDialog();
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 Py_INCREF(Py_None
); resultobj
= Py_None
;
32715 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
= NULL
;
32717 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32719 PyObject
* obj0
= 0 ;
32720 char *kwnames
[] = {
32721 (char *) "self", NULL
32724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32726 if (SWIG_arg_fail(1)) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 result
= (bool)(arg1
)->base_TransferDataToWindow();
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32743 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
= NULL
;
32745 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32747 PyObject
* obj0
= 0 ;
32748 char *kwnames
[] = {
32749 (char *) "self", NULL
32752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32754 if (SWIG_arg_fail(1)) SWIG_fail
;
32756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32757 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32759 wxPyEndAllowThreads(__tstate
);
32760 if (PyErr_Occurred()) SWIG_fail
;
32763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32771 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32772 PyObject
*resultobj
= NULL
;
32773 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32775 PyObject
* obj0
= 0 ;
32776 char *kwnames
[] = {
32777 (char *) "self", NULL
32780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32782 if (SWIG_arg_fail(1)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (bool)(arg1
)->base_Validate();
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32799 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32800 PyObject
*resultobj
= NULL
;
32801 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32803 PyObject
* obj0
= 0 ;
32804 char *kwnames
[] = {
32805 (char *) "self", NULL
32808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32810 if (SWIG_arg_fail(1)) SWIG_fail
;
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32827 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32828 PyObject
*resultobj
= NULL
;
32829 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32831 PyObject
* obj0
= 0 ;
32832 char *kwnames
[] = {
32833 (char *) "self", NULL
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail
;
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32855 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
= NULL
;
32857 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32859 PyObject
* obj0
= 0 ;
32860 char *kwnames
[] = {
32861 (char *) "self", NULL
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32866 if (SWIG_arg_fail(1)) SWIG_fail
;
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32871 wxPyEndAllowThreads(__tstate
);
32872 if (PyErr_Occurred()) SWIG_fail
;
32875 wxSize
* resultptr
;
32876 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
32877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32885 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
= NULL
;
32887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32888 wxWindow
*arg2
= (wxWindow
*) 0 ;
32889 PyObject
* obj0
= 0 ;
32890 PyObject
* obj1
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self",(char *) "child", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32897 if (SWIG_arg_fail(1)) SWIG_fail
;
32898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32899 if (SWIG_arg_fail(2)) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 (arg1
)->base_AddChild(arg2
);
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32907 Py_INCREF(Py_None
); resultobj
= Py_None
;
32914 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32915 PyObject
*resultobj
= NULL
;
32916 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32917 wxWindow
*arg2
= (wxWindow
*) 0 ;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "self",(char *) "child", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32926 if (SWIG_arg_fail(1)) SWIG_fail
;
32927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32928 if (SWIG_arg_fail(2)) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 (arg1
)->base_RemoveChild(arg2
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 Py_INCREF(Py_None
); resultobj
= Py_None
;
32943 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
= NULL
;
32945 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32947 PyObject
* obj0
= 0 ;
32948 char *kwnames
[] = {
32949 (char *) "self", NULL
32952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32954 if (SWIG_arg_fail(1)) SWIG_fail
;
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32971 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
= NULL
;
32973 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32974 wxVisualAttributes result
;
32975 PyObject
* obj0
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32982 if (SWIG_arg_fail(1)) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 result
= (arg1
)->base_GetDefaultAttributes();
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32991 wxVisualAttributes
* resultptr
;
32992 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33001 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
= NULL
;
33003 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "self", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
33010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 (arg1
)->base_OnInternalIdle();
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 Py_INCREF(Py_None
); resultobj
= Py_None
;
33026 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33029 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33031 return Py_BuildValue((char *)"");
33033 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
= NULL
;
33035 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33036 int arg2
= (int) 0 ;
33037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33039 wxHelpEvent
*result
;
33041 PyObject
* obj0
= 0 ;
33042 PyObject
* obj1
= 0 ;
33043 PyObject
* obj2
= 0 ;
33044 char *kwnames
[] = {
33045 (char *) "type",(char *) "winid",(char *) "pt", NULL
33048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33051 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
33052 if (SWIG_arg_fail(1)) SWIG_fail
;
33057 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33058 if (SWIG_arg_fail(2)) SWIG_fail
;
33064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33081 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
= NULL
;
33083 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33085 PyObject
* obj0
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail
;
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33101 wxPoint
* resultptr
;
33102 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
33103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33111 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= NULL
;
33113 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33114 wxPoint
*arg2
= 0 ;
33116 PyObject
* obj0
= 0 ;
33117 PyObject
* obj1
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "self",(char *) "pos", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33124 if (SWIG_arg_fail(1)) SWIG_fail
;
33127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 Py_INCREF(Py_None
); resultobj
= Py_None
;
33143 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
= NULL
;
33145 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33147 PyObject
* obj0
= 0 ;
33148 char *kwnames
[] = {
33149 (char *) "self", NULL
33152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33154 if (SWIG_arg_fail(1)) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33159 result
= (wxString
*) &_result_ref
;
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33178 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
= NULL
;
33180 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33181 wxString
*arg2
= 0 ;
33182 bool temp2
= false ;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "self",(char *) "link", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33191 if (SWIG_arg_fail(1)) SWIG_fail
;
33193 arg2
= wxString_in_helper(obj1
);
33194 if (arg2
== NULL
) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->SetLink((wxString
const &)*arg2
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 Py_INCREF(Py_None
); resultobj
= Py_None
;
33219 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
= NULL
;
33221 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33223 PyObject
* obj0
= 0 ;
33224 char *kwnames
[] = {
33225 (char *) "self", NULL
33228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33230 if (SWIG_arg_fail(1)) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33235 result
= (wxString
*) &_result_ref
;
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33254 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
= NULL
;
33256 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33257 wxString
*arg2
= 0 ;
33258 bool temp2
= false ;
33259 PyObject
* obj0
= 0 ;
33260 PyObject
* obj1
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self",(char *) "target", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33267 if (SWIG_arg_fail(1)) SWIG_fail
;
33269 arg2
= wxString_in_helper(obj1
);
33270 if (arg2
== NULL
) SWIG_fail
;
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 (arg1
)->SetTarget((wxString
const &)*arg2
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33280 Py_INCREF(Py_None
); resultobj
= Py_None
;
33295 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33298 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33300 return Py_BuildValue((char *)"");
33302 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33303 PyObject
*resultobj
= NULL
;
33304 wxWindow
*arg1
= (wxWindow
*) NULL
;
33305 bool arg2
= (bool) true ;
33306 wxContextHelp
*result
;
33307 PyObject
* obj0
= 0 ;
33308 PyObject
* obj1
= 0 ;
33309 char *kwnames
[] = {
33310 (char *) "window",(char *) "doNow", NULL
33313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33316 if (SWIG_arg_fail(1)) SWIG_fail
;
33320 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
33321 if (SWIG_arg_fail(2)) SWIG_fail
;
33325 if (!wxPyCheckForApp()) SWIG_fail
;
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33339 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
= NULL
;
33341 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33342 PyObject
* obj0
= 0 ;
33343 char *kwnames
[] = {
33344 (char *) "self", NULL
33347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33349 if (SWIG_arg_fail(1)) SWIG_fail
;
33351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 Py_INCREF(Py_None
); resultobj
= Py_None
;
33364 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
= NULL
;
33366 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33367 wxWindow
*arg2
= (wxWindow
*) NULL
;
33369 PyObject
* obj0
= 0 ;
33370 PyObject
* obj1
= 0 ;
33371 char *kwnames
[] = {
33372 (char *) "self",(char *) "window", NULL
33375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33377 if (SWIG_arg_fail(1)) SWIG_fail
;
33379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33380 if (SWIG_arg_fail(2)) SWIG_fail
;
33383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33398 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
= NULL
;
33400 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33402 PyObject
* obj0
= 0 ;
33403 char *kwnames
[] = {
33404 (char *) "self", NULL
33407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33409 if (SWIG_arg_fail(1)) SWIG_fail
;
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 result
= (bool)(arg1
)->EndContextHelp();
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33426 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33429 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33431 return Py_BuildValue((char *)"");
33433 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
= NULL
;
33435 wxWindow
*arg1
= (wxWindow
*) 0 ;
33436 int arg2
= (int) wxID_CONTEXT_HELP
;
33437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33441 long arg5
= (long) wxBU_AUTODRAW
;
33442 wxContextHelpButton
*result
;
33445 PyObject
* obj0
= 0 ;
33446 PyObject
* obj1
= 0 ;
33447 PyObject
* obj2
= 0 ;
33448 PyObject
* obj3
= 0 ;
33449 PyObject
* obj4
= 0 ;
33450 char *kwnames
[] = {
33451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33456 if (SWIG_arg_fail(1)) SWIG_fail
;
33459 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33460 if (SWIG_arg_fail(2)) SWIG_fail
;
33466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33477 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33478 if (SWIG_arg_fail(5)) SWIG_fail
;
33482 if (!wxPyCheckForApp()) SWIG_fail
;
33483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33496 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33499 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33501 return Py_BuildValue((char *)"");
33503 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
= NULL
;
33505 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33506 wxHelpProvider
*result
;
33507 PyObject
* obj0
= 0 ;
33508 char *kwnames
[] = {
33509 (char *) "helpProvider", NULL
33512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33514 if (SWIG_arg_fail(1)) SWIG_fail
;
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33529 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
= NULL
;
33531 wxHelpProvider
*result
;
33532 char *kwnames
[] = {
33536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33541 wxPyEndAllowThreads(__tstate
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33551 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33552 PyObject
*resultobj
= NULL
;
33553 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33554 wxWindow
*arg2
= (wxWindow
*) 0 ;
33556 PyObject
* obj0
= 0 ;
33557 PyObject
* obj1
= 0 ;
33558 char *kwnames
[] = {
33559 (char *) "self",(char *) "window", NULL
33562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33564 if (SWIG_arg_fail(1)) SWIG_fail
;
33565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33566 if (SWIG_arg_fail(2)) SWIG_fail
;
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33587 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
= NULL
;
33589 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33590 wxWindow
*arg2
= (wxWindow
*) 0 ;
33592 PyObject
* obj0
= 0 ;
33593 PyObject
* obj1
= 0 ;
33594 char *kwnames
[] = {
33595 (char *) "self",(char *) "window", NULL
33598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33600 if (SWIG_arg_fail(1)) SWIG_fail
;
33601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33602 if (SWIG_arg_fail(2)) SWIG_fail
;
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33605 result
= (bool)(arg1
)->ShowHelp(arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33619 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
= NULL
;
33621 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33622 wxWindow
*arg2
= (wxWindow
*) 0 ;
33623 wxString
*arg3
= 0 ;
33624 bool temp3
= false ;
33625 PyObject
* obj0
= 0 ;
33626 PyObject
* obj1
= 0 ;
33627 PyObject
* obj2
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self",(char *) "window",(char *) "text", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail
;
33635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33636 if (SWIG_arg_fail(2)) SWIG_fail
;
33638 arg3
= wxString_in_helper(obj2
);
33639 if (arg3
== NULL
) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 Py_INCREF(Py_None
); resultobj
= Py_None
;
33664 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33665 PyObject
*resultobj
= NULL
;
33666 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33668 wxString
*arg3
= 0 ;
33669 bool temp3
= false ;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 PyObject
* obj2
= 0 ;
33673 char *kwnames
[] = {
33674 (char *) "self",(char *) "id",(char *) "text", NULL
33677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33679 if (SWIG_arg_fail(1)) SWIG_fail
;
33681 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33682 if (SWIG_arg_fail(2)) SWIG_fail
;
33685 arg3
= wxString_in_helper(obj2
);
33686 if (arg3
== NULL
) SWIG_fail
;
33690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33691 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33693 wxPyEndAllowThreads(__tstate
);
33694 if (PyErr_Occurred()) SWIG_fail
;
33696 Py_INCREF(Py_None
); resultobj
= Py_None
;
33711 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33712 PyObject
*resultobj
= NULL
;
33713 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33714 wxWindow
*arg2
= (wxWindow
*) 0 ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33717 char *kwnames
[] = {
33718 (char *) "self",(char *) "window", NULL
33721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33723 if (SWIG_arg_fail(1)) SWIG_fail
;
33724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 (arg1
)->RemoveHelp(arg2
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 Py_INCREF(Py_None
); resultobj
= Py_None
;
33740 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
= NULL
;
33742 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33743 PyObject
* obj0
= 0 ;
33744 char *kwnames
[] = {
33745 (char *) "self", NULL
33748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33750 if (SWIG_arg_fail(1)) SWIG_fail
;
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 wxHelpProvider_Destroy(arg1
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 Py_INCREF(Py_None
); resultobj
= Py_None
;
33765 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33768 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33770 return Py_BuildValue((char *)"");
33772 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
= NULL
;
33774 wxSimpleHelpProvider
*result
;
33775 char *kwnames
[] = {
33779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33794 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33797 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33799 return Py_BuildValue((char *)"");
33801 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= NULL
;
33803 wxBitmap
*arg1
= 0 ;
33804 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33805 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33806 wxGenericDragImage
*result
;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 char *kwnames
[] = {
33810 (char *) "image",(char *) "cursor", NULL
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33816 if (SWIG_arg_fail(1)) SWIG_fail
;
33817 if (arg1
== NULL
) {
33818 SWIG_null_ref("wxBitmap");
33820 if (SWIG_arg_fail(1)) SWIG_fail
;
33824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33825 if (SWIG_arg_fail(2)) SWIG_fail
;
33826 if (arg2
== NULL
) {
33827 SWIG_null_ref("wxCursor");
33829 if (SWIG_arg_fail(2)) SWIG_fail
;
33833 if (!wxPyCheckForApp()) SWIG_fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33847 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
= NULL
;
33850 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33851 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33852 wxGenericDragImage
*result
;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char *kwnames
[] = {
33856 (char *) "image",(char *) "cursor", NULL
33859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33862 if (SWIG_arg_fail(1)) SWIG_fail
;
33863 if (arg1
== NULL
) {
33864 SWIG_null_ref("wxIcon");
33866 if (SWIG_arg_fail(1)) SWIG_fail
;
33870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33871 if (SWIG_arg_fail(2)) SWIG_fail
;
33872 if (arg2
== NULL
) {
33873 SWIG_null_ref("wxCursor");
33875 if (SWIG_arg_fail(2)) SWIG_fail
;
33879 if (!wxPyCheckForApp()) SWIG_fail
;
33880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33881 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33883 wxPyEndAllowThreads(__tstate
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33893 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
= NULL
;
33895 wxString
*arg1
= 0 ;
33896 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33897 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33898 wxGenericDragImage
*result
;
33899 bool temp1
= false ;
33900 PyObject
* obj0
= 0 ;
33901 PyObject
* obj1
= 0 ;
33902 char *kwnames
[] = {
33903 (char *) "str",(char *) "cursor", NULL
33906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33908 arg1
= wxString_in_helper(obj0
);
33909 if (arg1
== NULL
) SWIG_fail
;
33914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33915 if (SWIG_arg_fail(2)) SWIG_fail
;
33916 if (arg2
== NULL
) {
33917 SWIG_null_ref("wxCursor");
33919 if (SWIG_arg_fail(2)) SWIG_fail
;
33923 if (!wxPyCheckForApp()) SWIG_fail
;
33924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33925 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33945 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33946 PyObject
*resultobj
= NULL
;
33947 wxPyTreeCtrl
*arg1
= 0 ;
33948 wxTreeItemId
*arg2
= 0 ;
33949 wxGenericDragImage
*result
;
33950 PyObject
* obj0
= 0 ;
33951 PyObject
* obj1
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "treeCtrl",(char *) "id", NULL
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33959 if (SWIG_arg_fail(1)) SWIG_fail
;
33960 if (arg1
== NULL
) {
33961 SWIG_null_ref("wxPyTreeCtrl");
33963 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33967 if (SWIG_arg_fail(2)) SWIG_fail
;
33968 if (arg2
== NULL
) {
33969 SWIG_null_ref("wxTreeItemId");
33971 if (SWIG_arg_fail(2)) SWIG_fail
;
33974 if (!wxPyCheckForApp()) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33988 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= NULL
;
33990 wxPyListCtrl
*arg1
= 0 ;
33992 wxGenericDragImage
*result
;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "listCtrl",(char *) "id", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34002 if (SWIG_arg_fail(1)) SWIG_fail
;
34003 if (arg1
== NULL
) {
34004 SWIG_null_ref("wxPyListCtrl");
34006 if (SWIG_arg_fail(1)) SWIG_fail
;
34009 arg2
= static_cast<long >(SWIG_As_long(obj1
));
34010 if (SWIG_arg_fail(2)) SWIG_fail
;
34013 if (!wxPyCheckForApp()) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34027 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
= NULL
;
34029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34030 PyObject
* obj0
= 0 ;
34031 char *kwnames
[] = {
34032 (char *) "self", NULL
34035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34037 if (SWIG_arg_fail(1)) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34045 Py_INCREF(Py_None
); resultobj
= Py_None
;
34052 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34053 PyObject
*resultobj
= NULL
;
34054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34055 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char *kwnames
[] = {
34059 (char *) "self",(char *) "bitmap", NULL
34062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34064 if (SWIG_arg_fail(1)) SWIG_fail
;
34065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34066 if (SWIG_arg_fail(2)) SWIG_fail
;
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 (arg1
)->SetBackingBitmap(arg2
);
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 Py_INCREF(Py_None
); resultobj
= Py_None
;
34081 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= NULL
;
34083 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34084 wxPoint
*arg2
= 0 ;
34085 wxWindow
*arg3
= (wxWindow
*) 0 ;
34086 bool arg4
= (bool) false ;
34087 wxRect
*arg5
= (wxRect
*) NULL
;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 PyObject
* obj2
= 0 ;
34093 PyObject
* obj3
= 0 ;
34094 PyObject
* obj4
= 0 ;
34095 char *kwnames
[] = {
34096 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34101 if (SWIG_arg_fail(1)) SWIG_fail
;
34104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34106 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(3)) SWIG_fail
;
34110 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
34111 if (SWIG_arg_fail(4)) SWIG_fail
;
34115 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34116 if (SWIG_arg_fail(5)) SWIG_fail
;
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34134 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34135 PyObject
*resultobj
= NULL
;
34136 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34137 wxPoint
*arg2
= 0 ;
34138 wxWindow
*arg3
= (wxWindow
*) 0 ;
34139 wxWindow
*arg4
= (wxWindow
*) 0 ;
34142 PyObject
* obj0
= 0 ;
34143 PyObject
* obj1
= 0 ;
34144 PyObject
* obj2
= 0 ;
34145 PyObject
* obj3
= 0 ;
34146 char *kwnames
[] = {
34147 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34152 if (SWIG_arg_fail(1)) SWIG_fail
;
34155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34158 if (SWIG_arg_fail(3)) SWIG_fail
;
34159 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34160 if (SWIG_arg_fail(4)) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34177 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
= NULL
;
34179 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34181 PyObject
* obj0
= 0 ;
34182 char *kwnames
[] = {
34183 (char *) "self", NULL
34186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34188 if (SWIG_arg_fail(1)) SWIG_fail
;
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 result
= (bool)(arg1
)->EndDrag();
34193 wxPyEndAllowThreads(__tstate
);
34194 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34205 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
= NULL
;
34207 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34208 wxPoint
*arg2
= 0 ;
34211 PyObject
* obj0
= 0 ;
34212 PyObject
* obj1
= 0 ;
34213 char *kwnames
[] = {
34214 (char *) "self",(char *) "pt", NULL
34217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail
;
34222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34240 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34241 PyObject
*resultobj
= NULL
;
34242 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34244 PyObject
* obj0
= 0 ;
34245 char *kwnames
[] = {
34246 (char *) "self", NULL
34249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34251 if (SWIG_arg_fail(1)) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 result
= (bool)(arg1
)->Show();
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34268 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= NULL
;
34270 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34272 PyObject
* obj0
= 0 ;
34273 char *kwnames
[] = {
34274 (char *) "self", NULL
34277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34279 if (SWIG_arg_fail(1)) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 result
= (bool)(arg1
)->Hide();
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34296 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
= NULL
;
34298 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34299 wxPoint
*arg2
= 0 ;
34302 PyObject
* obj0
= 0 ;
34303 PyObject
* obj1
= 0 ;
34304 char *kwnames
[] = {
34305 (char *) "self",(char *) "pos", NULL
34308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34310 if (SWIG_arg_fail(1)) SWIG_fail
;
34313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34323 wxRect
* resultptr
;
34324 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
34325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34333 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
= NULL
;
34335 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34337 wxPoint
*arg3
= 0 ;
34340 PyObject
* obj0
= 0 ;
34341 PyObject
* obj1
= 0 ;
34342 PyObject
* obj2
= 0 ;
34343 char *kwnames
[] = {
34344 (char *) "self",(char *) "dc",(char *) "pos", NULL
34347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34349 if (SWIG_arg_fail(1)) SWIG_fail
;
34351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34352 if (SWIG_arg_fail(2)) SWIG_fail
;
34353 if (arg2
== NULL
) {
34354 SWIG_null_ref("wxDC");
34356 if (SWIG_arg_fail(2)) SWIG_fail
;
34360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34378 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
= NULL
;
34380 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34382 wxMemoryDC
*arg3
= 0 ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 PyObject
* obj2
= 0 ;
34391 PyObject
* obj3
= 0 ;
34392 PyObject
* obj4
= 0 ;
34393 char *kwnames
[] = {
34394 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34399 if (SWIG_arg_fail(1)) SWIG_fail
;
34401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34402 if (SWIG_arg_fail(2)) SWIG_fail
;
34403 if (arg2
== NULL
) {
34404 SWIG_null_ref("wxDC");
34406 if (SWIG_arg_fail(2)) SWIG_fail
;
34409 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34410 if (SWIG_arg_fail(3)) SWIG_fail
;
34411 if (arg3
== NULL
) {
34412 SWIG_null_ref("wxMemoryDC");
34414 if (SWIG_arg_fail(3)) SWIG_fail
;
34418 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34422 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34440 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
= NULL
;
34442 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34443 wxPoint
*arg2
= 0 ;
34444 wxPoint
*arg3
= 0 ;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 PyObject
* obj2
= 0 ;
34453 PyObject
* obj3
= 0 ;
34454 PyObject
* obj4
= 0 ;
34455 char *kwnames
[] = {
34456 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34461 if (SWIG_arg_fail(1)) SWIG_fail
;
34464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34468 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34471 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
34472 if (SWIG_arg_fail(4)) SWIG_fail
;
34475 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
34476 if (SWIG_arg_fail(5)) SWIG_fail
;
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34494 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34497 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34499 return Py_BuildValue((char *)"");
34501 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34502 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34507 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34508 PyObject
*pyobj
= NULL
;
34512 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34514 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34521 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34522 PyObject
*resultobj
= NULL
;
34523 wxWindow
*arg1
= (wxWindow
*) 0 ;
34524 int arg2
= (int) -1 ;
34525 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34526 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34531 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34532 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34533 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34534 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34536 wxDatePickerCtrl
*result
;
34539 bool temp8
= false ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 PyObject
* obj2
= 0 ;
34543 PyObject
* obj3
= 0 ;
34544 PyObject
* obj4
= 0 ;
34545 PyObject
* obj5
= 0 ;
34546 PyObject
* obj6
= 0 ;
34547 PyObject
* obj7
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34554 if (SWIG_arg_fail(1)) SWIG_fail
;
34557 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34558 if (SWIG_arg_fail(2)) SWIG_fail
;
34563 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34564 if (SWIG_arg_fail(3)) SWIG_fail
;
34565 if (arg3
== NULL
) {
34566 SWIG_null_ref("wxDateTime");
34568 if (SWIG_arg_fail(3)) SWIG_fail
;
34574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34585 arg6
= static_cast<long >(SWIG_As_long(obj5
));
34586 if (SWIG_arg_fail(6)) SWIG_fail
;
34591 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34592 if (SWIG_arg_fail(7)) SWIG_fail
;
34593 if (arg7
== NULL
) {
34594 SWIG_null_ref("wxValidator");
34596 if (SWIG_arg_fail(7)) SWIG_fail
;
34601 arg8
= wxString_in_helper(obj7
);
34602 if (arg8
== NULL
) SWIG_fail
;
34607 if (!wxPyCheckForApp()) SWIG_fail
;
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34629 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
= NULL
;
34631 wxDatePickerCtrl
*result
;
34632 char *kwnames
[] = {
34636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34638 if (!wxPyCheckForApp()) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34652 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
= NULL
;
34654 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34655 wxWindow
*arg2
= (wxWindow
*) 0 ;
34656 int arg3
= (int) -1 ;
34657 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34658 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34663 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34664 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34665 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34666 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34667 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34671 bool temp9
= false ;
34672 PyObject
* obj0
= 0 ;
34673 PyObject
* obj1
= 0 ;
34674 PyObject
* obj2
= 0 ;
34675 PyObject
* obj3
= 0 ;
34676 PyObject
* obj4
= 0 ;
34677 PyObject
* obj5
= 0 ;
34678 PyObject
* obj6
= 0 ;
34679 PyObject
* obj7
= 0 ;
34680 PyObject
* obj8
= 0 ;
34681 char *kwnames
[] = {
34682 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34687 if (SWIG_arg_fail(1)) SWIG_fail
;
34688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34689 if (SWIG_arg_fail(2)) SWIG_fail
;
34692 arg3
= static_cast<int >(SWIG_As_int(obj2
));
34693 if (SWIG_arg_fail(3)) SWIG_fail
;
34698 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34699 if (SWIG_arg_fail(4)) SWIG_fail
;
34700 if (arg4
== NULL
) {
34701 SWIG_null_ref("wxDateTime");
34703 if (SWIG_arg_fail(4)) SWIG_fail
;
34709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34720 arg7
= static_cast<long >(SWIG_As_long(obj6
));
34721 if (SWIG_arg_fail(7)) SWIG_fail
;
34726 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34727 if (SWIG_arg_fail(8)) SWIG_fail
;
34728 if (arg8
== NULL
) {
34729 SWIG_null_ref("wxValidator");
34731 if (SWIG_arg_fail(8)) SWIG_fail
;
34736 arg9
= wxString_in_helper(obj8
);
34737 if (arg9
== NULL
) SWIG_fail
;
34742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34765 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
= NULL
;
34767 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34768 wxDateTime
*arg2
= 0 ;
34769 PyObject
* obj0
= 0 ;
34770 PyObject
* obj1
= 0 ;
34771 char *kwnames
[] = {
34772 (char *) "self",(char *) "dt", NULL
34775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34777 if (SWIG_arg_fail(1)) SWIG_fail
;
34779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34780 if (SWIG_arg_fail(2)) SWIG_fail
;
34781 if (arg2
== NULL
) {
34782 SWIG_null_ref("wxDateTime");
34784 if (SWIG_arg_fail(2)) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 Py_INCREF(Py_None
); resultobj
= Py_None
;
34800 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
= NULL
;
34802 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34804 PyObject
* obj0
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34811 if (SWIG_arg_fail(1)) SWIG_fail
;
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34820 wxDateTime
* resultptr
;
34821 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
34822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34830 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= NULL
;
34832 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34833 wxDateTime
*arg2
= 0 ;
34834 wxDateTime
*arg3
= 0 ;
34835 PyObject
* obj0
= 0 ;
34836 PyObject
* obj1
= 0 ;
34837 PyObject
* obj2
= 0 ;
34838 char *kwnames
[] = {
34839 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34844 if (SWIG_arg_fail(1)) SWIG_fail
;
34846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34847 if (SWIG_arg_fail(2)) SWIG_fail
;
34848 if (arg2
== NULL
) {
34849 SWIG_null_ref("wxDateTime");
34851 if (SWIG_arg_fail(2)) SWIG_fail
;
34854 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(3)) SWIG_fail
;
34856 if (arg3
== NULL
) {
34857 SWIG_null_ref("wxDateTime");
34859 if (SWIG_arg_fail(3)) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34868 Py_INCREF(Py_None
); resultobj
= Py_None
;
34875 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34876 PyObject
*resultobj
= NULL
;
34877 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 char *kwnames
[] = {
34881 (char *) "self", NULL
34884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34886 if (SWIG_arg_fail(1)) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 wxDateTime
* resultptr
;
34896 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
34897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34905 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
= NULL
;
34907 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34909 PyObject
* obj0
= 0 ;
34910 char *kwnames
[] = {
34911 (char *) "self", NULL
34914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34916 if (SWIG_arg_fail(1)) SWIG_fail
;
34918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34921 wxPyEndAllowThreads(__tstate
);
34922 if (PyErr_Occurred()) SWIG_fail
;
34925 wxDateTime
* resultptr
;
34926 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
34927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34935 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34938 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34940 return Py_BuildValue((char *)"");
34942 static PyMethodDef SwigMethods
[] = {
34943 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34965 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34977 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34983 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35014 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35033 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35040 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35046 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35054 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35077 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35116 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35172 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35177 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35189 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35202 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35214 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35218 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35243 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35269 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35277 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35299 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35305 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35316 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35318 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35324 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35326 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35333 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35335 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35365 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35410 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35416 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35428 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35480 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35507 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35580 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35592 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35600 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35607 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35624 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35700 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35722 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35727 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35754 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35762 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35767 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35769 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35778 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35780 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35798 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35807 { NULL
, NULL
, 0, NULL
}
35811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35813 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35816 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35817 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35819 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35820 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35822 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35823 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35825 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35826 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35828 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35829 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35831 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35832 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35834 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35835 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35837 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35838 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35840 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35843 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35846 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35847 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35849 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35850 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35852 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35853 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35855 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35856 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35858 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35859 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35861 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35862 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35864 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35867 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35868 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35870 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35873 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35874 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35876 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35877 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35879 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35880 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35882 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35883 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35885 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35886 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35888 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35889 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35891 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35894 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35895 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35897 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35898 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35900 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35901 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35903 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35904 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35906 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35907 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35909 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35910 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35912 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35913 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35915 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35916 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35918 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35919 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35921 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35924 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35925 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35927 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35928 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35930 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35933 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35934 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35936 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35937 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35939 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35940 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35942 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35943 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35945 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35946 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35948 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35949 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35951 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35952 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35954 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35955 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35957 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35958 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35960 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35961 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35963 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35964 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35966 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35967 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35969 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35970 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35972 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35973 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35975 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35976 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35978 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35979 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35981 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35982 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35984 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35985 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35987 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35988 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35990 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35991 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35993 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35994 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35996 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35997 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35999 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36000 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36002 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36003 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36005 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36006 return (void *)((wxControl
*) ((wxGauge
*) x
));
36008 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36009 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36011 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36012 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36014 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36015 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36017 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36018 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36020 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36021 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36023 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36024 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36026 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36027 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36029 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36030 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36032 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36033 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36035 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36036 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36038 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36039 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36041 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36042 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36044 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36045 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36047 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36048 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36050 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36051 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36053 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36054 return (void *)((wxControl
*) ((wxSlider
*) x
));
36056 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36057 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36059 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36060 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36062 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36063 return (void *)((wxControl
*) ((wxButton
*) x
));
36065 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36066 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36068 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36069 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36071 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36072 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36074 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36075 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36077 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36078 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36080 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36081 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36083 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36084 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36086 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36087 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36089 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36090 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36092 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36093 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36095 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36096 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36098 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36099 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36101 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36102 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36104 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36105 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36107 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36108 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36110 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36111 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36113 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36116 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36117 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36119 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36120 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36122 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36125 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36126 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36128 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36131 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36134 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36135 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36137 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36140 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36143 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36146 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36149 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36152 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36155 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36156 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36158 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36161 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36164 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36167 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36170 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36173 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36176 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36179 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36182 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36185 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36188 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36191 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36194 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36197 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36200 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36203 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36206 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36209 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36212 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36215 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36218 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36221 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36224 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36227 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36230 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36233 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36236 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36237 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36239 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36240 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36242 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36243 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36245 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36246 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36248 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36249 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36251 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36254 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36257 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36260 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36263 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36266 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36269 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36272 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36275 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) ((wxSizer
*) x
));
36278 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36281 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36284 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36287 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36290 static void *_p_wxEventTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) ((wxEvent
*) x
));
36293 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36296 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36299 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36302 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36305 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36308 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36311 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36314 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36317 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36320 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36323 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36326 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36329 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36332 static void *_p_wxControlTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36335 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36338 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36341 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36344 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36347 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36350 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36353 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36356 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36359 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36362 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36365 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36368 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36371 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36374 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36377 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36380 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36383 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36386 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36389 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36392 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36395 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36398 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36401 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36404 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36407 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36410 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36413 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36416 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36419 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36422 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36425 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36428 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36431 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36434 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36437 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36440 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36443 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36446 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36449 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36452 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36455 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36458 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36461 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36464 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36467 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36470 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36473 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36476 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36479 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36482 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36485 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36488 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36491 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36494 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36497 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36500 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36503 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36506 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36509 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36512 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) ((wxListItem
*) x
));
36515 static void *_p_wxImageTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) ((wxImage
*) x
));
36518 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36521 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36524 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36527 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36530 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36533 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36536 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36539 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36542 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36545 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36548 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36551 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36554 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36557 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36560 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36563 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36566 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36569 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36572 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36575 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36578 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36581 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36584 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36587 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36590 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36593 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36596 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36599 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36602 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36605 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36608 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36611 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36614 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36617 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36620 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36621 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36623 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36624 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36626 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36627 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36629 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36630 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36632 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36633 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36635 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36636 return (void *)((wxWindow
*) ((wxControl
*) x
));
36638 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36639 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36641 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36642 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36644 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36645 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36647 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36648 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36650 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36651 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36653 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36654 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36656 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36657 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36659 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36660 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36662 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36663 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36665 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36666 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36668 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36669 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36671 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36672 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36674 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36675 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36677 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36678 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36680 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36681 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36683 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36684 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36686 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36687 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36689 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36690 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36692 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36693 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36695 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36696 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36698 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36699 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36701 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36702 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36704 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36705 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36707 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36708 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36710 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36711 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36713 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36714 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36716 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36717 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36719 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36720 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36722 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36723 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36725 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36726 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36728 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36729 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36731 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36732 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36734 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36735 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36737 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36738 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36740 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36741 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36743 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36744 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36746 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36747 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36749 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36750 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36752 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36753 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36755 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36756 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36758 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36759 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36761 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36762 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36764 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36765 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36767 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36768 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36770 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36771 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36773 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36774 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36776 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36777 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36779 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36780 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36782 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36783 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36785 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36786 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36788 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36789 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36791 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36792 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36794 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36795 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36797 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36798 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36800 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36801 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36803 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36804 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36806 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36807 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36809 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
36810 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
36811 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
36812 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
36813 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
36814 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
36815 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
36816 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
36817 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
36818 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
36819 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
36820 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
36821 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
36822 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
36823 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
36824 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
36825 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
36826 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
36827 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
36828 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
36829 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
36830 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
36831 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
36832 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
36833 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
36834 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
36835 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
36836 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
36837 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
36838 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
36839 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
36840 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
36841 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
36842 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
36843 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
36844 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
36845 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
36846 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
36847 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
36848 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
36849 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
36850 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
36851 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
36852 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
36853 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
36854 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
36855 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
36856 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
36857 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
36858 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
36859 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
36860 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
36861 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
36862 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
36863 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
36864 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
36865 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
36866 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
36867 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
36868 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
36869 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
36870 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
36871 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
36872 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
36873 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
36874 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
36875 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
36876 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
36877 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
36878 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
36879 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
36880 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
36881 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
36882 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
36883 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
36884 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
36885 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
36886 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
36887 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
36888 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
36889 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
36890 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
36891 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
36892 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
36893 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
36894 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
36895 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
36896 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
36897 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
36898 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
36899 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
36900 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
36901 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
36902 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
36903 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
36904 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
36905 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
36906 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
36907 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
36908 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
36909 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
36910 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
36911 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
36912 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
36913 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
36914 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
36915 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
36916 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
36917 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
36918 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
36919 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
36920 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
36921 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
36922 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
36923 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
36924 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
36925 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
36926 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
36927 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
36928 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
36929 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
36930 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
36931 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
36932 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
36933 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
36934 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
36935 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
36936 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
36937 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
36938 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
36939 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
36940 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
36941 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
36942 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
36943 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
36944 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
36945 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
36946 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
36947 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
36948 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
36949 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
36950 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
36951 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
36952 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
36953 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
36954 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
36955 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
36956 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
36957 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
36958 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
36959 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
36960 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
36961 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
36962 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
36963 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
36964 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
36965 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
36966 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
36967 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
36968 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
36969 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
36971 static swig_type_info
*swig_type_initial
[] = {
36974 &_swigt__p_form_ops_t
,
36977 &_swigt__p_unsigned_char
,
36978 &_swigt__p_unsigned_int
,
36979 &_swigt__p_unsigned_long
,
36981 &_swigt__p_wxANIHandler
,
36982 &_swigt__p_wxAcceleratorTable
,
36983 &_swigt__p_wxActivateEvent
,
36984 &_swigt__p_wxArrayInt
,
36985 &_swigt__p_wxArrayString
,
36986 &_swigt__p_wxBMPHandler
,
36987 &_swigt__p_wxBitmap
,
36988 &_swigt__p_wxBitmapButton
,
36989 &_swigt__p_wxBookCtrlBase
,
36990 &_swigt__p_wxBookCtrlBaseEvent
,
36991 &_swigt__p_wxBoxSizer
,
36992 &_swigt__p_wxButton
,
36993 &_swigt__p_wxCURHandler
,
36994 &_swigt__p_wxCheckBox
,
36995 &_swigt__p_wxCheckListBox
,
36996 &_swigt__p_wxChildFocusEvent
,
36997 &_swigt__p_wxChoice
,
36998 &_swigt__p_wxChoicebook
,
36999 &_swigt__p_wxChoicebookEvent
,
37000 &_swigt__p_wxCloseEvent
,
37001 &_swigt__p_wxColour
,
37002 &_swigt__p_wxComboBox
,
37003 &_swigt__p_wxCommandEvent
,
37004 &_swigt__p_wxContextHelp
,
37005 &_swigt__p_wxContextHelpButton
,
37006 &_swigt__p_wxContextMenuEvent
,
37007 &_swigt__p_wxControl
,
37008 &_swigt__p_wxControlWithItems
,
37009 &_swigt__p_wxCursor
,
37011 &_swigt__p_wxDateEvent
,
37012 &_swigt__p_wxDatePickerCtrl
,
37013 &_swigt__p_wxDateTime
,
37014 &_swigt__p_wxDirFilterListCtrl
,
37015 &_swigt__p_wxDisplayChangedEvent
,
37016 &_swigt__p_wxDropFilesEvent
,
37017 &_swigt__p_wxDuplexMode
,
37018 &_swigt__p_wxEraseEvent
,
37019 &_swigt__p_wxEvent
,
37020 &_swigt__p_wxEvtHandler
,
37021 &_swigt__p_wxFSFile
,
37022 &_swigt__p_wxFileSystem
,
37023 &_swigt__p_wxFlexGridSizer
,
37024 &_swigt__p_wxFocusEvent
,
37026 &_swigt__p_wxGBSizerItem
,
37027 &_swigt__p_wxGIFHandler
,
37028 &_swigt__p_wxGauge
,
37029 &_swigt__p_wxGenericDirCtrl
,
37030 &_swigt__p_wxGenericDragImage
,
37031 &_swigt__p_wxGridBagSizer
,
37032 &_swigt__p_wxGridSizer
,
37033 &_swigt__p_wxHelpEvent
,
37034 &_swigt__p_wxHelpProvider
,
37035 &_swigt__p_wxICOHandler
,
37037 &_swigt__p_wxIconizeEvent
,
37038 &_swigt__p_wxIdleEvent
,
37039 &_swigt__p_wxImage
,
37040 &_swigt__p_wxImageHandler
,
37041 &_swigt__p_wxImageList
,
37042 &_swigt__p_wxIndividualLayoutConstraint
,
37043 &_swigt__p_wxInitDialogEvent
,
37044 &_swigt__p_wxItemContainer
,
37045 &_swigt__p_wxJPEGHandler
,
37046 &_swigt__p_wxKeyEvent
,
37047 &_swigt__p_wxLayoutConstraints
,
37048 &_swigt__p_wxListBox
,
37049 &_swigt__p_wxListEvent
,
37050 &_swigt__p_wxListItem
,
37051 &_swigt__p_wxListItemAttr
,
37052 &_swigt__p_wxListView
,
37053 &_swigt__p_wxListbook
,
37054 &_swigt__p_wxListbookEvent
,
37055 &_swigt__p_wxMaximizeEvent
,
37056 &_swigt__p_wxMemoryDC
,
37058 &_swigt__p_wxMenuBar
,
37059 &_swigt__p_wxMenuEvent
,
37060 &_swigt__p_wxMenuItem
,
37061 &_swigt__p_wxMouseCaptureChangedEvent
,
37062 &_swigt__p_wxMouseEvent
,
37063 &_swigt__p_wxMoveEvent
,
37064 &_swigt__p_wxNavigationKeyEvent
,
37065 &_swigt__p_wxNcPaintEvent
,
37066 &_swigt__p_wxNotebook
,
37067 &_swigt__p_wxNotebookEvent
,
37068 &_swigt__p_wxNotifyEvent
,
37069 &_swigt__p_wxObject
,
37070 &_swigt__p_wxPCXHandler
,
37071 &_swigt__p_wxPNGHandler
,
37072 &_swigt__p_wxPNMHandler
,
37073 &_swigt__p_wxPaintEvent
,
37074 &_swigt__p_wxPaletteChangedEvent
,
37075 &_swigt__p_wxPaperSize
,
37076 &_swigt__p_wxPoint
,
37077 &_swigt__p_wxPyApp
,
37078 &_swigt__p_wxPyCommandEvent
,
37079 &_swigt__p_wxPyControl
,
37080 &_swigt__p_wxPyEvent
,
37081 &_swigt__p_wxPyImageHandler
,
37082 &_swigt__p_wxPyListCtrl
,
37083 &_swigt__p_wxPySizer
,
37084 &_swigt__p_wxPyTreeCtrl
,
37085 &_swigt__p_wxPyTreeItemData
,
37086 &_swigt__p_wxPyValidator
,
37087 &_swigt__p_wxQueryNewPaletteEvent
,
37088 &_swigt__p_wxRadioBox
,
37089 &_swigt__p_wxRadioButton
,
37091 &_swigt__p_wxScrollBar
,
37092 &_swigt__p_wxScrollEvent
,
37093 &_swigt__p_wxScrollWinEvent
,
37094 &_swigt__p_wxSetCursorEvent
,
37095 &_swigt__p_wxShowEvent
,
37096 &_swigt__p_wxSimpleHelpProvider
,
37098 &_swigt__p_wxSizeEvent
,
37099 &_swigt__p_wxSizer
,
37100 &_swigt__p_wxSizerItem
,
37101 &_swigt__p_wxSlider
,
37102 &_swigt__p_wxSpinButton
,
37103 &_swigt__p_wxSpinCtrl
,
37104 &_swigt__p_wxSpinEvent
,
37105 &_swigt__p_wxStaticBitmap
,
37106 &_swigt__p_wxStaticBox
,
37107 &_swigt__p_wxStaticBoxSizer
,
37108 &_swigt__p_wxStaticLine
,
37109 &_swigt__p_wxStaticText
,
37110 &_swigt__p_wxStdDialogButtonSizer
,
37111 &_swigt__p_wxString
,
37112 &_swigt__p_wxSysColourChangedEvent
,
37113 &_swigt__p_wxTIFFHandler
,
37114 &_swigt__p_wxTextAttr
,
37115 &_swigt__p_wxTextCtrl
,
37116 &_swigt__p_wxTextUrlEvent
,
37117 &_swigt__p_wxToggleButton
,
37118 &_swigt__p_wxToolBar
,
37119 &_swigt__p_wxToolBarBase
,
37120 &_swigt__p_wxToolBarToolBase
,
37121 &_swigt__p_wxTreeEvent
,
37122 &_swigt__p_wxTreeItemId
,
37123 &_swigt__p_wxUpdateUIEvent
,
37124 &_swigt__p_wxValidator
,
37125 &_swigt__p_wxVisualAttributes
,
37126 &_swigt__p_wxWindow
,
37127 &_swigt__p_wxWindowCreateEvent
,
37128 &_swigt__p_wxWindowDestroyEvent
,
37129 &_swigt__p_wxXPMHandler
,
37130 &_swigt__ptrdiff_t
,
37131 &_swigt__std__ptrdiff_t
,
37132 &_swigt__unsigned_int
,
37135 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37138 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37139 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
37140 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37141 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37142 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37143 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37144 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
37145 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37146 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37147 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}};
37148 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_wxNotebook
, _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0},{0, 0, 0, 0}};
37149 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},{0, 0, 0, 0}};
37150 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}};
37151 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
37152 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
37153 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}};
37154 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
37155 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37156 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37157 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
37158 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37159 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37160 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37161 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37162 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37163 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37164 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37165 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37166 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_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_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}};
37167 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
37168 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
37169 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_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_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_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}};
37170 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}};
37171 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37172 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37173 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37174 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37175 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37176 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37177 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37178 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37179 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37180 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37181 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37182 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37183 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37184 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37185 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37186 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37187 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37188 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37189 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37190 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37191 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37192 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37193 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37194 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37195 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37196 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37197 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37198 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37199 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37200 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37201 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_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_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_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}};
37202 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37203 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37204 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37205 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37206 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_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_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_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_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}};
37207 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37208 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
37209 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37210 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
37211 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
37212 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}};
37213 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37214 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37215 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}};
37216 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37217 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}};
37218 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
37219 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
37220 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
37221 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
37222 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
37223 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37224 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
37225 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37226 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
37227 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37228 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_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37229 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37230 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37231 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37232 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37233 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37234 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37235 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37236 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37237 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37238 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37239 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37240 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37241 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37242 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37243 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37244 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37245 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37246 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37247 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37248 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37249 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37250 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37251 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37252 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37253 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37254 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37255 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37256 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37257 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37258 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37259 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_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_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_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_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_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_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_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_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_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_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_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}};
37260 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37261 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37262 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
37263 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}};
37264 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37265 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
37266 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
37267 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
37268 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37269 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
37270 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
37271 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37272 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
37273 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
37274 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37275 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37276 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37277 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
37278 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
37279 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
37280 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37281 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
37282 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37283 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
37284 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
37285 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
37286 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}};
37287 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
37288 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37289 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
37290 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}};
37291 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
37292 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_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_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_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_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_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}};
37293 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
37294 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
37295 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37297 static swig_cast_info
*swig_cast_initial
[] = {
37300 _swigc__p_form_ops_t
,
37303 _swigc__p_unsigned_char
,
37304 _swigc__p_unsigned_int
,
37305 _swigc__p_unsigned_long
,
37307 _swigc__p_wxANIHandler
,
37308 _swigc__p_wxAcceleratorTable
,
37309 _swigc__p_wxActivateEvent
,
37310 _swigc__p_wxArrayInt
,
37311 _swigc__p_wxArrayString
,
37312 _swigc__p_wxBMPHandler
,
37313 _swigc__p_wxBitmap
,
37314 _swigc__p_wxBitmapButton
,
37315 _swigc__p_wxBookCtrlBase
,
37316 _swigc__p_wxBookCtrlBaseEvent
,
37317 _swigc__p_wxBoxSizer
,
37318 _swigc__p_wxButton
,
37319 _swigc__p_wxCURHandler
,
37320 _swigc__p_wxCheckBox
,
37321 _swigc__p_wxCheckListBox
,
37322 _swigc__p_wxChildFocusEvent
,
37323 _swigc__p_wxChoice
,
37324 _swigc__p_wxChoicebook
,
37325 _swigc__p_wxChoicebookEvent
,
37326 _swigc__p_wxCloseEvent
,
37327 _swigc__p_wxColour
,
37328 _swigc__p_wxComboBox
,
37329 _swigc__p_wxCommandEvent
,
37330 _swigc__p_wxContextHelp
,
37331 _swigc__p_wxContextHelpButton
,
37332 _swigc__p_wxContextMenuEvent
,
37333 _swigc__p_wxControl
,
37334 _swigc__p_wxControlWithItems
,
37335 _swigc__p_wxCursor
,
37337 _swigc__p_wxDateEvent
,
37338 _swigc__p_wxDatePickerCtrl
,
37339 _swigc__p_wxDateTime
,
37340 _swigc__p_wxDirFilterListCtrl
,
37341 _swigc__p_wxDisplayChangedEvent
,
37342 _swigc__p_wxDropFilesEvent
,
37343 _swigc__p_wxDuplexMode
,
37344 _swigc__p_wxEraseEvent
,
37346 _swigc__p_wxEvtHandler
,
37347 _swigc__p_wxFSFile
,
37348 _swigc__p_wxFileSystem
,
37349 _swigc__p_wxFlexGridSizer
,
37350 _swigc__p_wxFocusEvent
,
37352 _swigc__p_wxGBSizerItem
,
37353 _swigc__p_wxGIFHandler
,
37355 _swigc__p_wxGenericDirCtrl
,
37356 _swigc__p_wxGenericDragImage
,
37357 _swigc__p_wxGridBagSizer
,
37358 _swigc__p_wxGridSizer
,
37359 _swigc__p_wxHelpEvent
,
37360 _swigc__p_wxHelpProvider
,
37361 _swigc__p_wxICOHandler
,
37363 _swigc__p_wxIconizeEvent
,
37364 _swigc__p_wxIdleEvent
,
37366 _swigc__p_wxImageHandler
,
37367 _swigc__p_wxImageList
,
37368 _swigc__p_wxIndividualLayoutConstraint
,
37369 _swigc__p_wxInitDialogEvent
,
37370 _swigc__p_wxItemContainer
,
37371 _swigc__p_wxJPEGHandler
,
37372 _swigc__p_wxKeyEvent
,
37373 _swigc__p_wxLayoutConstraints
,
37374 _swigc__p_wxListBox
,
37375 _swigc__p_wxListEvent
,
37376 _swigc__p_wxListItem
,
37377 _swigc__p_wxListItemAttr
,
37378 _swigc__p_wxListView
,
37379 _swigc__p_wxListbook
,
37380 _swigc__p_wxListbookEvent
,
37381 _swigc__p_wxMaximizeEvent
,
37382 _swigc__p_wxMemoryDC
,
37384 _swigc__p_wxMenuBar
,
37385 _swigc__p_wxMenuEvent
,
37386 _swigc__p_wxMenuItem
,
37387 _swigc__p_wxMouseCaptureChangedEvent
,
37388 _swigc__p_wxMouseEvent
,
37389 _swigc__p_wxMoveEvent
,
37390 _swigc__p_wxNavigationKeyEvent
,
37391 _swigc__p_wxNcPaintEvent
,
37392 _swigc__p_wxNotebook
,
37393 _swigc__p_wxNotebookEvent
,
37394 _swigc__p_wxNotifyEvent
,
37395 _swigc__p_wxObject
,
37396 _swigc__p_wxPCXHandler
,
37397 _swigc__p_wxPNGHandler
,
37398 _swigc__p_wxPNMHandler
,
37399 _swigc__p_wxPaintEvent
,
37400 _swigc__p_wxPaletteChangedEvent
,
37401 _swigc__p_wxPaperSize
,
37404 _swigc__p_wxPyCommandEvent
,
37405 _swigc__p_wxPyControl
,
37406 _swigc__p_wxPyEvent
,
37407 _swigc__p_wxPyImageHandler
,
37408 _swigc__p_wxPyListCtrl
,
37409 _swigc__p_wxPySizer
,
37410 _swigc__p_wxPyTreeCtrl
,
37411 _swigc__p_wxPyTreeItemData
,
37412 _swigc__p_wxPyValidator
,
37413 _swigc__p_wxQueryNewPaletteEvent
,
37414 _swigc__p_wxRadioBox
,
37415 _swigc__p_wxRadioButton
,
37417 _swigc__p_wxScrollBar
,
37418 _swigc__p_wxScrollEvent
,
37419 _swigc__p_wxScrollWinEvent
,
37420 _swigc__p_wxSetCursorEvent
,
37421 _swigc__p_wxShowEvent
,
37422 _swigc__p_wxSimpleHelpProvider
,
37424 _swigc__p_wxSizeEvent
,
37426 _swigc__p_wxSizerItem
,
37427 _swigc__p_wxSlider
,
37428 _swigc__p_wxSpinButton
,
37429 _swigc__p_wxSpinCtrl
,
37430 _swigc__p_wxSpinEvent
,
37431 _swigc__p_wxStaticBitmap
,
37432 _swigc__p_wxStaticBox
,
37433 _swigc__p_wxStaticBoxSizer
,
37434 _swigc__p_wxStaticLine
,
37435 _swigc__p_wxStaticText
,
37436 _swigc__p_wxStdDialogButtonSizer
,
37437 _swigc__p_wxString
,
37438 _swigc__p_wxSysColourChangedEvent
,
37439 _swigc__p_wxTIFFHandler
,
37440 _swigc__p_wxTextAttr
,
37441 _swigc__p_wxTextCtrl
,
37442 _swigc__p_wxTextUrlEvent
,
37443 _swigc__p_wxToggleButton
,
37444 _swigc__p_wxToolBar
,
37445 _swigc__p_wxToolBarBase
,
37446 _swigc__p_wxToolBarToolBase
,
37447 _swigc__p_wxTreeEvent
,
37448 _swigc__p_wxTreeItemId
,
37449 _swigc__p_wxUpdateUIEvent
,
37450 _swigc__p_wxValidator
,
37451 _swigc__p_wxVisualAttributes
,
37452 _swigc__p_wxWindow
,
37453 _swigc__p_wxWindowCreateEvent
,
37454 _swigc__p_wxWindowDestroyEvent
,
37455 _swigc__p_wxXPMHandler
,
37457 _swigc__std__ptrdiff_t
,
37458 _swigc__unsigned_int
,
37462 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37464 static swig_const_info swig_const_table
[] = {
37465 {0, 0, 0, 0.0, 0, 0}};
37470 /*************************************************************************
37471 * Type initialization:
37472 * This problem is tough by the requirement that no dynamic
37473 * memory is used. Also, since swig_type_info structures store pointers to
37474 * swig_cast_info structures and swig_cast_info structures store pointers back
37475 * to swig_type_info structures, we need some lookup code at initialization.
37476 * The idea is that swig generates all the structures that are needed.
37477 * The runtime then collects these partially filled structures.
37478 * The SWIG_InitializeModule function takes these initial arrays out of
37479 * swig_module, and does all the lookup, filling in the swig_module.types
37480 * array with the correct data and linking the correct swig_cast_info
37481 * structures together.
37483 * The generated swig_type_info structures are assigned staticly to an initial
37484 * array. We just loop though that array, and handle each type individually.
37485 * First we lookup if this type has been already loaded, and if so, use the
37486 * loaded structure instead of the generated one. Then we have to fill in the
37487 * cast linked list. The cast data is initially stored in something like a
37488 * two-dimensional array. Each row corresponds to a type (there are the same
37489 * number of rows as there are in the swig_type_initial array). Each entry in
37490 * a column is one of the swig_cast_info structures for that type.
37491 * The cast_initial array is actually an array of arrays, because each row has
37492 * a variable number of columns. So to actually build the cast linked list,
37493 * we find the array of casts associated with the type, and loop through it
37494 * adding the casts to the list. The one last trick we need to do is making
37495 * sure the type pointer in the swig_cast_info struct is correct.
37497 * First off, we lookup the cast->type name to see if it is already loaded.
37498 * There are three cases to handle:
37499 * 1) If the cast->type has already been loaded AND the type we are adding
37500 * casting info to has not been loaded (it is in this module), THEN we
37501 * replace the cast->type pointer with the type pointer that has already
37503 * 2) If BOTH types (the one we are adding casting info to, and the
37504 * cast->type) are loaded, THEN the cast info has already been loaded by
37505 * the previous module so we just ignore it.
37506 * 3) Finally, if cast->type has not already been loaded, then we add that
37507 * swig_cast_info to the linked list (because the cast->type) pointer will
37519 #define SWIGRUNTIME_DEBUG
37523 SWIG_InitializeModule(void *clientdata
) {
37525 swig_module_info
*module_head
;
37526 static int init_run
= 0;
37528 clientdata
= clientdata
;
37530 if (init_run
) return;
37533 /* Initialize the swig_module */
37534 swig_module
.type_initial
= swig_type_initial
;
37535 swig_module
.cast_initial
= swig_cast_initial
;
37537 /* Try and load any already created modules */
37538 module_head
= SWIG_GetModule(clientdata
);
37540 swig_module
.next
= module_head
->next
;
37541 module_head
->next
= &swig_module
;
37543 /* This is the first module loaded */
37544 swig_module
.next
= &swig_module
;
37545 SWIG_SetModule(clientdata
, &swig_module
);
37548 /* Now work on filling in swig_module.types */
37549 #ifdef SWIGRUNTIME_DEBUG
37550 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37552 for (i
= 0; i
< swig_module
.size
; ++i
) {
37553 swig_type_info
*type
= 0;
37554 swig_type_info
*ret
;
37555 swig_cast_info
*cast
;
37557 #ifdef SWIGRUNTIME_DEBUG
37558 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37561 /* if there is another module already loaded */
37562 if (swig_module
.next
!= &swig_module
) {
37563 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37566 /* Overwrite clientdata field */
37567 #ifdef SWIGRUNTIME_DEBUG
37568 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37570 if (swig_module
.type_initial
[i
]->clientdata
) {
37571 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37572 #ifdef SWIGRUNTIME_DEBUG
37573 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37577 type
= swig_module
.type_initial
[i
];
37580 /* Insert casting types */
37581 cast
= swig_module
.cast_initial
[i
];
37582 while (cast
->type
) {
37583 /* Don't need to add information already in the list */
37585 #ifdef SWIGRUNTIME_DEBUG
37586 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37588 if (swig_module
.next
!= &swig_module
) {
37589 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37590 #ifdef SWIGRUNTIME_DEBUG
37591 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37595 if (type
== swig_module
.type_initial
[i
]) {
37596 #ifdef SWIGRUNTIME_DEBUG
37597 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37602 /* Check for casting already in the list */
37603 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37604 #ifdef SWIGRUNTIME_DEBUG
37605 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37607 if (!ocast
) ret
= 0;
37612 #ifdef SWIGRUNTIME_DEBUG
37613 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37616 type
->cast
->prev
= cast
;
37617 cast
->next
= type
->cast
;
37623 /* Set entry in modules->types array equal to the type */
37624 swig_module
.types
[i
] = type
;
37626 swig_module
.types
[i
] = 0;
37628 #ifdef SWIGRUNTIME_DEBUG
37629 printf("**** SWIG_InitializeModule: Cast List ******\n");
37630 for (i
= 0; i
< swig_module
.size
; ++i
) {
37632 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37633 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37634 while (cast
->type
) {
37635 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37639 printf("---- Total casts: %d\n",j
);
37641 printf("**** SWIG_InitializeModule: Cast List ******\n");
37645 /* This function will propagate the clientdata field of type to
37646 * any new swig_type_info structures that have been added into the list
37647 * of equivalent types. It is like calling
37648 * SWIG_TypeClientData(type, clientdata) a second time.
37651 SWIG_PropagateClientData(void) {
37653 swig_cast_info
*equiv
;
37654 static int init_run
= 0;
37656 if (init_run
) return;
37659 for (i
= 0; i
< swig_module
.size
; i
++) {
37660 if (swig_module
.types
[i
]->clientdata
) {
37661 equiv
= swig_module
.types
[i
]->cast
;
37663 if (!equiv
->converter
) {
37664 if (equiv
->type
&& !equiv
->type
->clientdata
)
37665 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37667 equiv
= equiv
->next
;
37687 /* Python-specific SWIG API */
37688 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37689 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37690 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37692 /* -----------------------------------------------------------------------------
37693 * global variable support code.
37694 * ----------------------------------------------------------------------------- */
37696 typedef struct swig_globalvar
{
37697 char *name
; /* Name of global variable */
37698 PyObject
*(*get_attr
)(void); /* Return the current value */
37699 int (*set_attr
)(PyObject
*); /* Set the value */
37700 struct swig_globalvar
*next
;
37703 typedef struct swig_varlinkobject
{
37705 swig_globalvar
*vars
;
37706 } swig_varlinkobject
;
37708 SWIGINTERN PyObject
*
37709 swig_varlink_repr(swig_varlinkobject
*v
) {
37711 return PyString_FromString("<Swig global variables>");
37715 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37716 swig_globalvar
*var
;
37718 fprintf(fp
,"Swig global variables { ");
37719 for (var
= v
->vars
; var
; var
=var
->next
) {
37720 fprintf(fp
,"%s", var
->name
);
37721 if (var
->next
) fprintf(fp
,", ");
37723 fprintf(fp
," }\n");
37727 SWIGINTERN PyObject
*
37728 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37729 swig_globalvar
*var
= v
->vars
;
37731 if (strcmp(var
->name
,n
) == 0) {
37732 return (*var
->get_attr
)();
37736 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37741 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37742 swig_globalvar
*var
= v
->vars
;
37744 if (strcmp(var
->name
,n
) == 0) {
37745 return (*var
->set_attr
)(p
);
37749 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37753 SWIGINTERN PyTypeObject
*
37754 swig_varlink_type(void) {
37755 static char varlink__doc__
[] = "Swig var link object";
37756 static PyTypeObject varlink_type
37757 #if !defined(__cplusplus)
37759 static int type_init
= 0;
37764 PyObject_HEAD_INIT(&PyType_Type
)
37765 0, /* Number of items in variable part (ob_size) */
37766 (char *)"swigvarlink", /* Type name (tp_name) */
37767 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37768 0, /* Itemsize (tp_itemsize) */
37769 0, /* Deallocator (tp_dealloc) */
37770 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37771 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37772 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37773 0, /* tp_compare */
37774 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37775 0, /* tp_as_number */
37776 0, /* tp_as_sequence */
37777 0, /* tp_as_mapping */
37781 0, /* tp_getattro */
37782 0, /* tp_setattro */
37783 0, /* tp_as_buffer */
37785 varlink__doc__
, /* tp_doc */
37786 #if PY_VERSION_HEX >= 0x02000000
37787 0, /* tp_traverse */
37790 #if PY_VERSION_HEX >= 0x02010000
37791 0, /* tp_richcompare */
37792 0, /* tp_weaklistoffset */
37794 #if PY_VERSION_HEX >= 0x02020000
37795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37797 #if PY_VERSION_HEX >= 0x02030000
37800 #ifdef COUNT_ALLOCS
37801 0,0,0,0 /* tp_alloc -> tp_next */
37804 #if !defined(__cplusplus)
37805 varlink_type
= tmp
;
37809 return &varlink_type
;
37812 /* Create a variable linking object for use later */
37813 SWIGINTERN PyObject
*
37814 SWIG_Python_newvarlink(void) {
37815 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37819 return ((PyObject
*) result
);
37823 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37824 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37825 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37827 size_t size
= strlen(name
)+1;
37828 gv
->name
= (char *)malloc(size
);
37830 strncpy(gv
->name
,name
,size
);
37831 gv
->get_attr
= get_attr
;
37832 gv
->set_attr
= set_attr
;
37833 gv
->next
= v
->vars
;
37839 /* -----------------------------------------------------------------------------
37840 * constants/methods manipulation
37841 * ----------------------------------------------------------------------------- */
37843 /* Install Constants */
37845 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37848 for (i
= 0; constants
[i
].type
; ++i
) {
37849 switch(constants
[i
].type
) {
37851 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37853 case SWIG_PY_FLOAT
:
37854 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37856 case SWIG_PY_STRING
:
37857 if (constants
[i
].pvalue
) {
37858 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37860 Py_INCREF(Py_None
);
37864 case SWIG_PY_POINTER
:
37865 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37867 case SWIG_PY_BINARY
:
37868 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37875 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37881 /* -----------------------------------------------------------------------------*/
37882 /* Fix SwigMethods to carry the callback ptrs when needed */
37883 /* -----------------------------------------------------------------------------*/
37886 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37887 swig_const_info
*const_table
,
37888 swig_type_info
**types
,
37889 swig_type_info
**types_initial
) {
37891 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37892 char *c
= methods
[i
].ml_doc
;
37893 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37895 swig_const_info
*ci
= 0;
37896 char *name
= c
+ 10;
37897 for (j
= 0; const_table
[j
].type
; ++j
) {
37898 if (strncmp(const_table
[j
].name
, name
,
37899 strlen(const_table
[j
].name
)) == 0) {
37900 ci
= &(const_table
[j
]);
37905 size_t shift
= (ci
->ptype
) - types
;
37906 swig_type_info
*ty
= types_initial
[shift
];
37907 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37908 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37909 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37912 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37914 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37916 strncpy(buff
, "swig_ptr: ", 10);
37918 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37919 methods
[i
].ml_doc
= ndoc
;
37927 /* -----------------------------------------------------------------------------*
37928 * Initialize type list
37929 * -----------------------------------------------------------------------------*/
37935 /* -----------------------------------------------------------------------------*
37936 * Partial Init method
37937 * -----------------------------------------------------------------------------*/
37942 SWIGEXPORT
void SWIG_init(void) {
37943 static PyObject
*SWIG_globals
= 0;
37945 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37947 /* Fix SwigMethods to carry the callback ptrs when needed */
37948 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37950 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37951 d
= PyModule_GetDict(m
);
37953 SWIG_InitializeModule(0);
37954 SWIG_InstallConstants(d
,swig_const_table
);
37956 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37957 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37959 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
37962 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
37965 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
37968 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
37971 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
37974 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
37977 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
37979 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37981 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
37984 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
37987 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37990 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
37993 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
37996 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
37998 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37999 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
38000 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
38002 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
38005 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
38008 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
38011 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
38013 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
38014 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
38015 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
38016 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
38017 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
38019 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
38022 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
38025 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
38028 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
38031 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
38034 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
38037 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
38040 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
38043 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
38046 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
38049 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
38052 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
38055 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
38058 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
38061 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
38064 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
38067 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
38070 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
38073 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
38076 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
38079 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
38082 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
38085 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
38088 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
38091 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
38094 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
38097 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
38100 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
38103 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
38106 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
38109 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
38112 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
38115 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
38118 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
38121 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
38124 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
38127 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
38130 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
38133 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
38136 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
38139 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
38142 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
38145 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
38148 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
38151 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
38154 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
38156 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
38157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
38158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
38159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
38160 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
38161 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
38162 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
38164 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
38167 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
38170 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
38173 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
38175 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
38176 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
38177 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
38178 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
38180 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
38183 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
38186 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
38189 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
38192 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
38195 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
38198 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
38201 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
38204 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
38207 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
38210 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
38213 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
38215 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
38216 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
38217 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
38219 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
38222 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
38225 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
38228 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
38231 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
38234 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
38237 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
38240 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
38243 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
38246 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
38249 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
38251 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
38252 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
38254 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
38257 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
38260 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
38263 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
38266 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
38269 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
38271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
38272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
38274 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
38277 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
38280 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
38283 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
38286 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
38289 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
38291 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
38292 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
38294 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
38297 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
38300 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
38303 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
38306 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
38309 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
38312 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
38315 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
38318 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
38321 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
38324 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
38327 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
38330 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
38333 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
38335 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
38337 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
38340 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
38343 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
38346 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
38349 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
38352 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
38355 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
38358 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
38361 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
38364 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
38367 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
38370 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
38373 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
38376 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
38379 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
38382 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
38385 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
38388 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
38391 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
38394 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
38397 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
38400 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
38403 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
38406 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
38409 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
38412 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
38415 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
38418 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
38421 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
38424 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
38427 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
38430 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
38433 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
38436 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
38439 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
38442 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
38445 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
38448 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
38451 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
38454 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
38457 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
38460 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
38463 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
38466 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
38469 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
38472 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
38475 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
38478 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
38481 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
38484 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
38487 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
38490 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
38493 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
38496 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
38499 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
38502 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
38505 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
38508 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
38511 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
38514 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
38517 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
38520 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
38523 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
38526 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
38529 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
38532 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
38535 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
38538 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
38540 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38541 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38542 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38543 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38544 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38545 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38546 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38547 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38548 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38549 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38550 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38551 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38561 // Map renamed classes back to their common name for OOR
38562 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38564 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38566 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
38569 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
38572 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
38575 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
38578 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
38581 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
38584 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
38587 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38590 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
38593 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
38596 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
38599 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
38602 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
38605 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
38608 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
38611 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
38614 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
38617 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
38620 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
38623 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
38626 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
38629 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
38632 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
38635 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
38638 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
38641 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
38644 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
38647 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
38650 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
38653 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
38656 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
38659 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
38662 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
38665 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
38668 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
38670 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38671 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38672 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38673 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38674 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38675 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38676 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38677 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38678 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38679 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38680 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38681 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38682 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38683 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38684 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38685 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38688 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38689 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38692 // Map renamed classes back to their common name for OOR
38693 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38694 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38696 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38698 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
38701 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
38704 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
38707 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
38710 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
38713 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
38716 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
38718 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38719 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38721 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38723 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38725 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
38728 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
38731 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
38734 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
38737 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));